We have ethtool_ops, any thoughts on miitool_ops?

David T Hollis
2003-08-29T02:14:27Z

If a driver is converted to use ethtool_ops, it does not seem to have
the ability to support mii-tool any longer. RedHat uses mii-tool to
check for link before running dhclient so that you don't have to wait
forever for dhclient to timeout if the connection is down (laptops,
etc). The typical way to support mii tool was to A) handle that case in
the ethtool and call another big switch, or B) call the
generic_mii_ioctl call with the mii struct to handle what you didn't
handle under ethtool. Some method similar to ethtool_ops would really
be great.