提交 26c6d281 编写于 作者: J Joe Perches 提交者: Michael Grzeschik

arcnet: Move files out of include/linux

These #include files don't need to be in the include/linux directory
as they can be local to drivers/net/arcnet/

Move them and update the #include statements.

Update the MAINTAINERS file pattern by deleting arcdevice from the
NETWORKING block as arcnet is currently unmaintained.
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NMichael Grzeschik <m.grzeschik@pengutronix.de>
上级 d6d7d3ed
...@@ -7292,7 +7292,6 @@ S: Odd Fixes ...@@ -7292,7 +7292,6 @@ S: Odd Fixes
F: drivers/net/ F: drivers/net/
F: include/linux/if_* F: include/linux/if_*
F: include/linux/netdevice.h F: include/linux/netdevice.h
F: include/linux/arcdevice.h
F: include/linux/etherdevice.h F: include/linux/etherdevice.h
F: include/linux/fcdevice.h F: include/linux/fcdevice.h
F: include/linux/fddidevice.h F: include/linux/fddidevice.h
......
...@@ -33,7 +33,8 @@ ...@@ -33,7 +33,8 @@
#include <net/arp.h> #include <net/arp.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/skbuff.h> #include <linux/skbuff.h>
#include <linux/arcdevice.h>
#include "arcdevice.h"
static void rx(struct net_device *dev, int bufnum, static void rx(struct net_device *dev, int bufnum,
struct archdr *pkthdr, int length); struct archdr *pkthdr, int length);
......
...@@ -37,7 +37,8 @@ ...@@ -37,7 +37,8 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/arcdevice.h>
#include "arcdevice.h"
/* Internal function declarations */ /* Internal function declarations */
......
...@@ -50,9 +50,10 @@ ...@@ -50,9 +50,10 @@
#include <linux/if_arp.h> #include <linux/if_arp.h>
#include <net/arp.h> #include <net/arp.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/arcdevice.h>
#include <linux/jiffies.h> #include <linux/jiffies.h>
#include "arcdevice.h"
/* "do nothing" functions for protocol drivers */ /* "do nothing" functions for protocol drivers */
static void null_rx(struct net_device *dev, int bufnum, static void null_rx(struct net_device *dev, int bufnum,
struct archdr *pkthdr, int length); struct archdr *pkthdr, int length);
......
...@@ -35,7 +35,8 @@ ...@@ -35,7 +35,8 @@
#include <net/arp.h> #include <net/arp.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/skbuff.h> #include <linux/skbuff.h>
#include <linux/arcdevice.h>
#include "arcdevice.h"
/* packet receiver */ /* packet receiver */
static void rx(struct net_device *dev, int bufnum, static void rx(struct net_device *dev, int bufnum,
......
...@@ -39,11 +39,11 @@ ...@@ -39,11 +39,11 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/bootmem.h> #include <linux/bootmem.h>
#include <linux/arcdevice.h>
#include <linux/com20020.h>
#include <linux/io.h> #include <linux/io.h>
#include "arcdevice.h"
#include "com20020.h"
/* We cannot (yet) probe for an IO mapped card, although we can check that /* We cannot (yet) probe for an IO mapped card, although we can check that
* it's where we were told it was, and even do autoirq. * it's where we were told it was, and even do autoirq.
*/ */
......
...@@ -39,12 +39,12 @@ ...@@ -39,12 +39,12 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/pci.h> #include <linux/pci.h>
#include <linux/arcdevice.h>
#include <linux/com20020.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/io.h> #include <linux/io.h>
#include "arcdevice.h"
#include "com20020.h"
/* Module parameters */ /* Module parameters */
static int node; static int node;
......
...@@ -37,11 +37,11 @@ ...@@ -37,11 +37,11 @@
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/arcdevice.h>
#include <linux/com20020.h>
#include <linux/io.h> #include <linux/io.h>
#include "arcdevice.h"
#include "com20020.h"
static char *clockrates[] = { static char *clockrates[] = {
"XXXXXXX", "XXXXXXXX", "XXXXXX", "XXXXXXX", "XXXXXXXX", "XXXXXX",
"2.5 Mb/s", "1.25Mb/s", "625 Kb/s", "312.5 Kb/s", "2.5 Mb/s", "1.25Mb/s", "625 Kb/s", "312.5 Kb/s",
......
...@@ -42,13 +42,12 @@ ...@@ -42,13 +42,12 @@
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/arcdevice.h> #include <linux/io.h>
#include <linux/com20020.h>
#include <pcmcia/cistpl.h> #include <pcmcia/cistpl.h>
#include <pcmcia/ds.h> #include <pcmcia/ds.h>
#include <linux/io.h> #include "arcdevice.h"
#include "com20020.h"
static void regdump(struct net_device *dev) static void regdump(struct net_device *dev)
{ {
......
...@@ -38,7 +38,8 @@ ...@@ -38,7 +38,8 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/arcdevice.h>
#include "arcdevice.h"
/* Internal function declarations */ /* Internal function declarations */
......
...@@ -36,7 +36,8 @@ ...@@ -36,7 +36,8 @@
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/arcdevice.h>
#include "arcdevice.h"
/* Define this to speed up the autoprobe by assuming if only one io port and /* Define this to speed up the autoprobe by assuming if only one io port and
* shmem are left in the list at Stage 5, they must correspond to each * shmem are left in the list at Stage 5, they must correspond to each
......
...@@ -33,7 +33,8 @@ ...@@ -33,7 +33,8 @@
#include <net/arp.h> #include <net/arp.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/skbuff.h> #include <linux/skbuff.h>
#include <linux/arcdevice.h>
#include "arcdevice.h"
static __be16 type_trans(struct sk_buff *skb, struct net_device *dev); static __be16 type_trans(struct sk_buff *skb, struct net_device *dev);
static void rx(struct net_device *dev, int bufnum, static void rx(struct net_device *dev, int bufnum,
......
...@@ -32,7 +32,8 @@ ...@@ -32,7 +32,8 @@
#include <linux/if_arp.h> #include <linux/if_arp.h>
#include <linux/netdevice.h> #include <linux/netdevice.h>
#include <linux/skbuff.h> #include <linux/skbuff.h>
#include <linux/arcdevice.h>
#include "arcdevice.h"
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册