lkml.org 
[lkml]   [2002]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Virtual to physical address mapping
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.
--
/Jonathan Lundell.
-
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 13:03    [W:0.095 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site