All of lore.kernel.org
 help / color / mirror / Atom feed
* How to determine what driver belongs to eth0 (ethX)?
@ 2001-01-25  7:12 Ben Greear
  0 siblings, 0 replies; only message in thread
From: Ben Greear @ 2001-01-25  7:12 UTC (permalink / raw)
  To: linux-kernel

I'm trying to write a server that is able to run specific
diags against various ethernet drivers, knowing only the
interface name (ie eth0).

Can anyone think of a reasonably easy way to tell what driver
 (and thus what diag-code), to run against a particular interface?

This information is spit out at boot time, but processing the dmesg
log is almost too much of a hack for me to bear!!

These are the values I'm currently planning on probing and setting:

Link Speed (10/100, full/half, auto-negotiate)

After these are satisfied, then other things can be added as desired.

Thanks,
Ben

-- 
Ben Greear (greearb@candelatech.com)  http://www.candelatech.com
Author of ScryMUD:  scry.wanfear.com 4444        (Released under GPL)
http://scry.wanfear.com               http://scry.wanfear.com/~greear
-
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/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-01-25  6:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-25  7:12 How to determine what driver belongs to eth0 (ethX)? Ben Greear

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.