[8703] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

patch: no more "Bad boy" for initio

daemon@ATHENA.MIT.EDU (Thomas Graichen)
Mon Apr 24 05:15:10 2000

From: news-innominate.list.linux.scsi@innominate.de (Thomas Graichen)
Reply-To: Thomas Graichen <graichen@innominate.de>
Date:	24 Apr 2000 09:13:40 GMT
Message-ID: <news2mail-8e1384$lac$1@mate.bln.innominate.de>
Reply-To: thomas.graichen@innominate.de
X-Complaints-To: news@innominate.de
To: linux-scsi@vger.rutgers.edu

i think this one should stop the "Bad boy ... called us without a dev_id"
message in 2.3.* kernels for the initio 9100 scsi driver (maybe the same
might apply to the a100 driver too) - can please someone check if hreg
is the right pointer here and maybe bring it into the main tree ?

a lot of thanks in advance

t

--- ini9100u.c.org	Fri Apr 21 10:09:26 2000
+++ ini9100u.c	Fri Apr 21 10:59:20 2000
@@ -403,28 +403,28 @@
 		/* Initial tulip chip           */
 		switch (i) {
 		case 0:
-			ok = request_irq(pHCB->HCS_Intr, i91u_intr0, SA_INTERRUPT | SA_SHIRQ, "i91u", NULL);
+			ok = request_irq(pHCB->HCS_Intr, i91u_intr0, SA_INTERRUPT | SA_SHIRQ, "i91u", hreg);
 			break;
 		case 1:
-			ok = request_irq(pHCB->HCS_Intr, i91u_intr1, SA_INTERRUPT | SA_SHIRQ, "i91u", NULL);
+			ok = request_irq(pHCB->HCS_Intr, i91u_intr1, SA_INTERRUPT | SA_SHIRQ, "i91u", hreg);
 			break;
 		case 2:
-			ok = request_irq(pHCB->HCS_Intr, i91u_intr2, SA_INTERRUPT | SA_SHIRQ, "i91u", NULL);
+			ok = request_irq(pHCB->HCS_Intr, i91u_intr2, SA_INTERRUPT | SA_SHIRQ, "i91u", hreg);
 			break;
 		case 3:
-			ok = request_irq(pHCB->HCS_Intr, i91u_intr3, SA_INTERRUPT | SA_SHIRQ, "i91u", NULL);
+			ok = request_irq(pHCB->HCS_Intr, i91u_intr3, SA_INTERRUPT | SA_SHIRQ, "i91u", hreg);
 			break;
 		case 4:
-			ok = request_irq(pHCB->HCS_Intr, i91u_intr4, SA_INTERRUPT | SA_SHIRQ, "i91u", NULL);
+			ok = request_irq(pHCB->HCS_Intr, i91u_intr4, SA_INTERRUPT | SA_SHIRQ, "i91u", hreg);
 			break;
 		case 5:
-			ok = request_irq(pHCB->HCS_Intr, i91u_intr5, SA_INTERRUPT | SA_SHIRQ, "i91u", NULL);
+			ok = request_irq(pHCB->HCS_Intr, i91u_intr5, SA_INTERRUPT | SA_SHIRQ, "i91u", hreg);
 			break;
 		case 6:
-			ok = request_irq(pHCB->HCS_Intr, i91u_intr6, SA_INTERRUPT | SA_SHIRQ, "i91u", NULL);
+			ok = request_irq(pHCB->HCS_Intr, i91u_intr6, SA_INTERRUPT | SA_SHIRQ, "i91u", hreg);
 			break;
 		case 7:
-			ok = request_irq(pHCB->HCS_Intr, i91u_intr7, SA_INTERRUPT | SA_SHIRQ, "i91u", NULL);
+			ok = request_irq(pHCB->HCS_Intr, i91u_intr7, SA_INTERRUPT | SA_SHIRQ, "i91u", hreg);
 			break;
 		default:
 			i91u_panic("i91u: Too many host adapters\n");

-- 
thomas.graichen@innominate.de
                                                        innominate AG
                                                    networking people
fon: +49.30.308806-13 fax: -77 web: http://innominate.de pgp: /pgp/tg

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post