DaveM pointed me to ethtool (include/asm-sparc/ethtool.h), which has
been available on the Sparc platform for a while. If it is ok with
everybody, I would like to make ethtool the standard tool for
interacting with media selection in net device drivers. It is a bit
like Donald Becker's 'mii-diag' program, but less tied specifically to
the MII interface.
The kernel-visible change would be to move include/asm-sparc*/ethtool.h
into include/linux. The userspace portion already exists as a RedHat
SRPM, but possibly needs hacking for cross-platform.
It would be nice to have a standard way to do media selection like this
for 2.4.0, and kernel-wise it is a small change (moving one header), but
people may want to wait until 2.5.x.
Regards,
Jeff
--
Jeff Garzik | Tact is the ability to tell a man
Building 1024 | he has an open mind when he has a
MandrakeSoft, Inc. | hole in his head. (-random fortune)
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]