Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | From Rawhide. Updates mii ioctls. |
2 | ||
3 | diff -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> |