Thread (1 message) 1 message, 1 author, 2004-10-08

Re: [patch 2.4.28-pre3] 3c59x: resync with 2.6

From: John W. Linville <hidden>
Date: 2004-10-08 19:32:30
Also in: lkml

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
@@ -9,6 +9,7 @@
#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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help