auto-import changelog data from net-tools-1.60-3.src.rpm
Tue Jul 31 2001 Bill Nottingham <notting@redhat.com> - do *not* use SIOCDEVPRIVATE for MII ioctls
This commit is contained in:
parent
2b639f3e8b
commit
8ce4605150
17
net-tools-1.60-miiioctl.patch
Normal file
17
net-tools-1.60-miiioctl.patch
Normal file
@ -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>
|
@ -1,7 +1,7 @@
|
|||||||
Summary: The basic tools for setting up networking.
|
Summary: Basic networking tools.
|
||||||
Name: net-tools
|
Name: net-tools
|
||||||
Version: 1.60
|
Version: 1.60
|
||||||
Release: 2
|
Release: 3
|
||||||
Copyright: GPL
|
Copyright: GPL
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Source0: http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-%{version}.tar.bz2
|
Source0: http://www.tazenda.demon.co.uk/phil/net-tools/net-tools-%{version}.tar.bz2
|
||||||
@ -9,15 +9,17 @@ Source1: net-tools-%{version}-config.h
|
|||||||
Source2: net-tools-%{version}-config.make
|
Source2: net-tools-%{version}-config.make
|
||||||
Source3: ether-wake.c
|
Source3: ether-wake.c
|
||||||
Patch4: net-tools-1.57-bug22040.patch
|
Patch4: net-tools-1.57-bug22040.patch
|
||||||
|
Patch5: net-tools-1.60-miiioctl.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The net-tools package contains the basic tools needed for setting up
|
The net-tools package contains basic networking tools, including
|
||||||
networking: ethers, route and others.
|
ifconfig, netstat, route, and others.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch4 -p 1 -b .bug22040
|
%patch4 -p 1 -b .bug22040
|
||||||
|
%patch5 -p 1 -b .miiioctl
|
||||||
|
|
||||||
cp %SOURCE1 ./config.h
|
cp %SOURCE1 ./config.h
|
||||||
cp %SOURCE2 ./config.make
|
cp %SOURCE2 ./config.make
|
||||||
@ -52,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%lang(pt_BR) %{_mandir}/pt_BR/man[158]/*
|
%lang(pt_BR) %{_mandir}/pt_BR/man[158]/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 31 2001 Bill Nottingham <notting@redhat.com>
|
||||||
|
- do *not* use SIOCDEVPRIVATE for MII ioctls
|
||||||
|
|
||||||
* Fri Jun 1 2001 Preston Brown <pbrown@redhat.com>
|
* Fri Jun 1 2001 Preston Brown <pbrown@redhat.com>
|
||||||
- include wake-on-lan wakeup utility, ether-wake by Donald Becker
|
- include wake-on-lan wakeup utility, ether-wake by Donald Becker
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user