diff options
author | Arnd Bergmann <arnd@arndb.de> | 2021-08-03 14:40:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-03 15:05:26 +0300 |
commit | 5ea2f5ffde39251115ef9a566262fb9e52b91cb7 (patch) | |
tree | 59a778fe579fd0d91d07d18910775a8755d16e43 /include/linux/netdevice.h | |
parent | f8ade8dddb167eecd369eb3b185a5772c2d7d09b (diff) | |
download | linux-5ea2f5ffde39251115ef9a566262fb9e52b91cb7.tar.xz |
move netdev_boot_setup into Space.c
This is now only used by a handful of old ISA drivers,
and can be moved into the file they already all depend on.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index d63a94ecbf3b..cd136499ec59 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -295,18 +295,6 @@ enum netdev_state_t { }; -/* - * This structure holds boot-time configured netdevice settings. They - * are then used in the device probing. - */ -struct netdev_boot_setup { - char name[IFNAMSIZ]; - struct ifmap map; -}; -#define NETDEV_BOOT_SETUP_MAX 8 - -int __init netdev_boot_setup(char *str); - struct gro_list { struct list_head list; int count; @@ -2939,7 +2927,6 @@ static inline struct net_device *first_net_device_rcu(struct net *net) } int netdev_boot_setup_check(struct net_device *dev); -unsigned long netdev_boot_base(const char *prefix, int unit); struct net_device *dev_getbyhwaddr_rcu(struct net *net, unsigned short type, const char *hwaddr); struct net_device *dev_getfirstbyhwtype(struct net *net, unsigned short type); |