Lines Matching defs:aha152x

2 /* aha152x.c -- Adaptec AHA-152x driver
6 * $Id: aha152x.c,v 2.7 2004/01/24 11:42:59 fischer Exp $
8 * $Log: aha152x.c,v $
59 * - moved leading comments to README.aha152x
75 * - added configuration symbols for insmod (aha152x/aha152x1)
223 see Documentation/scsi/aha152x.rst for configuration details
253 #include "aha152x.h"
354 static int aha152x[] = {0, 11, 7, 1, 1, 0, DELAY_DEFAULT, 0};
355 module_param_array(aha152x, int, NULL, 0);
356 MODULE_PARM_DESC(aha152x, "parameters for first controller");
720 printk(KERN_ERR "aha152x: scsi_host_alloc failed\n");
756 printk("aha152x: resetting bus...\n");
765 "aha152x%d%s: "
790 if (request_irq(shpnt->irq, swintr, IRQF_SHARED, "aha152x", shpnt)) {
791 printk(KERN_ERR "aha152x%d: irq %d busy.\n", shpnt->host_no, shpnt->irq);
797 printk(KERN_INFO "aha152x%d: trying software interrupt, ", shpnt->host_no);
813 printk(KERN_ERR "aha152x%d: irq %d possibly wrong. "
824 if (request_irq(shpnt->irq, intr, IRQF_SHARED, "aha152x", shpnt)) {
825 printk(KERN_ERR "aha152x%d: failed to reassign irq %d.\n", shpnt->host_no, shpnt->irq);
831 printk(KERN_ERR "aha152x%d: failed to add host.\n", shpnt->host_no);
996 printk(KERN_ERR "aha152x: reset_done w/o completion\n");
1242 "aha152x: unable to verify geometry for disk with >1GB.\n"
1249 "aha152x: unable to verify geometry for disk with >1GB.\n"
1252 " See Documentation/scsi/aha152x.rst for details.\n");
1261 "aha152x: current partition table is using extended translation.\n"
1286 printk(KERN_ERR "aha152x: done() called outside of command\n");
1517 "aha152x: passing bus free condition\n");
2400 panic("aha152x panic\n");
2774 if(!shpnt || !buffer || length<8 || strncmp("aha152x ", buffer, 8)!=0)
2794 shost_printk(KERN_INFO, shpnt, "aha152x: stats reset.\n");
2900 .proc_name = "aha152x",
3023 if (!request_region(setup->io_port, IO_RANGE, "aha152x")) {
3024 printk(KERN_ERR "aha152x: io port 0x%x busy.\n", setup->io_port);
3073 printk(KERN_INFO "aha152x: processing commandline: ");
3078 printk(KERN_ERR "aha152x: invalid line\n");
3127 if (setup_count<ARRAY_SIZE(setup) && (aha152x[0]!=0 || io[0]!=0 || irq[0]!=0)) {
3128 if(aha152x[0]!=0) {
3130 setup[setup_count].io_port = aha152x[0];
3131 setup[setup_count].irq = aha152x[1];
3132 setup[setup_count].scsiid = aha152x[2];
3133 setup[setup_count].reconnect = aha152x[3];
3134 setup[setup_count].parity = aha152x[4];
3135 setup[setup_count].synchronous = aha152x[5];
3136 setup[setup_count].delay = aha152x[6];
3137 setup[setup_count].ext_trans = aha152x[7];
3153 printk(KERN_ERR "aha152x: invalid module params io=0x%x, irq=%d,scsiid=%d,reconnect=%d,parity=%d,sync=%d,delay=%d,exttrans=%d\n",
3189 printk(KERN_ERR "aha152x: invalid module params io=0x%x, irq=%d,scsiid=%d,reconnect=%d,parity=%d,sync=%d,delay=%d,exttrans=%d\n",
3235 "aha152x: found ISAPnP adapter at io=0x%03x, irq=%d\n",
3258 printk(KERN_INFO "aha152x: BIOS test: passed, ");
3260 printk(KERN_INFO "aha152x: ");
3268 if (!request_region(ports[i], IO_RANGE, "aha152x")) {
3269 printk(KERN_ERR "aha152x: io port 0x%x busy.\n", ports[i]);
3311 if ( request_region(setup[i].io_port, IO_RANGE, "aha152x") ) {
3323 printk(KERN_ERR "aha152x: io port 0x%x busy.\n", setup[i].io_port);
3357 printk(KERN_ERR "aha152x: you can only configure up to two controllers\n");
3371 printk(KERN_NOTICE "aha152x: usage: aha152x=<IOBASE>[,<IRQ>[,<SCSI ID>"
3378 __setup("aha152x=", aha152x_setup);