mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	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: Joe Perches <joe@perches.com> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
This commit is contained in:
		
							parent
							
								
									d6d7d3ed56
								
							
						
					
					
						commit
						26c6d28168
					
				
					 15 changed files with 28 additions and 22 deletions
				
			
		|  | @ -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 @@ | ||||||
| #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 @@ | ||||||
| #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 @@ | ||||||
| #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 @@ | ||||||
| #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 @@ | ||||||
| #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 @@ | ||||||
| #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 @@ | ||||||
| #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 @@ | ||||||
| #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 @@ | ||||||
| #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 @@ | ||||||
| #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 @@ | ||||||
| #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 @@ | ||||||
| #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"); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Joe Perches
						Joe Perches