Network device -> PCI device mapping

From: Ole André Vadla Ravnås (
Date: Tue Sep 17 2002 - 18:14:15 EST


In userspace -- is there any way I can, by only knowing the interface
name (e.g. eth0), determine which PCI device it belongs to? Any bright

(BTW: I've tried using the SIOCGIFMAP ioctl -- which leaves me with a
base_addr and irq, but I couldn't get these matched uniquely with

Ole André

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:21 EST