linux/drivers/net/wan
Tom Gundersen c835a67733 net: set name_assign_type in alloc_netdev()
Extend alloc_netdev{,_mq{,s}}() to take name_assign_type as argument, and convert
all users to pass NET_NAME_UNKNOWN.

Coccinelle patch:

@@
expression sizeof_priv, name, setup, txqs, rxqs, count;
@@

(
-alloc_netdev_mqs(sizeof_priv, name, setup, txqs, rxqs)
+alloc_netdev_mqs(sizeof_priv, name, NET_NAME_UNKNOWN, setup, txqs, rxqs)
|
-alloc_netdev_mq(sizeof_priv, name, setup, count)
+alloc_netdev_mq(sizeof_priv, name, NET_NAME_UNKNOWN, setup, count)
|
-alloc_netdev(sizeof_priv, name, setup)
+alloc_netdev(sizeof_priv, name, NET_NAME_UNKNOWN, setup)
)

v9: move comments here from the wrong commit

Signed-off-by: Tom Gundersen <teg@jklm.no>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-15 16:12:48 -07:00
..
lmc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-01-25 11:17:34 -08:00
.gitignore
c101.c
cosa.c driver/net: cosa driver uses udelay incorrectly 2014-04-15 00:08:22 -04:00
cosa.h
dlci.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
dscc4.c wan: dscc4: remove unnecessary pci_set_drvdata() 2013-12-09 18:09:29 -05:00
farsync.c farsync: Fix confusion about DMA address and buffer offset types 2014-06-11 00:45:29 -07:00
farsync.h
hd64570.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
hd64570.h net: Spelling s/transmition/transmission/ 2014-01-14 17:11:26 -08:00
hd64572.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
hd64572.h net: Spelling s/transmition/transmission/ 2014-01-14 17:11:26 -08:00
hdlc_cisco.c
hdlc_fr.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
hdlc_ppp.c
hdlc_raw_eth.c
hdlc_raw.c
hdlc_x25.c
hdlc.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
hostess_sv11.c net: wan: remove deprecated IRQF_DISABLED 2013-10-07 15:53:52 -04:00
ixp4xx_hss.c net: wan: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:52 -07:00
Kconfig tty/serial patches for 3.9-rc1 2013-02-21 13:41:04 -08:00
lapbether.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
Makefile wanrouter: completely decouple obsolete code from kernel. 2013-01-31 19:20:33 -05:00
n2.c
pc300too.c wan: pc300too: remove unnecessary pci_set_drvdata() 2013-12-09 18:09:29 -05:00
pci200syn.c wan: pci200syn: remove unnecessary pci_set_drvdata() 2013-12-09 18:09:29 -05:00
sbni.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
sbni.h
sdla.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
sealevel.c net: wan: remove deprecated IRQF_DISABLED 2013-10-07 15:53:52 -04:00
wanxl.c wan: wanxl: remove unnecessary pci_set_drvdata() 2013-12-09 18:09:29 -05:00
wanxl.h
wanxlfw.inc_shipped
wanxlfw.S Fix the wanxl firmware to include missing constants 2012-11-09 16:28:37 -05:00
x25_asy.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
x25_asy.h wan: Remove extern from function prototypes 2013-09-24 16:40:19 -07:00
z85230.c
z85230.h wan: Remove extern from function prototypes 2013-09-24 16:40:19 -07:00