Messages in this thread | ![/](/images/icornerl.gif) | | Date | Thu, 28 Aug 2003 22:14:12 -0400 | From | David T Hollis <> | Subject | We have ethtool_ops, any thoughts on miitool_ops? |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| ![\](/images/icornerr.gif) |