Re: Speed of the network card

From: Chris Wedgwood (cw@f00f.org)
Date: Sat Jan 06 2001 - 20:48:19 EST


On Sat, Jan 06, 2001 at 08:20:02PM -0500, Sourav Ghosh wrote:

    I was wondering how I can determine the speed of a network device
    inside the kernel.

what kind of network card?
    
    In case of ethernet, the "name" field of device structure will
    only give eth0 or something. But the speed could be either 10Mbps
    or 100Mbps.

we don't have a good was on doing this sort of thing, you could try
mii-tool though; it supports many cards

  --cw
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:26 EST