On Fri, Oct 08, 2004 at 03:05:37PM -0400, Jeff Garzik wrote:
John W. Linville wrote:
quoted
static struct ethtool_ops vortex_ethtool_ops = {
- .get_drvinfo = vortex_get_drvinfo,
+ .get_drvinfo = vortex_get_drvinfo,
};
reverting good style.
Hey, I'm not the one who put it in 2.6... :-)
I can fix it, then submit a 2.6 patch as well?
quoted
case SIOCSMIIREG: /* Write MII PHY register. */
- case SIOCDEVPRIVATE+2: /* for binary compat, remove in 2.5 */
breaks ABI in the middle of a stable series
Good point...
quoted
+static inline struct mii_ioctl_data *if_mii(struct ifreq *rq)
+{
+ return (struct mii_ioctl_data *) &rq->ifr_ifru;
+}
+
+
This should be in include/linux/mii.h like it is in 2.6.x.
I think you missed this part:
quoted
--- linux-2.4/include/linux/mii.h.orig
+++ linux-2.4/include/linux/mii.h
#define __LINUX_MII_H__
The patch must have been too long... :-)
I'll cook-up another version, plus the tiny 2.6 patch as well...
John
--
John W. Linville
linville@tuxdriver.com