lkml.org 
[lkml]   [2002]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectNetwork device -> PCI device mapping
From
Date
Hi 

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
ideas?

(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
/proc/bus/pci/devices)

Thanks
Ole André


-
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/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.021 / U:26.056 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site