Skip to contentSkip to conversation

how to map network cards ?

DISCUSSION Girish Hilage 2 participants 2 messages Dec 31, 2001

lore
Share & tools
lore
#0 lore raw

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.)?

Thanks,
girish

#1 lore raw
Quoted 6 lines · Girish Hilage

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.

Signature · 3 lines
Jeff Garzik      | Only so many songs can be sung
Building 1024    | with two lips, two lungs, and one tongue.
MandrakeSoft     |         - nomeansno