Jelajahi Sumber

update ethtool to latest stable version

Waldemar Brodkorb 9 tahun lalu
induk
melakukan
c77c0a00aa
2 mengubah file dengan 3 tambahan dan 36 penghapusan
  1. 3 3
      package/ethtool/Makefile
  2. 0 33
      package/ethtool/patches/patch-internal_h

+ 3 - 3
package/ethtool/Makefile

@@ -4,9 +4,9 @@
 include ${ADK_TOPDIR}/rules.mk
 
 PKG_NAME:=		ethtool
-PKG_VERSION:=		3.13
-PKG_RELEASE:=		2
-PKG_HASH:=		5a5657e213f100f4aa3f33ee5f5f5907fa3440fed41aae09d0cb21f9ad92e71f
+PKG_VERSION:=		4.0
+PKG_RELEASE:=		1
+PKG_HASH:=		904887acc7d2f9c35dec04eb0e8a727a3205f346af4f4c95560ea3798de5ecff
 PKG_DESCR:=		display or change ethernet card settings
 PKG_SECTION:=		net/misc
 PKG_SITES:=		https://www.kernel.org/pub/software/network/ethtool/

+ 0 - 33
package/ethtool/patches/patch-internal_h

@@ -1,33 +0,0 @@
---- ethtool-3.13.orig/internal.h	2014-01-27 02:27:14.000000000 +0100
-+++ ethtool-3.13/internal.h	2014-03-23 13:47:54.000000000 +0100
-@@ -7,6 +7,7 @@
- #include "ethtool-config.h"
- #endif
- #include <stdio.h>
-+#include <stdint.h>
- #include <stdlib.h>
- #include <string.h>
- #include <sys/types.h>
-@@ -17,16 +18,16 @@
- 
- /* ethtool.h expects these to be defined by <linux/types.h> */
- #ifndef HAVE_BE_TYPES
--typedef __uint16_t __be16;
--typedef __uint32_t __be32;
-+typedef uint16_t __be16;
-+typedef uint32_t __be32;
- typedef unsigned long long __be64;
- #endif
- 
- typedef unsigned long long u64;
--typedef __uint32_t u32;
--typedef __uint16_t u16;
--typedef __uint8_t u8;
--typedef __int32_t s32;
-+typedef uint32_t u32;
-+typedef uint16_t u16;
-+typedef uint8_t u8;
-+typedef int32_t s32;
- 
- #include "ethtool-copy.h"
- #include "net_tstamp-copy.h"