]> git.pld-linux.org Git - packages/busybox.git/blame - busybox-1.9.0-nameif.patch
- up for 1.9.0
[packages/busybox.git] / busybox-1.9.0-nameif.patch
CommitLineData
c10912e8
AM
1diff -urN busybox-1.9.0/networking/nameif.c busybox-1.9.0-nameif/networking/nameif.c
2--- busybox-1.9.0/networking/nameif.c 2007-12-24 14:08:25.000000000 +0000
3+++ busybox-1.9.0-nameif/networking/nameif.c 2008-01-04 20:05:48.000000000 +0000
4@@ -50,18 +50,18 @@
5 #define ETHTOOL_BUSINFO_LEN 32
6 /* these strings are set to whatever the driver author decides... */
7 struct ethtool_drvinfo {
8- __u32 cmd;
9- char driver[32]; /* driver short name, "tulip", "eepro100" */
10- char version[32]; /* driver version string */
11- char fw_version[32]; /* firmware version string, if applicable */
12- char bus_info[ETHTOOL_BUSINFO_LEN]; /* Bus info for this IF. */
13+ uint32_t cmd;
14+ char driver[32]; /* driver short name, "tulip", "eepro100" */
15+ char version[32]; /* driver version string */
16+ char fw_version[32]; /* firmware version string, if applicable */
17+ char bus_info[ETHTOOL_BUSINFO_LEN]; /* Bus info for this IF. */
18 /* For PCI devices, use pci_dev->slot_name. */
19- char reserved1[32];
20- char reserved2[16];
21- __u32 n_stats; /* number of u64's from ETHTOOL_GSTATS */
22- __u32 testinfo_len;
23- __u32 eedump_len; /* Size of data from ETHTOOL_GEEPROM (bytes) */
24- __u32 regdump_len; /* Size of data from ETHTOOL_GREGS (bytes) */
25+ char reserved1[32];
26+ char reserved2[16];
27+ uint32_t n_stats; /* number of u64's from ETHTOOL_GSTATS */
28+ uint32_t testinfo_len;
29+ uint32_t eedump_len; /* Size of data from ETHTOOL_GEEPROM (bytes) */
30+ uint32_t regdump_len; /* Size of data from ETHTOOL_GREGS (bytes) */
31 };
32 #define ETHTOOL_GDRVINFO 0x00000003 /* Get driver info. */
33 #endif
This page took 0.079743 seconds and 4 git commands to generate.