lkml.org 
[lkml]   [1997]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subjectidex detection problem
Date
Hi,

new ide detection code has small problem, here's fix ->


--- linux-2.1.76/drivers/block/ide.c Tue Dec 30 13:40:07 1997
+++ linux/drivers/block/ide.c Tue Dec 30 13:37:34 1997
@@ -2223,7 +2223,7 @@
if (i > 0 || i <= -7) { /* is parameter a chipset name? */
if (hwif->chipset != ide_unknown)
goto bad_option; /* chipset already specified */
- if (i != -7 && hw != 0)
+ if (i <= -7 && hw != 0)
goto bad_hwif; /* chipset drivers are for "ide0=" only */
if (ide_hwifs[hw^1].chipset != ide_unknown)
goto bad_option; /* chipset for 2nd port already specified */

btw, I have SB AWE32 (CT3900) (nonPnP one) and everything but
IDE port works fine.
Does anybody know how can I setup SB IDE port as tertiary _and_
force kernel to recognize it !?
I've placed jumpers on right place _and_ I did add
"ide2=0x1e8,0x3ee,11" to lilo.conf (with fix shown above)
but I just can't get it going !?
Should I run some MeSsyDOS driver (I haven't got any) !?


mlord ??


--
Mario Mikocevic (Mozgy)
mozgy@zesoi.fer.hr
|/-\| lschk error : FUBR !

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