diff options
Diffstat (limited to 'sys/amd64/include/pci_cfgreg.h')
-rw-r--r-- | sys/amd64/include/pci_cfgreg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/amd64/include/pci_cfgreg.h b/sys/amd64/include/pci_cfgreg.h index 34b3fc5..c0909aa 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); + |