diff options
Diffstat (limited to 'sys/dev/hptnr/osm.h')
-rw-r--r-- | sys/dev/hptnr/osm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/hptnr/osm.h b/sys/dev/hptnr/osm.h index dd333ea..b5b90ee 100644 --- a/sys/dev/hptnr/osm.h +++ b/sys/dev/hptnr/osm.h @@ -153,7 +153,10 @@ void os_pci_writel(void *osext, HPT_U8 offset, HPT_U32 value); #define MAX_PCI_BUS_NUMBER 0xff #define MAX_PCI_DEVICE_NUMBER 32 #define MAX_PCI_FUNC_NUMBER 1 +HPT_U8 pcicfg_read_byte (HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg); HPT_U32 pcicfg_read_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg); +void pcicfg_write_byte (HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U8 v); +void pcicfg_write_dword(HPT_U8 bus, HPT_U8 dev, HPT_U8 func, HPT_U8 reg, HPT_U32 v); void *os_map_pci_bar( |