lkml.org 
[lkml]   [1998]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectSCSI host detection order
Please excuse the intrusion if this is answered somewhere, but I've
been unable to find an answer after searching the HOWTO's and the
web...

I'm currently running 2.0.35 and 6-pre, but I've been performing
this patch since I began with Linux a year or so ago. I have 2 scsi
controllers - a 2940uw and 152x. All the HD's are on the 2940 and
the 152x is used simply for an occasional external ZIP drive. As
such, I setup with only the 2940 driver thus mapping all devices
with it alone. With the addition on the 152x driver, it gets
detected first and throws everything off.

I use something similar to the following simple patch with each
kernel build to "fix" the scsi detection order. (I actually do it
by hand... All I do is move the aic7xxx driver to the top if the
Adaptec list in hosts.c) But, it seems that another more officially
supported method should exist which doesn't require changing the
source - a config file or option to lilo or something along those
lines.

Again, I'm sorry if I should have found it on my own, but thus far I
have failed in my search.

Thanks!
Mike

--- hosts.c.original Wed Jul 15 19:53:49 1998
+++ hosts.c Sat Jul 18 09:52:06 1998
@@ -246,6 +246,10 @@
#ifdef CONFIG_SCSI_ULTRASTOR
ULTRASTOR_14F,
#endif
+/* MB - moved AIC7xxx to the top so it loads first */
+#ifdef CONFIG_SCSI_AIC7XXX
+ AIC7XXX,
+#endif
#ifdef CONFIG_SCSI_AHA152X
AHA152X,
#endif
@@ -254,9 +258,6 @@
#endif
#ifdef CONFIG_SCSI_AHA1740
AHA1740,
-#endif
-#ifdef CONFIG_SCSI_AIC7XXX
- AIC7XXX,
#endif
#ifdef CONFIG_SCSI_FUTURE_DOMAIN
FDOMAIN_16X0,


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [W:0.030 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site