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
256 #include "aha152x.h"
372 static int aha152x[] = {0, 11, 7, 1, 1, 0, DELAY_DEFAULT, 0};
373 module_param_array(aha152x, int, NULL, 0);
374 MODULE_PARM_DESC(aha152x, "parameters for first controller");
739 printk(KERN_ERR "aha152x: scsi_host_alloc failed\n");
775 printk("aha152x: resetting bus...\n");
784 "aha152x%d%s: "
809 if (request_irq(shpnt->irq, swintr, IRQF_SHARED, "aha152x", shpnt)) {
810 printk(KERN_ERR "aha152x%d: irq %d busy.\n", shpnt->host_no, shpnt->irq);
816 printk(KERN_INFO "aha152x%d: trying software interrupt, ", shpnt->host_no);
832 printk(KERN_ERR "aha152x%d: irq %d possibly wrong. "
843 if (request_irq(shpnt->irq, intr, IRQF_SHARED, "aha152x", shpnt)) {
844 printk(KERN_ERR "aha152x%d: failed to reassign irq %d.\n", shpnt->host_no, shpnt->irq);
850 printk(KERN_ERR "aha152x%d: failed to add host.\n", shpnt->host_no);
1014 printk(KERN_ERR "aha152x: reset_done w/o completion\n");
1268 "aha152x: unable to verify geometry for disk with >1GB.\n"
1275 "aha152x: unable to verify geometry for disk with >1GB.\n"
1278 " See Documentation/scsi/aha152x.rst for details.\n");
1287 "aha152x: current partition table is using extended translation.\n"
1314 printk(KERN_ERR "aha152x: done() called outside of command\n");
1551 "aha152x: passing bus free condition\n");
2448 panic("aha152x panic\n");
2826 if(!shpnt || !buffer || length<8 || strncmp("aha152x ", buffer, 8)!=0)
2846 shost_printk(KERN_INFO, shpnt, "aha152x: stats reset.\n");
2952 .proc_name = "aha152x",
3076 if (!request_region(setup->io_port, IO_RANGE, "aha152x")) {
3077 printk(KERN_ERR "aha152x: io port 0x%x busy.\n", setup->io_port);
3126 printk(KERN_INFO "aha152x: processing commandline: ");
3131 printk(KERN_ERR "aha152x: invalid line\n");
3180 if (setup_count<ARRAY_SIZE(setup) && (aha152x[0]!=0 || io[0]!=0 || irq[0]!=0)) {
3181 if(aha152x[0]!=0) {
3183 setup[setup_count].io_port = aha152x[0];
3184 setup[setup_count].irq = aha152x[1];
3185 setup[setup_count].scsiid = aha152x[2];
3186 setup[setup_count].reconnect = aha152x[3];
3187 setup[setup_count].parity = aha152x[4];
3188 setup[setup_count].synchronous = aha152x[5];
3189 setup[setup_count].delay = aha152x[6];
3190 setup[setup_count].ext_trans = aha152x[7];
3206 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",
3242 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",
3288 "aha152x: found ISAPnP adapter at io=0x%03x, irq=%d\n",
3311 printk(KERN_INFO "aha152x: BIOS test: passed, ");
3313 printk(KERN_INFO "aha152x: ");
3321 if (!request_region(ports[i], IO_RANGE, "aha152x")) {
3322 printk(KERN_ERR "aha152x: io port 0x%x busy.\n", ports[i]);
3364 if ( request_region(setup[i].io_port, IO_RANGE, "aha152x") ) {
3376 printk(KERN_ERR "aha152x: io port 0x%x busy.\n", setup[i].io_port);
3410 printk(KERN_ERR "aha152x: you can only configure up to two controllers\n");
3424 printk(KERN_NOTICE "aha152x: usage: aha152x=<IOBASE>[,<IRQ>[,<SCSI ID>"
3431 __setup("aha152x=", aha152x_setup);