aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>2000-10-02 07:11:13 +0000
committerMike Smith <msmith@FreeBSD.org>2000-10-02 07:11:13 +0000
commit12a02d6efd83ff6fb3c61dd898b7430565871b17 (patch)
treee3d33c7c685e65d27d8d7476a42f73960610b42d /sys/amd64/include
parentba9369b9b9057828abb07917a024c2708faec97a (diff)
Notes
Diffstat (limited to 'sys/amd64/include')
-rw-r--r--sys/amd64/include/pci_cfgreg.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/amd64/include/pci_cfgreg.h b/sys/amd64/include/pci_cfgreg.h
index 34b3fc54aaa3..c0909aaf1705 100644
--- a/sys/amd64/include/pci_cfgreg.h
+++ b/sys/amd64/include/pci_cfgreg.h
@@ -46,3 +46,8 @@
#define CONF2_ENABLE_CHK 0x0e
#define CONF2_ENABLE_RES 0x0e
+
+extern int pci_cfgregopen(void);
+extern u_int32_t pci_cfgregread(int bus, int slot, int func, int reg, int bytes);
+extern void pci_cfgregwrite(int bus, int slot, int func, int reg, u_int32_t data, int bytes);
+