aboutsummaryrefslogtreecommitdiffstats
path: root/com32
diff options
context:
space:
mode:
authorhpa <hpa>2005-08-09 00:35:01 +0000
committerhpa <hpa>2005-08-09 00:35:01 +0000
commitaa6dd9789db77992917534a074f89089c91ae1f0 (patch)
treedc9137c031f5067ed0933e6a7f9e1c45d29eb8d5 /com32
parent5d42506b6f1f23b49b0d8564fb01d5484710854a (diff)
downloadsyslinux.git-aa6dd9789db77992917534a074f89089c91ae1f0.tar.gz
syslinux.git-aa6dd9789db77992917534a074f89089c91ae1f0.tar.xz
syslinux.git-aa6dd9789db77992917534a074f89089c91ae1f0.zip
Explain conf method #2
Diffstat (limited to 'com32')
-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);