We have ethtool_ops, any thoughts on miitool_ops?

From: David T Hollis
Date: Thu Aug 28 2003 - 21:15:14 EST


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.

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