Use the PCIR_BAR() macro rather than a magic number to specify the BAR

for controller memory.
This commit is contained in:
John Baldwin 2004-02-12 20:47:03 +00:00
parent 74cf585544
commit 3094dfd106
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=125747

View File

@ -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