-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I leave quotations after my reply? On Wed, Mar 28, 2007 at 06:11:52PM +0530, Santosh Pradhan wrote: > Thanks a lot Rajat. Can we do it programmatically (C program).? Why would you want to reinvent the wheel? What Rajat described is already available in the "lspci" program. For example: the E1000 in my system lives in bus 0, slot b: erik@zurix:~> lspci -s 0:b 0000:00:0b.0 Ethernet controller: Intel Corporation 82541PI Gigabit Ethernet Controller (rev 05) Of course, if you feel like wasting your time you are free to write yet another parser for the pci.ids database... Erik - -- They're all fools. Don't worry. Darwin may be slow, but he'll eventually get them. -- Matthew Lammers in alt.sysadmin.recovery -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGCn/0/PlVHJtIto0RAitlAJ9eIe0xuGobm0ZsLm1L+fTZk1tbGwCeKFjM rAnwCSVe74mfS5CPadc5cW8= =zM8d -----END PGP SIGNATURE----- -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ