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:
cvsdist 2004-09-09 09:08:56 +00:00
parent 2b639f3e8b
commit 8ce4605150
2 changed files with 26 additions and 4 deletions

View 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>

View File

@ -1,7 +1,7 @@
Summary: The basic tools for setting up networking.
Summary: Basic networking tools.
Name: net-tools
Version: 1.60
Release: 2
Release: 3
Copyright: GPL
Group: System Environment/Base
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
Source3: ether-wake.c
Patch4: net-tools-1.57-bug22040.patch
Patch5: net-tools-1.60-miiioctl.patch
BuildRoot: %{_tmppath}/%{name}-root
%description
The net-tools package contains the basic tools needed for setting up
networking: ethers, route and others.
The net-tools package contains basic networking tools, including
ifconfig, netstat, route, and others.
%prep
%setup -q
%patch4 -p 1 -b .bug22040
%patch5 -p 1 -b .miiioctl
cp %SOURCE1 ./config.h
cp %SOURCE2 ./config.make
@ -52,6 +54,9 @@ rm -rf $RPM_BUILD_ROOT
%lang(pt_BR) %{_mandir}/pt_BR/man[158]/*
%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>
- include wake-on-lan wakeup utility, ether-wake by Donald Becker