summaryrefslogtreecommitdiffstats
path: root/sys/dev/iir
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-09-02 17:30:40 +0000
committerjhb <jhb@FreeBSD.org>2003-09-02 17:30:40 +0000
commitdc11e45b68dec5003e226a26f7fa2ee9a1e351c2 (patch)
tree1a7743437055722d93fce73b145dde1eb1915e7f /sys/dev/iir
parent480ed8b5934d938866a31bd84aa636de31845487 (diff)
downloadFreeBSD-src-dc11e45b68dec5003e226a26f7fa2ee9a1e351c2.zip
FreeBSD-src-dc11e45b68dec5003e226a26f7fa2ee9a1e351c2.tar.gz
Use PCIR_BAR(x) instead of PCIR_MAPS.
Glanced over by: imp, gibbs Tested by: i386 LINT
Diffstat (limited to 'sys/dev/iir')
-rw-r--r--sys/dev/iir/iir_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/iir/iir_pci.c b/sys/dev/iir/iir_pci.c
index f695ab0..cba51b8 100644
--- a/sys/dev/iir/iir_pci.c
+++ b/sys/dev/iir/iir_pci.c
@@ -66,7 +66,7 @@ __FBSDID("$FreeBSD$");
#include <dev/iir/iir.h>
/* Mapping registers for various areas */
-#define PCI_DPMEM PCIR_MAPS
+#define PCI_DPMEM PCIR_BAR(0)
/* Product numbers for Fibre-Channel are greater than or equal to 0x200 */
#define GDT_PCI_PRODUCT_FC 0x200
OpenPOWER on IntegriCloud