Messages in this thread | | | Date | Mon, 31 Dec 2001 11:20:37 -0500 | From | Jeff Garzik <> | Subject | Re: how to map network cards ? |
| |
Girish Hilage wrote: > > Hello everybody, > > This is my first mail to the list. I want to know, what /sbin/lspci outputs are nothing but the contents of '/proc/bus/pci/devices' in a readable form? > > And if so how do I know which entry implies which network interface (e.g. eth0, eth1 etc.)?
You can only figure out a network card<->PCI bus mapping using ETHTOOL_GDRVINFO ioctl.
-- Jeff Garzik | Only so many songs can be sung Building 1024 | with two lips, two lungs, and one tongue. MandrakeSoft | - nomeansno - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |