Fix for promise RAID controllers not working as IDE controllers in 2.4.19

From: David Hinkle (hinkle@derbyworks.com)
Date: Tue Sep 10 2002 - 16:59:45 EST


When an a promise raid 20267 (and probably others) is used as an IDE device
in 2.4.19 it won't detect using the non-raid driver as it would in 2.4.18.
(So it can be used as a high performance ide controller).

The problem lies in the addition of some ifdefs checking the status of
CONFIG_PDC202XX_FORCE in ide-pci.c. On line 672 an ifdef needed to be
changed
to an ifndef, a bug found way back in RC2, but when it was changed the ifdef
on line 405 got changed instead.

To get everthing working properly change
#ifndef CONFIG_PDC202XX_FORCE
on line 405 to
#ifdef CONFIG_PDC202XX_FORCE

and change
#ifdef CONFIG_PDC202XX_FORCE
on line 672 to
#ifdef CONFIG_PDC202XX_FORCE

I'd quote the origional posts by my entire network just went down.

TTYlater

        David Hinkle
        Chief Engineer
        Derbyworks Systems

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Sep 15 2002 - 22:00:23 EST