]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/net-tools-1.60-mii_ioctl-1.patch
ipsec-interfaces: Apply static routes (again) after creating IPsec interfaces
[ipfire-2.x.git] / src / patches / net-tools-1.60-mii_ioctl-1.patch
1 Submitted By: Randy McMurchy <randy_at_linuxfromscratch_dot_org>
2 Date: 2004-08-27
3 Initial Package Version: 1.60
4 Upstream Status: N/A (package is unmaintained)
5 Origin: From Fedora Core (submitted to LFS-Hackers by Kevin White)
6 Description: Fixes mii-tool when compiled using Linux-2.6.x
7
8 $LastChangedBy: randy $
9 $Date: 2004-08-27 21:04:05 -0600 (Fri, 27 Aug 2004) $
10
11 --- net-tools-1.60/include/mii.h.bar Tue Jul 31 11:49:39 2001
12 +++ net-tools-1.60/include/mii.h Tue Jul 31 11:49:33 2001
13 @@ -11,11 +11,9 @@
14
15 /* network interface ioctl's for MII commands */
16 #ifndef SIOCGMIIPHY
17 -#define SIOCGMIIPHY (SIOCDEVPRIVATE) /* Read from current PHY */
18 -#define SIOCGMIIREG (SIOCDEVPRIVATE+1) /* Read any PHY register */
19 -#define SIOCSMIIREG (SIOCDEVPRIVATE+2) /* Write any PHY register */
20 -#define SIOCGPARAMS (SIOCDEVPRIVATE+3) /* Read operational parameters */
21 -#define SIOCSPARAMS (SIOCDEVPRIVATE+4) /* Set operational parameters */
22 +#define SIOCGMIIPHY 0x8947 /* Read from current PHY */
23 +#define SIOCGMIIREG 0x8948 /* Read any PHY register */
24 +#define SIOCSMIIREG 0x8949 /* Write any PHY register */
25 #endif
26
27 #include <linux/types.h>