From 3094dfd10674ceeaacd2103ae35d2da5d647f182 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 12 Feb 2004 20:47:03 +0000 Subject: [PATCH] Use the PCIR_BAR() macro rather than a magic number to specify the BAR for controller memory. --- sys/dev/firewire/fwohcireg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/firewire/fwohcireg.h b/sys/dev/firewire/fwohcireg.h index c7841d6a17f3..9f13a2cfd2e9 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