diff options
Diffstat (limited to 'sys/dev/aic7xxx/ahc_pci.c')
-rw-r--r-- | sys/dev/aic7xxx/ahc_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/aic7xxx/ahc_pci.c b/sys/dev/aic7xxx/ahc_pci.c index 5d22f5e..84c96d4 100644 --- a/sys/dev/aic7xxx/ahc_pci.c +++ b/sys/dev/aic7xxx/ahc_pci.c @@ -36,8 +36,8 @@ __FBSDID("$FreeBSD$"); #include <dev/aic7xxx/aic7xxx_osm.h> -#define AHC_PCI_IOADDR PCIR_MAPS /* I/O Address */ -#define AHC_PCI_MEMADDR (PCIR_MAPS + 4) /* Mem I/O Address */ +#define AHC_PCI_IOADDR PCIR_BAR(0) /* I/O Address */ +#define AHC_PCI_MEMADDR PCIR_BAR(1) /* Mem I/O Address */ static int ahc_pci_probe(device_t dev); static int ahc_pci_attach(device_t dev); |