location of pci_get_* functions

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Mon Feb 13 17:40:18 PST 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00006.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/kernel/attachments/20060213/97e552ab/attachment-0018.obj>


More information about the Kernel mailing list