]> Zhao Yanbai Git Server - minix.git/commitdiff
pci: don't do sanity check for missing pci bus, the check can misfire.
authorBen Gras <ben@minix3.org>
Wed, 28 Apr 2010 11:51:13 +0000 (11:51 +0000)
committerBen Gras <ben@minix3.org>
Wed, 28 Apr 2010 11:51:13 +0000 (11:51 +0000)
drivers/pci/pci.c

index 759ec5e494a727c70c929398cfdd24c60d6fffd8..36e3feecc8857f7051ec477f0dfcb9bdf60839cc 100644 (file)
@@ -650,10 +650,10 @@ PRIVATE void pci_intel_init()
        outl(PCII_CONFADD, PCII_UNSEL);
 #endif
 
+#if 0
        if (vid == 0xffff && did == 0xffff)
                return; /* Nothing here */
 
-#if 0
        for (i= 0; pci_intel_ctrl[i].vid; i++)
        {
                if (pci_intel_ctrl[i].vid == vid &&