idex detection problem

Mario Mikocevic (mozgy@maja.zesoi.fer.hr)
Wed, 31 Dec 1997 15:14:09 +0100 (MET)


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 !