DragonFly BSD
DragonFly kernel List (threaded) for 2006-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: location of pci_get_* functions


From: joerg@xxxxxxxxxxxxxxxxx
Date: Mon, 13 Feb 2006 20:25:06 +0100
Mail-followup-to: kernel@crater.dragonflybsd.org

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]