summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-02-12 20:47:03 +0000
committerjhb <jhb@FreeBSD.org>2004-02-12 20:47:03 +0000
commit01083c2eb842cc97a04a0322985cfcbb868489dc (patch)
treee0703d19ecaa8d6de7544a736d25f38941c460ea /sys/dev/firewire
parent0b3393f389c0d81c7b6c04bfd18ab101fde311b2 (diff)
downloadFreeBSD-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/dev/firewire')
-rw-r--r--sys/dev/firewire/fwohcireg.h2
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
OpenPOWER on IntegriCloud