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: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Tue, 14 Feb 2006 02:40:02 +0100

On 13.02.2006, at 20:26, Simon 'corecode' Schubert 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.
i think it's pcivar.h, they are macros wrapping bus_space functions

sephe just noted: it's not bus_space, it's pci accessor which gets mapped to bus_read_ivar kobj methods. thanks for pointing out!


cheers
  simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: PGP.sig
Description: This is a digitally signed message part



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