[PATCH] EISA aic7770 broken

Marc Zyngier (mzyngier@freesurf.fr)
09 Mar 2003 17:43:38 +0100


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-31112-1047228367-0001-2
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

Justin,

I'm having troubles getting an Adaptec AHA-2740 (EISA) running on
2.5.64.

First thing is the initial request_region succeeds, but the driver
thinks it failed... The enclosed patch fixes it.

But the driver crashes badly while probing the card, somewhere in
ahc_runq_tasklet.

Any idea ?

M.

--=_courier-31112-1047228367-0001-2
Content-Type: text/x-patch; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=aic7770_osm.patch

===== drivers/scsi/aic7xxx/aic7770_osm.c 1.2 vs 1.3 =====
--- 1.2/drivers/scsi/aic7xxx/aic7770_osm.c Tue Dec 31 02:54:16 2002
+++ 1.3/drivers/scsi/aic7xxx/aic7770_osm.c Sun Mar 9 17:23:13 2003
@@ -66,7 +66,7 @@
continue;
request_region(eisaBase, AHC_EISA_IOSIZE, "aic7xxx");
#else
- if (request_region(eisaBase, AHC_EISA_IOSIZE, "aic7xxx") != 0)
+ if (!request_region(eisaBase, AHC_EISA_IOSIZE, "aic7xxx"))
continue;
#endif

--=_courier-31112-1047228367-0001-2
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit

-- 
Places change, faces change. Life is so very strange.

--=_courier-31112-1047228367-0001-2--