summaryrefslogtreecommitdiff
path: root/testing/net-tools/net-tools-1.60-miiioctl.patch
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-05 20:20:25 -0500
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2011-06-05 20:20:25 -0500
commit33c22f43a52aae722ce4d9cbe47f8d2fff31f395 (patch)
tree71f9661d9a843cca28225852f8784e48a2b96cb2 /testing/net-tools/net-tools-1.60-miiioctl.patch
parentc87732e5659b56943ef4f120d7c71dcaabc3f849 (diff)
parent3695b5d62c2aef6e82abc95d775a2ebd89bce081 (diff)
Merge branch 'master' of vparabola:~/abslibre-pre-mips64el
Conflicts: multilib-testing/lib32-mesa/PKGBUILD multilib/lib32-glew/PKGBUILD testing/iproute2/PKGBUILD
Diffstat (limited to 'testing/net-tools/net-tools-1.60-miiioctl.patch')
-rw-r--r--testing/net-tools/net-tools-1.60-miiioctl.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/net-tools/net-tools-1.60-miiioctl.patch b/testing/net-tools/net-tools-1.60-miiioctl.patch
new file mode 100644
index 000000000..4859273ed
--- /dev/null
+++ b/testing/net-tools/net-tools-1.60-miiioctl.patch
@@ -0,0 +1,17 @@
+--- net-tools-1.60/include/mii.h.bar Tue Jul 31 11:49:39 2001
++++ net-tools-1.60/include/mii.h Tue Jul 31 11:49:33 2001
+@@ -11,11 +11,9 @@
+
+ /* network interface ioctl's for MII commands */
+ #ifndef SIOCGMIIPHY
+-#define SIOCGMIIPHY (SIOCDEVPRIVATE) /* Read from current PHY */
+-#define SIOCGMIIREG (SIOCDEVPRIVATE+1) /* Read any PHY register */
+-#define SIOCSMIIREG (SIOCDEVPRIVATE+2) /* Write any PHY register */
+-#define SIOCGPARAMS (SIOCDEVPRIVATE+3) /* Read operational parameters */
+-#define SIOCSPARAMS (SIOCDEVPRIVATE+4) /* Set operational parameters */
++#define SIOCGMIIPHY 0x8947 /* Read from current PHY */
++#define SIOCGMIIREG 0x8948 /* Read any PHY register */
++#define SIOCSMIIREG 0x8949 /* Write any PHY register */
+ #endif
+
+ #include <linux/types.h>