]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add constants for the fields in a BAR. Also, add two new macros
authorjhb <jhb@FreeBSD.org>
Sat, 31 Mar 2007 21:39:02 +0000 (21:39 +0000)
committerjhb <jhb@FreeBSD.org>
Sat, 31 Mar 2007 21:39:02 +0000 (21:39 +0000)
commita347b09ecaccf4979487718e2cbea615d716e7e9
tree521d8851bfe33d6303693f35ba56d75b14d22d15
parent31387e6228cbcc50849fb1fea471a91359be0261
Add constants for the fields in a BAR.  Also, add two new macros
PCI_BAR_(IO|MEM)() that return true if the passed in value from a BAR
is for an IO or memory BAR, respectively.

Reviewed by: imp
sys/dev/ipmi/ipmi_pci.c
sys/dev/pci/pci.c
sys/dev/pci/pcireg.h