Messages in this thread | | | Date | Fri, 14 May 1999 09:58:50 -0700 | From | Ajit Prem <> | Subject | How do you determine the network interface name associated with a PCI devfn? |
| |
Hello,
On a CompactPCI system, the association between chassis slot and the kernel PCI devfn for that slot is easily determined. I am trying to figure out how to start/stop ethernet interfaces given just the slot number. At any point in time, the chassis can have 'm' ethernet cards controlled by 'n' drivers where 'n' < 'm'. For example, three cards controlled by the de4x5 driver and 2 cards controlled by the eepro100 driver. Given just the PCI devfn, can I determine the interface name (like eth5), so that I can stop/start the corresponding interface. Any way do do this from user space using ifconfig and other tools.
Thanks,
ap
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |