Explain conf method #2
authorhpa <hpa>
Tue, 9 Aug 2005 00:35:01 +0000 (00:35 +0000)
committerhpa <hpa>
Tue, 9 Aug 2005 00:35:01 +0000 (00:35 +0000)
com32/lib/pci/readx.c
com32/lib/pci/writex.c

index 06c3c98..cbd7496 100644 (file)
@@ -28,7 +28,7 @@ TYPE BWL(pci_read) (pciaddr_t a)
        uint8_t oldcf8, oldcfa;
        
        if ( a & (0x10 << 11) )
-         return (TYPE)~0;
+         return (TYPE)~0;      /* Device 16-31 not supported */
        
        cli();
        oldcf8 = inb(0xcf8);
index a48a88d..14eb037 100644 (file)
@@ -25,7 +25,7 @@ void BWL(pci_write) (TYPE v, pciaddr_t a)
        uint8_t oldcf8, oldcfa;
        
        if ( a & (0x10 << 11) )
-         return;
+         return;               /* Devices 16-31 not supported */
        
        cli();
        oldcf8 = inb(0xcf8);