From aa6dd9789db77992917534a074f89089c91ae1f0 Mon Sep 17 00:00:00 2001 From: hpa Date: Tue, 9 Aug 2005 00:35:01 +0000 Subject: [PATCH] Explain conf method #2 --- com32/lib/pci/readx.c | 2 +- com32/lib/pci/writex.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/com32/lib/pci/readx.c b/com32/lib/pci/readx.c index 06c3c98..cbd7496 100644 --- a/com32/lib/pci/readx.c +++ b/com32/lib/pci/readx.c @@ -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); diff --git a/com32/lib/pci/writex.c b/com32/lib/pci/writex.c index a48a88d..14eb037 100644 --- a/com32/lib/pci/writex.c +++ b/com32/lib/pci/writex.c @@ -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); -- 2.7.4