Re: PCI Sanity check breaks on Compaw Deskpro XL 590

Martin Giguere (zefrench@hotmail.com)
Wed, 07 Oct 1998 14:17:58 PDT


I have tried your patch, and even after 10 or so reboots it is still
working. Thanks a lot it solve my problem (While looking through USENET
I found out that a lot of the Compaq Deskpro XL 5xx or 5xxx Series are
using the same Compaq host Bridge.

Thanks again for your time

Martin Giguere

Patch:

--- arch/i386/kernel/bios32.c.mj Tue Oct 6 22:01:42 1998
+++ arch/i386/kernel/bios32.c Tue Oct 6 22:03:40 1998
@@ -346,7 +346,7 @@
* attempt to make use of direct access hints provided by the PCI
BIOS).
*
* This should be close to trivial, but it isn't, because there are
buggy
- * chipsets (yes, you guessed it, by Intel) that have no class ID.
+ * chipsets (yes, you guessed it, by Intel and Compaq) that have no
class =
ID.
*/
__initfunc(int pci_sanity_check(struct pci_access *a))
{
@@ -356,9 +356,9 @@
return 1;
for(dfn=3D0; dfn < 0x100; dfn++)
if ((!a->read_config_word(0, dfn, PCI_CLASS_DEVICE, &x) &&
- x =3D=3D PCI_CLASS_BRIDGE_HOST) ||
+ (x =3D=3D PCI_CLASS_BRIDGE_HOST || x =3D=3D
PCI_CLASS_DISPLAY_VGA))=
||
(!a->read_config_word(0, dfn, PCI_VENDOR_ID, &x) &&
- x =3D=3D PCI_VENDOR_ID_INTEL))
+ (x =3D=3D PCI_VENDOR_ID_INTEL || x =3D=3D
PCI_VENDOR_ID_COMPAQ)))
return 1;
DBG("PCI: Sanity check failed\n");
return 0;

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

-
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.tux.org/lkml/