lkml.org 
[lkml]   [2003]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] EISA aic7770 broken
From
Date
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.

===== 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

--
Places change, faces change. Life is so very strange.
\
 
 \ /
  Last update: 2005-03-22 13:33    [from the cache]
©2003-2011 Jasper Spaans