Re: Virtual to physical address mapping

From: Ole André Vadla Ravnås (
Date: Wed Sep 18 2002 - 11:05:52 EST

On Wed, 2002-09-18 at 16:46, Jonathan Lundell wrote:
> At 7:54am +0200 9/18/02, Ole André Vadla Ravnås wrote:
> >I've noticed that ifconfig shows a base address and an interrupt
> >number.. However, I can't get that base address to correspond to
> >anything in /proc/iomem, which means that I can't determine which PCI
> >device (in this case) it corresponds to (guess the base address is
> >virtual). What I want is to find a way to get the PCI bus and device no
> >for the network device, but is this at all possible without altering the
> >kernel?
> ETHTOOL_GDRVINFO will do that directly, if the driver supports it.

Wow, great!! Thanks a bunch, that's exactly what I was looking for! :-)

Best regards
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:22 EST