aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h32
1 files changed, 1 insertions, 31 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 561c8bc8976d..f8eda0276f03 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -25,12 +25,6 @@
25#ifndef _LINUX_NETDEVICE_H 25#ifndef _LINUX_NETDEVICE_H
26#define _LINUX_NETDEVICE_H 26#define _LINUX_NETDEVICE_H
27 27
28#include <linux/if.h>
29#include <linux/if_ether.h>
30#include <linux/if_packet.h>
31#include <linux/if_link.h>
32
33#ifdef __KERNEL__
34#include <linux/pm_qos.h> 28#include <linux/pm_qos.h>
35#include <linux/timer.h> 29#include <linux/timer.h>
36#include <linux/bug.h> 30#include <linux/bug.h>
@@ -55,6 +49,7 @@
55 49
56#include <linux/netdev_features.h> 50#include <linux/netdev_features.h>
57#include <linux/neighbour.h> 51#include <linux/neighbour.h>
52#include <uapi/linux/netdevice.h>
58 53
59struct netpoll_info; 54struct netpoll_info;
60struct device; 55struct device;
@@ -133,14 +128,6 @@ static inline bool dev_xmit_complete(int rc)
133 return false; 128 return false;
134} 129}
135 130
136#endif
137
138#define MAX_ADDR_LEN 32 /* Largest hardware address length */
139
140/* Initial net device group. All devices belong to group 0 by default. */
141#define INIT_NETDEV_GROUP 0
142
143#ifdef __KERNEL__
144/* 131/*
145 * Compute the worst case header length according to the protocols 132 * Compute the worst case header length according to the protocols
146 * used. 133 * used.
@@ -196,21 +183,6 @@ struct net_device_stats {
196 unsigned long tx_compressed; 183 unsigned long tx_compressed;
197}; 184};
198 185
199#endif /* __KERNEL__ */
200
201
202/* Media selection options. */
203enum {
204 IF_PORT_UNKNOWN = 0,
205 IF_PORT_10BASE2,
206 IF_PORT_10BASET,
207 IF_PORT_AUI,
208 IF_PORT_100BASET,
209 IF_PORT_100BASETX,
210 IF_PORT_100BASEFX
211};
212
213#ifdef __KERNEL__
214 186
215#include <linux/cache.h> 187#include <linux/cache.h>
216#include <linux/skbuff.h> 188#include <linux/skbuff.h>
@@ -2844,6 +2816,4 @@ do { \
2844}) 2816})
2845#endif 2817#endif
2846 2818
2847#endif /* __KERNEL__ */
2848
2849#endif /* _LINUX_NETDEVICE_H */ 2819#endif /* _LINUX_NETDEVICE_H */