summaryrefslogtreecommitdiffstats
path: root/patches/busybox-1.9.0/generic/busybox-1.9.0-nameif.patch
blob: 921e3e8987c244a83c111c116dcc6f21a8e57421 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Subject: busybox 1.9.0 fixes
From: http://busybox.net/downloads/fixes-1.9.0

---
 networking/nameif.c |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

Index: busybox-1.9.0/networking/nameif.c
===================================================================
--- busybox-1.9.0.orig/networking/nameif.c
+++ busybox-1.9.0/networking/nameif.c
@@ -50,18 +50,18 @@ typedef struct ethtable_s {
 #define ETHTOOL_BUSINFO_LEN 32
 /* these strings are set to whatever the driver author decides... */
 struct ethtool_drvinfo {
-	__u32 cmd;
-	char  driver[32]; /* driver short name, "tulip", "eepro100" */
-	char  version[32];  /* driver version string */
-	char  fw_version[32]; /* firmware version string, if applicable */
-	char  bus_info[ETHTOOL_BUSINFO_LEN];  /* Bus info for this IF. */
+	uint32_t cmd;
+	char driver[32]; /* driver short name, "tulip", "eepro100" */
+	char version[32];  /* driver version string */
+	char fw_version[32]; /* firmware version string, if applicable */
+	char bus_info[ETHTOOL_BUSINFO_LEN];  /* Bus info for this IF. */
         /* For PCI devices, use pci_dev->slot_name. */
-	char  reserved1[32];
-	char  reserved2[16];
-	__u32 n_stats;  /* number of u64's from ETHTOOL_GSTATS */
-	__u32 testinfo_len;
-	__u32 eedump_len; /* Size of data from ETHTOOL_GEEPROM (bytes) */
-	__u32 regdump_len;  /* Size of data from ETHTOOL_GREGS (bytes) */
+	char reserved1[32];
+	char reserved2[16];
+	uint32_t n_stats;  /* number of u64's from ETHTOOL_GSTATS */
+	uint32_t testinfo_len;
+	uint32_t eedump_len; /* Size of data from ETHTOOL_GEEPROM (bytes) */
+	uint32_t regdump_len;  /* Size of data from ETHTOOL_GREGS (bytes) */
 };
 #define ETHTOOL_GDRVINFO  0x00000003 /* Get driver info. */
 #endif