summaryrefslogtreecommitdiff
path: root/ethtool-util.h
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-07-26 13:32:17 -0400
committerJeff Garzik <jeff@garzik.org>2007-07-26 13:32:17 -0400
commitf45bb4faddffed6de1932105b17e28d48f9c3127 (patch)
tree05f711d11b2c510c21f9955bb13727e0a02219ae /ethtool-util.h
parentba2f54ba29ab2a9fee5529f161ce86215c3b1b0d (diff)
downloadethtool-f45bb4faddffed6de1932105b17e28d48f9c3127.tar.gz
Update embedded copy of ethtool.h from kernel 2.6.23-rc1.
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'ethtool-util.h')
-rw-r--r--ethtool-util.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/ethtool-util.h b/ethtool-util.h
index c8f98f4..f429555 100644
--- a/ethtool-util.h
+++ b/ethtool-util.h
@@ -4,10 +4,19 @@
#define ETHTOOL_UTIL_H__
#include <sys/types.h>
-typedef unsigned long long u64; /* hack, so we may include kernel's ethtool.h */
+
+/* hack, so we may include kernel's ethtool.h */
+typedef unsigned long long __u64;
+typedef __uint32_t __u32; /* ditto */
+typedef __uint16_t __u16; /* ditto */
+typedef __uint8_t __u8; /* ditto */
+
+/* historical: we used to use kernel-like types; remove these once cleaned */
+typedef unsigned long long u64;
typedef __uint32_t u32; /* ditto */
typedef __uint16_t u16; /* ditto */
typedef __uint8_t u8; /* ditto */
+
#include "ethtool-copy.h"
/* National Semiconductor DP83815, DP83816 */