diff options
author | msmith <msmith@FreeBSD.org> | 2000-10-02 07:11:13 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 2000-10-02 07:11:13 +0000 |
commit | 2922dcb255d814cdc46a8f0b407a38138b0a7f66 (patch) | |
tree | ccbe00ec076e3dd11847a000b15fca1db9c1410e /sys/amd64/include | |
parent | a152a7ef82d848279559ecbca83c547e47aa8c9d (diff) | |
download | FreeBSD-src-2922dcb255d814cdc46a8f0b407a38138b0a7f66.zip FreeBSD-src-2922dcb255d814cdc46a8f0b407a38138b0a7f66.tar.gz |
Move the i386 PCI attachment code out of i386/isa back into i386/pci.
Split out the configuration space access primitives, as these are needed
elsewhere as well.
Diffstat (limited to 'sys/amd64/include')
-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); + |