Re: [gentoo-dev] get pci info in Linux?

2007-03-29 Thread Bilanchuk Vitaly
> Use the library provided by the lspci package, that is what it is there > for. Ok, thanks for you time. > What's wrong with using these interfaces? You can use sysfs and proc > from a C/C++ program just fine... sysfs and proc can be unexisting. -- gentoo-dev@gentoo.org mailing list

Re: [gentoo-dev] get pci info in Linux?

2007-03-29 Thread Bilanchuk Vitaly
> emerge pciutils and use lspci. This question would be better asked in > our user oriented support channels like #gentoo or gentoo-user mailing > list. I'm sorry. I need get info using C/C++. I know lspci using 4 methods in Linux - linux_sysfs, linux_proc, intel_conf1, intel_conf2 (man 8 lspci

[gentoo-dev] get pci info in Linux?

2007-03-29 Thread Bilanchuk Vitaly
Hi, experts! Who knows how can I get information about pci-device (for example, vendor and name of network card) without using /proc and /sys systems? Thanks for your time! -- gentoo-dev@gentoo.org mailing list