Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 17 Sep 2002 19:05:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 17 Sep 2002 19:05:45 -0400 Received: from dmz.hesby.net ([81.29.32.2]:34246 "HELO firewall.hesbynett.no") by vger.kernel.org with SMTP id convert rfc822-to-8bit; Tue, 17 Sep 2002 19:05:45 -0400 Subject: Network device -> PCI device mapping From: Ole =?ISO-8859-1?Q?Andr=E9?= Vadla =?ISO-8859-1?Q?Ravn=E5s?= To: linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT X-Mailer: Ximian Evolution 1.0.8 Date: 18 Sep 2002 01:14:15 +0200 Message-Id: <1032304455.5801.9.camel@zole.jblinux.net> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 581 Lines: 19 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/