summaryrefslogtreecommitdiffstats
path: root/sys/dev/buslogic/bt_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/buslogic/bt_pci.c')
-rw-r--r--sys/dev/buslogic/bt_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/buslogic/bt_pci.c b/sys/dev/buslogic/bt_pci.c
index 13110b3..5ebfe9a 100644
--- a/sys/dev/buslogic/bt_pci.c
+++ b/sys/dev/buslogic/bt_pci.c
@@ -48,8 +48,8 @@ __FBSDID("$FreeBSD$");
#include <dev/buslogic/btreg.h>
-#define BT_PCI_IOADDR PCIR_MAPS
-#define BT_PCI_MEMADDR PCIR_MAPS + 4
+#define BT_PCI_IOADDR PCIR_BAR(0)
+#define BT_PCI_MEMADDR PCIR_BAR(1)
#define PCI_DEVICE_ID_BUSLOGIC_MULTIMASTER 0x1040104Bul
#define PCI_DEVICE_ID_BUSLOGIC_MULTIMASTER_NC 0x0140104Bul
OpenPOWER on IntegriCloud