aboutsummaryrefslogtreecommitdiff
path: root/networking/nameif.c
diff options
context:
space:
mode:
authorDaniel Fandrich <dfandrich@intrinsyc.com>2011-06-09 15:44:44 -0700
committerDenys Vlasenko <vda.linux@googlemail.com>2011-06-10 05:34:05 +0200
commit6295d273add9e72f7074d44eeee7a2c281bac975 (patch)
tree022e2b28e2e26df14cf391fb375e783a946257a3 /networking/nameif.c
parentf533ec876716415ed0e6ba28d13dfb6263068e82 (diff)
downloadbusybox-w32-6295d273add9e72f7074d44eeee7a2c281bac975.tar.gz
busybox-w32-6295d273add9e72f7074d44eeee7a2c281bac975.tar.bz2
busybox-w32-6295d273add9e72f7074d44eeee7a2c281bac975.zip
Replaced __u32 etc. with standard uint32_t style types
Signed-off-by: Daniel Fandrich <dfandrich@intrinsyc.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/nameif.c')
-rw-r--r--networking/nameif.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/networking/nameif.c b/networking/nameif.c
index 9a16b0fbc..5d7e8f9a4 100644
--- a/networking/nameif.c
+++ b/networking/nameif.c
@@ -121,20 +121,20 @@ struct ethtool_drvinfo {
121}; 121};
122 122
123struct ethtool_cmd { 123struct ethtool_cmd {
124 __u32 cmd; 124 uint32_t cmd;
125 __u32 supported; /* Features this interface supports */ 125 uint32_t supported; /* Features this interface supports */
126 __u32 advertising; /* Features this interface advertises */ 126 uint32_t advertising; /* Features this interface advertises */
127 __u16 speed; /* The forced speed, 10Mb, 100Mb, gigabit */ 127 uint16_t speed; /* The forced speed, 10Mb, 100Mb, gigabit */
128 __u8 duplex; /* Duplex, half or full */ 128 uint8_t duplex; /* Duplex, half or full */
129 __u8 port; /* Which connector port */ 129 uint8_t port; /* Which connector port */
130 __u8 phy_address; 130 uint8_t phy_address;
131 __u8 transceiver; /* Which transceiver to use */ 131 uint8_t transceiver; /* Which transceiver to use */
132 __u8 autoneg; /* Enable or disable autonegotiation */ 132 uint8_t autoneg; /* Enable or disable autonegotiation */
133 __u32 maxtxpkt; /* Tx pkts before generating tx int */ 133 uint32_t maxtxpkt; /* Tx pkts before generating tx int */
134 __u32 maxrxpkt; /* Rx pkts before generating rx int */ 134 uint32_t maxrxpkt; /* Rx pkts before generating rx int */
135 __u16 speed_hi; 135 uint16_t speed_hi;
136 __u16 reserved2; 136 uint16_t reserved2;
137 __u32 reserved[3]; 137 uint32_t reserved[3];
138}; 138};
139 139
140#define ETHTOOL_GSET 0x00000001 /* Get settings. */ 140#define ETHTOOL_GSET 0x00000001 /* Get settings. */