mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] EISA aic7770 broken
@ 2003-03-09 16:43 Marc Zyngier
  2003-03-09 17:08 ` Justin T. Gibbs
  0 siblings, 1 reply; 7+ messages in thread
From: Marc Zyngier @ 2003-03-09 16:43 UTC (permalink / raw)
  To: Justin T. Gibbs; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 310 bytes --]

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.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: aic7770_osm.patch --]
[-- Type: text/x-patch, Size: 442 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 59 bytes --]


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-03-10 21:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-09 16:43 [PATCH] EISA aic7770 broken Marc Zyngier
2003-03-09 17:08 ` Justin T. Gibbs
2003-03-09 17:20   ` Marc Zyngier
2003-03-09 21:15     ` Justin T. Gibbs
2003-03-10  7:53       ` Marc Zyngier
2003-03-10 15:39         ` Justin T. Gibbs
2003-03-10 21:43           ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®