Speed of the network card

From: Sourav Ghosh (sourav@cs.cmu.edu)
Date: Sat Jan 06 2001 - 20:20:02 EST


Hello,

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

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.

Thanks,

--
Sourav

- 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