diff options
author | jhb <jhb@FreeBSD.org> | 2004-02-12 20:47:03 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2004-02-12 20:47:03 +0000 |
commit | 01083c2eb842cc97a04a0322985cfcbb868489dc (patch) | |
tree | e0703d19ecaa8d6de7544a736d25f38941c460ea /sys | |
parent | 0b3393f389c0d81c7b6c04bfd18ab101fde311b2 (diff) | |
download | FreeBSD-src-01083c2eb842cc97a04a0322985cfcbb868489dc.zip FreeBSD-src-01083c2eb842cc97a04a0322985cfcbb868489dc.tar.gz |
Use the PCIR_BAR() macro rather than a magic number to specify the BAR
for controller memory.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/firewire/fwohcireg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/firewire/fwohcireg.h b/sys/dev/firewire/fwohcireg.h index c7841d6..9f13a2c 100644 --- a/sys/dev/firewire/fwohcireg.h +++ b/sys/dev/firewire/fwohcireg.h @@ -34,7 +34,7 @@ * $FreeBSD$ * */ -#define PCI_CBMEM 0x10 +#define PCI_CBMEM PCIR_BAR(0) #define FW_VENDORID_NEC 0x1033 #define FW_VENDORID_TI 0x104c |