aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/pci/readx.c
diff options
context:
space:
mode:
authorhpa <hpa>2005-08-03 21:18:37 +0000
committerhpa <hpa>2005-08-03 21:18:37 +0000
commit32bf33d0202a9f7ec4be37107e2de0662f1ad5ff (patch)
tree1d74f74d862d14f6a1fbb7af66442386f857fe62 /com32/lib/pci/readx.c
parenta9eaf5c7594bddc3ea66a48a8b8a8b0f522270f2 (diff)
downloadsyslinux.git-32bf33d0202a9f7ec4be37107e2de0662f1ad5ff.tar.gz
syslinux.git-32bf33d0202a9f7ec4be37107e2de0662f1ad5ff.tar.xz
syslinux.git-32bf33d0202a9f7ec4be37107e2de0662f1ad5ff.zip
Support PCI config via BIOS
Diffstat (limited to 'com32/lib/pci/readx.c')
-rw-r--r--com32/lib/pci/readx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/com32/lib/pci/readx.c b/com32/lib/pci/readx.c
index f1e542d7..06c3c987 100644
--- a/com32/lib/pci/readx.c
+++ b/com32/lib/pci/readx.c
@@ -1,4 +1,5 @@
#include "pci/pci.h"
+#include <string.h>
TYPE BWL(pci_read) (pciaddr_t a)
{
@@ -40,6 +41,9 @@ TYPE BWL(pci_read) (pciaddr_t a)
sti();
}
return r;
+
+ case PCI_CFG_BIOS:
+ return (TYPE) __pci_read_bios(BIOSCALL, a);
default:
return (TYPE)~0;