CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[crossrootfs.git] / net-tools / net-tools-1.60-miiioctl.patch
CommitLineData
6dca1d21
JB
1From Rawhide. Updates mii ioctls.
2
3diff -Naur net-tools-1.60.orig/include/mii.h net-tools-1.60/include/mii.h
4--- net-tools-1.60.orig/include/mii.h 2000-05-21 14:21:27.000000000 +0000
5+++ net-tools-1.60/include/mii.h 2003-09-12 22:47:27.000000000 +0000
6@@ -11,11 +11,9 @@
7
8 /* network interface ioctl's for MII commands */
9 #ifndef SIOCGMIIPHY
10-#define SIOCGMIIPHY (SIOCDEVPRIVATE) /* Read from current PHY */
11-#define SIOCGMIIREG (SIOCDEVPRIVATE+1) /* Read any PHY register */
12-#define SIOCSMIIREG (SIOCDEVPRIVATE+2) /* Write any PHY register */
13-#define SIOCGPARAMS (SIOCDEVPRIVATE+3) /* Read operational parameters */
14-#define SIOCSPARAMS (SIOCDEVPRIVATE+4) /* Set operational parameters */
15+#define SIOCGMIIPHY 0x8947 /* Read from current PHY */
16+#define SIOCGMIIREG 0x8948 /* Read any PHY register */
17+#define SIOCSMIIREG 0x8949 /* Write any PHY register */
18 #endif
19
20 #include <linux/types.h>