aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib
diff options
context:
space:
mode:
Diffstat (limited to 'com32/lib')
-rw-r--r--com32/lib/pci/readx.c2
-rw-r--r--com32/lib/pci/writex.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/com32/lib/pci/readx.c b/com32/lib/pci/readx.c
index 06c3c987..cbd7496f 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 a48a88df..14eb0377 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);