diff options
author | Chris Lumens <clumens@redhat.com> | 2006-02-10 15:18:39 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-02-10 15:18:39 +0000 |
commit | 3775229eba998c4dfad07415f376b5e9b8f463ca (patch) | |
tree | b2b7c2f7a249642782584af4d780357a8cde9e2b | |
parent | f91c501480d9e8ec8035e54b3bf5d01805c5213c (diff) | |
download | anaconda-3775229eba998c4dfad07415f376b5e9b8f463ca.tar.gz anaconda-3775229eba998c4dfad07415f376b5e9b8f463ca.tar.xz anaconda-3775229eba998c4dfad07415f376b5e9b8f463ca.zip |
Correct other references to ethtool-copy.h.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | isys/ethtool.c | 1 | ||||
-rw-r--r-- | isys/net.h | 4 |
3 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,8 @@ +2006-02-10 Chris Lumens <clumens@redhat.com> + + * isys/ethtool.c: Remove reference to ethtool-copy.h. + * isys/net.h: Use linux/ethtool.h instead. + 2006-02-10 David Cantrell <dcantrell@redhat.com> * textw/progress_text.py (InstallProgressWindow.setPackage): If a diff --git a/isys/ethtool.c b/isys/ethtool.c index cc7bdc704..bc4707c22 100644 --- a/isys/ethtool.c +++ b/isys/ethtool.c @@ -30,7 +30,6 @@ typedef void * caddr_t; #include <linux/sockios.h> #include "net.h" -#include "ethtool-copy.h" static int set_intf_up(struct ifreq ifr, int sock) { if (ioctl(sock, SIOCGIFFLAGS, &ifr) < 0) { diff --git a/isys/net.h b/isys/net.h index d0a03a659..96029825f 100644 --- a/isys/net.h +++ b/isys/net.h @@ -1,6 +1,8 @@ #ifndef ISYSNET_H #define ISYSNET_H +#include <linux/ethtool.h> + /* type definitions so that the kernel-ish includes can be shared */ #ifndef uint8_t # define uint8_t unsigned char @@ -19,8 +21,6 @@ typedef uint32_t u32; typedef uint16_t u16; typedef uint8_t u8; -#include "ethtool-copy.h" - /* returns 1 for link, 0 for no link, -1 for unknown */ int get_link_status(char *ifname); |