Re: LANANA: To Pending Device Number Registrants

Eric W. Biederman (ebiederm@xmission.com)
20 May 2001 03:37:14 -0600


Jonathan Lundell <jlundell@pobox.com> writes:

> At 10:42 AM +0200 2001-05-19, Kai Henningsen wrote:
> > > Jeff Garzik's ethtool
> > > extension at least tells me the PCI bus/dev/fcn, though, and from
> >> that I can write a userland mapping function to the physical
> >> location.
> >
> >I don't see how PCI bus/dev/fcn lets you do that.
>
> I know from system documentation, or can figure out once and for all
> by experimentation, the correspondence between PCI bus/dev/fcn and
> physical locations. Jeff's extension gives me the mapping between
> eth# and PCI bus/dev/fcn, which is not otherwise available (outside
> the kernel).

Just a second let me reenumerate your pci busses, and change all of the bus
numbers. Not that this is a bad thought. It is just you need to know
the tree of PCI busses/bridges up to the root on the machine in question.

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