location of pci_get_* functions
joerg at britannica.bec.de
joerg at britannica.bec.de
Mon Feb 13 11:27:20 PST 2006
On Mon, Feb 13, 2006 at 10:56:37AM -0800, Chuck Tuffli wrote:
> Ok, I'm feeling very dense. Where are the pci_get_* functions (e.g.
> pci_get_devid, pci_get_vendor, ...) defined? A 'grep -r pci_get_devid
> /usr/src' shows all the places this is used, but nothing about the
> definitions. tnx.
They are created via macro concat in src/sys/bus/pci/pcivar.h.
Look for PCI_ACCESSOR.
Joerg
More information about the Kernel
mailing list