aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-12-24 14:46:01 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2016-12-24 14:46:01 -0500
commit7c0f6ba682b9c7632072ffbedf8d328c8f3c42ba (patch)
tree0a6e858d2c9e6e8cd7da1d4268972071fbeb77ca /drivers/net
parent1dd5c6b15372c7c127c509afa9a816bad5feed3b (diff)
Replace <asm/uaccess.h> with <linux/uaccess.h> globally
This was entirely automated, using the script by Al: PATT='^[[:blank:]]*#[[:blank:]]*include[[:blank:]]*<asm/uaccess.h>' sed -i -e "s!$PATT!#include <linux/uaccess.h>!" \ $(git grep -l "$PATT"|grep -v ^include/linux/uaccess.h) to do the replacement at the end of the merge window. Requested-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/appletalk/ipddp.c2
-rw-r--r--drivers/net/eql.c2
-rw-r--r--drivers/net/ethernet/3com/3c509.c2
-rw-r--r--drivers/net/ethernet/3com/3c515.c2
-rw-r--r--drivers/net/ethernet/3com/3c574_cs.c2
-rw-r--r--drivers/net/ethernet/3com/3c59x.c2
-rw-r--r--drivers/net/ethernet/3com/typhoon.c2
-rw-r--r--drivers/net/ethernet/8390/axnet_cs.c2
-rw-r--r--drivers/net/ethernet/8390/ne2k-pci.c2
-rw-r--r--drivers/net/ethernet/8390/pcnet_cs.c2
-rw-r--r--drivers/net/ethernet/adaptec/starfire.c2
-rw-r--r--drivers/net/ethernet/alteon/acenic.c2
-rw-r--r--drivers/net/ethernet/amd/amd8111e.c2
-rw-r--r--drivers/net/ethernet/amd/nmclan_cs.c2
-rw-r--r--drivers/net/ethernet/broadcom/b44.c2
-rw-r--r--drivers/net/ethernet/chelsio/cxgb/cxgb2.c2
-rw-r--r--drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c2
-rw-r--r--drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c2
-rw-r--r--drivers/net/ethernet/dec/tulip/de2104x.c2
-rw-r--r--drivers/net/ethernet/dec/tulip/de4x5.c2
-rw-r--r--drivers/net/ethernet/dec/tulip/dmfe.c2
-rw-r--r--drivers/net/ethernet/dec/tulip/tulip_core.c2
-rw-r--r--drivers/net/ethernet/dec/tulip/uli526x.c2
-rw-r--r--drivers/net/ethernet/dec/tulip/winbond-840.c2
-rw-r--r--drivers/net/ethernet/dec/tulip/xircom_cb.c2
-rw-r--r--drivers/net/ethernet/dlink/dl2k.h2
-rw-r--r--drivers/net/ethernet/dlink/sundance.c2
-rw-r--r--drivers/net/ethernet/fealnx.c2
-rw-r--r--drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c2
-rw-r--r--drivers/net/ethernet/freescale/fs_enet/mac-fcc.c2
-rw-r--r--drivers/net/ethernet/freescale/fs_enet/mac-fec.c2
-rw-r--r--drivers/net/ethernet/freescale/fs_enet/mac-scc.c2
-rw-r--r--drivers/net/ethernet/freescale/fs_enet/mii-fec.c2
-rw-r--r--drivers/net/ethernet/freescale/gianfar.c2
-rw-r--r--drivers/net/ethernet/freescale/gianfar.h2
-rw-r--r--drivers/net/ethernet/freescale/gianfar_ethtool.c2
-rw-r--r--drivers/net/ethernet/freescale/ucc_geth.c2
-rw-r--r--drivers/net/ethernet/freescale/ucc_geth_ethtool.c2
-rw-r--r--drivers/net/ethernet/fujitsu/fmvj18x_cs.c2
-rw-r--r--drivers/net/ethernet/ibm/emac/core.c2
-rw-r--r--drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c2
-rw-r--r--drivers/net/ethernet/natsemi/natsemi.c2
-rw-r--r--drivers/net/ethernet/natsemi/ns83820.c2
-rw-r--r--drivers/net/ethernet/packetengines/hamachi.c2
-rw-r--r--drivers/net/ethernet/packetengines/yellowfin.c2
-rw-r--r--drivers/net/ethernet/realtek/8139cp.c2
-rw-r--r--drivers/net/ethernet/sgi/ioc3-eth.c2
-rw-r--r--drivers/net/ethernet/sis/sis900.c2
-rw-r--r--drivers/net/ethernet/smsc/epic100.c2
-rw-r--r--drivers/net/ethernet/smsc/smc91c92_cs.c2
-rw-r--r--drivers/net/ethernet/sun/cassini.c2
-rw-r--r--drivers/net/ethernet/sun/sungem.c2
-rw-r--r--drivers/net/ethernet/sun/sunhme.c2
-rw-r--r--drivers/net/ethernet/via/via-rhine.c2
-rw-r--r--drivers/net/ethernet/xircom/xirc2ps_cs.c2
-rw-r--r--drivers/net/fddi/skfp/skfddi.c2
-rw-r--r--drivers/net/hamradio/6pack.c2
-rw-r--r--drivers/net/hamradio/baycom_epp.c2
-rw-r--r--drivers/net/hamradio/baycom_par.c2
-rw-r--r--drivers/net/hamradio/baycom_ser_fdx.c2
-rw-r--r--drivers/net/hamradio/baycom_ser_hdx.c2
-rw-r--r--drivers/net/hamradio/bpqether.c2
-rw-r--r--drivers/net/hamradio/dmascc.c2
-rw-r--r--drivers/net/hamradio/hdlcdrv.c2
-rw-r--r--drivers/net/hamradio/mkiss.c2
-rw-r--r--drivers/net/hamradio/scc.c2
-rw-r--r--drivers/net/hamradio/yam.c2
-rw-r--r--drivers/net/hippi/rrunner.c2
-rw-r--r--drivers/net/irda/irtty-sir.c2
-rw-r--r--drivers/net/irda/kingsun-sir.c2
-rw-r--r--drivers/net/irda/ks959-sir.c2
-rw-r--r--drivers/net/irda/ksdazzle-sir.c2
-rw-r--r--drivers/net/irda/mcs7780.c2
-rw-r--r--drivers/net/irda/vlsi_ir.c2
-rw-r--r--drivers/net/loopback.c2
-rw-r--r--drivers/net/phy/davicom.c2
-rw-r--r--drivers/net/phy/icplus.c2
-rw-r--r--drivers/net/phy/lxt.c2
-rw-r--r--drivers/net/phy/qsemi.c2
-rw-r--r--drivers/net/ppp/ppp_async.c2
-rw-r--r--drivers/net/ppp/ppp_synctty.c2
-rw-r--r--drivers/net/ppp/pppoe.c2
-rw-r--r--drivers/net/ppp/pppox.c2
-rw-r--r--drivers/net/sb1000.c2
-rw-r--r--drivers/net/slip/slhc.c2
-rw-r--r--drivers/net/slip/slip.c2
-rw-r--r--drivers/net/tun.c2
-rw-r--r--drivers/net/usb/catc.c2
-rw-r--r--drivers/net/usb/kaweth.c2
-rw-r--r--drivers/net/usb/pegasus.c2
-rw-r--r--drivers/net/usb/rtl8150.c2
-rw-r--r--drivers/net/wan/dlci.c2
-rw-r--r--drivers/net/wan/dscc4.c2
-rw-r--r--drivers/net/wan/farsync.c2
-rw-r--r--drivers/net/wan/hd64570.c2
-rw-r--r--drivers/net/wan/hd64572.c2
-rw-r--r--drivers/net/wan/lapbether.c2
-rw-r--r--drivers/net/wan/lmc/lmc_main.c2
-rw-r--r--drivers/net/wan/lmc/lmc_media.c2
-rw-r--r--drivers/net/wan/sbni.c2
-rw-r--r--drivers/net/wan/sdla.c2
-rw-r--r--drivers/net/wireless/atmel/atmel.c2
-rw-r--r--drivers/net/wireless/intel/ipw2x00/ipw2100.c2
-rw-r--r--drivers/net/wireless/intel/ipw2x00/libipw_geo.c2
-rw-r--r--drivers/net/wireless/intel/ipw2x00/libipw_module.c2
-rw-r--r--drivers/net/wireless/intel/ipw2x00/libipw_rx.c2
-rw-r--r--drivers/net/wireless/intel/ipw2x00/libipw_tx.c2
-rw-r--r--drivers/net/wireless/intersil/hostap/hostap_hw.c2
-rw-r--r--drivers/net/wireless/intersil/hostap/hostap_main.c2
-rw-r--r--drivers/net/wireless/intersil/prism54/isl_38xx.c2
-rw-r--r--drivers/net/wireless/intersil/prism54/isl_ioctl.c2
-rw-r--r--drivers/net/wireless/ray_cs.c2
-rw-r--r--drivers/net/wireless/wl3501_cs.c2
113 files changed, 113 insertions, 113 deletions
diff --git a/drivers/net/appletalk/ipddp.c b/drivers/net/appletalk/ipddp.c
index 31f89f1c6123..b8c293373ecc 100644
--- a/drivers/net/appletalk/ipddp.c
+++ b/drivers/net/appletalk/ipddp.c
@@ -33,7 +33,7 @@
33#include <linux/if_arp.h> 33#include <linux/if_arp.h>
34#include <linux/slab.h> 34#include <linux/slab.h>
35#include <net/route.h> 35#include <net/route.h>
36#include <asm/uaccess.h> 36#include <linux/uaccess.h>
37 37
38#include "ipddp.h" /* Our stuff */ 38#include "ipddp.h" /* Our stuff */
39 39
diff --git a/drivers/net/eql.c b/drivers/net/eql.c
index a10ad74cc8d2..fe13bfea30ac 100644
--- a/drivers/net/eql.c
+++ b/drivers/net/eql.c
@@ -127,7 +127,7 @@
127#include <linux/if_eql.h> 127#include <linux/if_eql.h>
128#include <linux/pkt_sched.h> 128#include <linux/pkt_sched.h>
129 129
130#include <asm/uaccess.h> 130#include <linux/uaccess.h>
131 131
132static int eql_open(struct net_device *dev); 132static int eql_open(struct net_device *dev);
133static int eql_close(struct net_device *dev); 133static int eql_close(struct net_device *dev);
diff --git a/drivers/net/ethernet/3com/3c509.c b/drivers/net/ethernet/3com/3c509.c
index a7533780dddc..c7f9f2c77da7 100644
--- a/drivers/net/ethernet/3com/3c509.c
+++ b/drivers/net/ethernet/3com/3c509.c
@@ -88,7 +88,7 @@
88#include <linux/eisa.h> 88#include <linux/eisa.h>
89#include <linux/bitops.h> 89#include <linux/bitops.h>
90 90
91#include <asm/uaccess.h> 91#include <linux/uaccess.h>
92#include <asm/io.h> 92#include <asm/io.h>
93#include <asm/irq.h> 93#include <asm/irq.h>
94 94
diff --git a/drivers/net/ethernet/3com/3c515.c b/drivers/net/ethernet/3com/3c515.c
index be5b80103bec..e7b1fa56b290 100644
--- a/drivers/net/ethernet/3com/3c515.c
+++ b/drivers/net/ethernet/3com/3c515.c
@@ -72,7 +72,7 @@ static int max_interrupt_work = 20;
72#include <linux/ethtool.h> 72#include <linux/ethtool.h>
73#include <linux/bitops.h> 73#include <linux/bitops.h>
74 74
75#include <asm/uaccess.h> 75#include <linux/uaccess.h>
76#include <asm/io.h> 76#include <asm/io.h>
77#include <asm/dma.h> 77#include <asm/dma.h>
78 78
diff --git a/drivers/net/ethernet/3com/3c574_cs.c b/drivers/net/ethernet/3com/3c574_cs.c
index 9359a37fedc0..47c844cc9d27 100644
--- a/drivers/net/ethernet/3com/3c574_cs.c
+++ b/drivers/net/ethernet/3com/3c574_cs.c
@@ -92,7 +92,7 @@ earlier 3Com products.
92#include <pcmcia/ciscode.h> 92#include <pcmcia/ciscode.h>
93#include <pcmcia/ds.h> 93#include <pcmcia/ds.h>
94 94
95#include <asm/uaccess.h> 95#include <linux/uaccess.h>
96#include <asm/io.h> 96#include <asm/io.h>
97 97
98/*====================================================================*/ 98/*====================================================================*/
diff --git a/drivers/net/ethernet/3com/3c59x.c b/drivers/net/ethernet/3com/3c59x.c
index b3560a364e53..40196f41768a 100644
--- a/drivers/net/ethernet/3com/3c59x.c
+++ b/drivers/net/ethernet/3com/3c59x.c
@@ -92,7 +92,7 @@ static int vortex_debug = 1;
92#include <linux/gfp.h> 92#include <linux/gfp.h>
93#include <asm/irq.h> /* For nr_irqs only. */ 93#include <asm/irq.h> /* For nr_irqs only. */
94#include <asm/io.h> 94#include <asm/io.h>
95#include <asm/uaccess.h> 95#include <linux/uaccess.h>
96 96
97/* Kernel compatibility defines, some common to David Hinds' PCMCIA package. 97/* Kernel compatibility defines, some common to David Hinds' PCMCIA package.
98 This is only in the support-all-kernels source code. */ 98 This is only in the support-all-kernels source code. */
diff --git a/drivers/net/ethernet/3com/typhoon.c b/drivers/net/ethernet/3com/typhoon.c
index a0cacbe846ba..9fe3990319ec 100644
--- a/drivers/net/ethernet/3com/typhoon.c
+++ b/drivers/net/ethernet/3com/typhoon.c
@@ -119,7 +119,7 @@ static const int multicast_filter_limit = 32;
119#include <linux/bitops.h> 119#include <linux/bitops.h>
120#include <asm/processor.h> 120#include <asm/processor.h>
121#include <asm/io.h> 121#include <asm/io.h>
122#include <asm/uaccess.h> 122#include <linux/uaccess.h>
123#include <linux/in6.h> 123#include <linux/in6.h>
124#include <linux/dma-mapping.h> 124#include <linux/dma-mapping.h>
125#include <linux/firmware.h> 125#include <linux/firmware.h>
diff --git a/drivers/net/ethernet/8390/axnet_cs.c b/drivers/net/ethernet/8390/axnet_cs.c
index 1d84a0544ace..3da1fc539ef9 100644
--- a/drivers/net/ethernet/8390/axnet_cs.c
+++ b/drivers/net/ethernet/8390/axnet_cs.c
@@ -46,7 +46,7 @@
46 46
47#include <asm/io.h> 47#include <asm/io.h>
48#include <asm/byteorder.h> 48#include <asm/byteorder.h>
49#include <asm/uaccess.h> 49#include <linux/uaccess.h>
50 50
51#define AXNET_CMD 0x00 51#define AXNET_CMD 0x00
52#define AXNET_DATAPORT 0x10 /* NatSemi-defined port window offset. */ 52#define AXNET_DATAPORT 0x10 /* NatSemi-defined port window offset. */
diff --git a/drivers/net/ethernet/8390/ne2k-pci.c b/drivers/net/ethernet/8390/ne2k-pci.c
index 07355302443d..1bdea746926c 100644
--- a/drivers/net/ethernet/8390/ne2k-pci.c
+++ b/drivers/net/ethernet/8390/ne2k-pci.c
@@ -54,7 +54,7 @@ static int options[MAX_UNITS];
54 54
55#include <asm/io.h> 55#include <asm/io.h>
56#include <asm/irq.h> 56#include <asm/irq.h>
57#include <asm/uaccess.h> 57#include <linux/uaccess.h>
58 58
59#include "8390.h" 59#include "8390.h"
60 60
diff --git a/drivers/net/ethernet/8390/pcnet_cs.c b/drivers/net/ethernet/8390/pcnet_cs.c
index 63079a6e20d9..bd0a2a14b649 100644
--- a/drivers/net/ethernet/8390/pcnet_cs.c
+++ b/drivers/net/ethernet/8390/pcnet_cs.c
@@ -49,7 +49,7 @@
49 49
50#include <asm/io.h> 50#include <asm/io.h>
51#include <asm/byteorder.h> 51#include <asm/byteorder.h>
52#include <asm/uaccess.h> 52#include <linux/uaccess.h>
53 53
54#define PCNET_CMD 0x00 54#define PCNET_CMD 0x00
55#define PCNET_DATAPORT 0x10 /* NatSemi-defined port window offset. */ 55#define PCNET_DATAPORT 0x10 /* NatSemi-defined port window offset. */
diff --git a/drivers/net/ethernet/adaptec/starfire.c b/drivers/net/ethernet/adaptec/starfire.c
index 3aaad33cdbc6..c12d2618eebf 100644
--- a/drivers/net/ethernet/adaptec/starfire.c
+++ b/drivers/net/ethernet/adaptec/starfire.c
@@ -45,7 +45,7 @@
45#include <linux/mm.h> 45#include <linux/mm.h>
46#include <linux/firmware.h> 46#include <linux/firmware.h>
47#include <asm/processor.h> /* Processor type for cache alignment. */ 47#include <asm/processor.h> /* Processor type for cache alignment. */
48#include <asm/uaccess.h> 48#include <linux/uaccess.h>
49#include <asm/io.h> 49#include <asm/io.h>
50 50
51/* 51/*
diff --git a/drivers/net/ethernet/alteon/acenic.c b/drivers/net/ethernet/alteon/acenic.c
index 16f0c70266bc..a1a52eb53b14 100644
--- a/drivers/net/ethernet/alteon/acenic.c
+++ b/drivers/net/ethernet/alteon/acenic.c
@@ -80,7 +80,7 @@
80#include <asm/io.h> 80#include <asm/io.h>
81#include <asm/irq.h> 81#include <asm/irq.h>
82#include <asm/byteorder.h> 82#include <asm/byteorder.h>
83#include <asm/uaccess.h> 83#include <linux/uaccess.h>
84 84
85 85
86#define DRV_NAME "acenic" 86#define DRV_NAME "acenic"
diff --git a/drivers/net/ethernet/amd/amd8111e.c b/drivers/net/ethernet/amd/amd8111e.c
index 11cf1e3e0295..9595f1bc535b 100644
--- a/drivers/net/ethernet/amd/amd8111e.c
+++ b/drivers/net/ethernet/amd/amd8111e.c
@@ -87,7 +87,7 @@ Revision History:
87 87
88#include <asm/io.h> 88#include <asm/io.h>
89#include <asm/byteorder.h> 89#include <asm/byteorder.h>
90#include <asm/uaccess.h> 90#include <linux/uaccess.h>
91 91
92#if IS_ENABLED(CONFIG_VLAN_8021Q) 92#if IS_ENABLED(CONFIG_VLAN_8021Q)
93#define AMD8111E_VLAN_TAG_USED 1 93#define AMD8111E_VLAN_TAG_USED 1
diff --git a/drivers/net/ethernet/amd/nmclan_cs.c b/drivers/net/ethernet/amd/nmclan_cs.c
index 113a3b3cc50c..b556c926557a 100644
--- a/drivers/net/ethernet/amd/nmclan_cs.c
+++ b/drivers/net/ethernet/amd/nmclan_cs.c
@@ -151,7 +151,7 @@ Include Files
151#include <pcmcia/cistpl.h> 151#include <pcmcia/cistpl.h>
152#include <pcmcia/ds.h> 152#include <pcmcia/ds.h>
153 153
154#include <asm/uaccess.h> 154#include <linux/uaccess.h>
155#include <asm/io.h> 155#include <asm/io.h>
156 156
157/* ---------------------------------------------------------------------------- 157/* ----------------------------------------------------------------------------
diff --git a/drivers/net/ethernet/broadcom/b44.c b/drivers/net/ethernet/broadcom/b44.c
index 1df3048a3cdb..48707ed76ffc 100644
--- a/drivers/net/ethernet/broadcom/b44.c
+++ b/drivers/net/ethernet/broadcom/b44.c
@@ -32,7 +32,7 @@
32#include <linux/slab.h> 32#include <linux/slab.h>
33#include <linux/phy.h> 33#include <linux/phy.h>
34 34
35#include <asm/uaccess.h> 35#include <linux/uaccess.h>
36#include <asm/io.h> 36#include <asm/io.h>
37#include <asm/irq.h> 37#include <asm/irq.h>
38 38
diff --git a/drivers/net/ethernet/chelsio/cxgb/cxgb2.c b/drivers/net/ethernet/chelsio/cxgb/cxgb2.c
index 3a05f9098e75..d8aff7a4b3c7 100644
--- a/drivers/net/ethernet/chelsio/cxgb/cxgb2.c
+++ b/drivers/net/ethernet/chelsio/cxgb/cxgb2.c
@@ -44,7 +44,7 @@
44#include <linux/mii.h> 44#include <linux/mii.h>
45#include <linux/sockios.h> 45#include <linux/sockios.h>
46#include <linux/dma-mapping.h> 46#include <linux/dma-mapping.h>
47#include <asm/uaccess.h> 47#include <linux/uaccess.h>
48 48
49#include "cpl5_cmd.h" 49#include "cpl5_cmd.h"
50#include "regs.h" 50#include "regs.h"
diff --git a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
index 7b2224ae72f2..d76491676b51 100644
--- a/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
+++ b/drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
@@ -50,7 +50,7 @@
50#include <linux/stringify.h> 50#include <linux/stringify.h>
51#include <linux/sched.h> 51#include <linux/sched.h>
52#include <linux/slab.h> 52#include <linux/slab.h>
53#include <asm/uaccess.h> 53#include <linux/uaccess.h>
54 54
55#include "common.h" 55#include "common.h"
56#include "cxgb3_ioctl.h" 56#include "cxgb3_ioctl.h"
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
index 66c37fac59b2..6f951877430b 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
+++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
@@ -63,7 +63,7 @@
63#include <net/addrconf.h> 63#include <net/addrconf.h>
64#include <net/bonding.h> 64#include <net/bonding.h>
65#include <net/addrconf.h> 65#include <net/addrconf.h>
66#include <asm/uaccess.h> 66#include <linux/uaccess.h>
67#include <linux/crash_dump.h> 67#include <linux/crash_dump.h>
68 68
69#include "cxgb4.h" 69#include "cxgb4.h"
diff --git a/drivers/net/ethernet/dec/tulip/de2104x.c b/drivers/net/ethernet/dec/tulip/de2104x.c
index 90c573b8ccaf..57c17e797ae3 100644
--- a/drivers/net/ethernet/dec/tulip/de2104x.c
+++ b/drivers/net/ethernet/dec/tulip/de2104x.c
@@ -49,7 +49,7 @@
49 49
50#include <asm/io.h> 50#include <asm/io.h>
51#include <asm/irq.h> 51#include <asm/irq.h>
52#include <asm/uaccess.h> 52#include <linux/uaccess.h>
53#include <asm/unaligned.h> 53#include <asm/unaligned.h>
54 54
55/* These identify the driver base version and may not be removed. */ 55/* These identify the driver base version and may not be removed. */
diff --git a/drivers/net/ethernet/dec/tulip/de4x5.c b/drivers/net/ethernet/dec/tulip/de4x5.c
index 51fda3a6b13f..df4a871df633 100644
--- a/drivers/net/ethernet/dec/tulip/de4x5.c
+++ b/drivers/net/ethernet/dec/tulip/de4x5.c
@@ -472,7 +472,7 @@
472#include <asm/dma.h> 472#include <asm/dma.h>
473#include <asm/byteorder.h> 473#include <asm/byteorder.h>
474#include <asm/unaligned.h> 474#include <asm/unaligned.h>
475#include <asm/uaccess.h> 475#include <linux/uaccess.h>
476#ifdef CONFIG_PPC_PMAC 476#ifdef CONFIG_PPC_PMAC
477#include <asm/machdep.h> 477#include <asm/machdep.h>
478#endif /* CONFIG_PPC_PMAC */ 478#endif /* CONFIG_PPC_PMAC */
diff --git a/drivers/net/ethernet/dec/tulip/dmfe.c b/drivers/net/ethernet/dec/tulip/dmfe.c
index df4994919456..07e10a45beaa 100644
--- a/drivers/net/ethernet/dec/tulip/dmfe.c
+++ b/drivers/net/ethernet/dec/tulip/dmfe.c
@@ -90,7 +90,7 @@
90#include <asm/processor.h> 90#include <asm/processor.h>
91#include <asm/io.h> 91#include <asm/io.h>
92#include <asm/dma.h> 92#include <asm/dma.h>
93#include <asm/uaccess.h> 93#include <linux/uaccess.h>
94#include <asm/irq.h> 94#include <asm/irq.h>
95 95
96#ifdef CONFIG_TULIP_DM910X 96#ifdef CONFIG_TULIP_DM910X
diff --git a/drivers/net/ethernet/dec/tulip/tulip_core.c b/drivers/net/ethernet/dec/tulip/tulip_core.c
index 5f1377449b8f..17e566a8b345 100644
--- a/drivers/net/ethernet/dec/tulip/tulip_core.c
+++ b/drivers/net/ethernet/dec/tulip/tulip_core.c
@@ -31,7 +31,7 @@
31#include <linux/mii.h> 31#include <linux/mii.h>
32#include <linux/crc32.h> 32#include <linux/crc32.h>
33#include <asm/unaligned.h> 33#include <asm/unaligned.h>
34#include <asm/uaccess.h> 34#include <linux/uaccess.h>
35 35
36#ifdef CONFIG_SPARC 36#ifdef CONFIG_SPARC
37#include <asm/prom.h> 37#include <asm/prom.h>
diff --git a/drivers/net/ethernet/dec/tulip/uli526x.c b/drivers/net/ethernet/dec/tulip/uli526x.c
index e1c4133b8787..f82ebe5d89ee 100644
--- a/drivers/net/ethernet/dec/tulip/uli526x.c
+++ b/drivers/net/ethernet/dec/tulip/uli526x.c
@@ -40,7 +40,7 @@
40#include <asm/processor.h> 40#include <asm/processor.h>
41#include <asm/io.h> 41#include <asm/io.h>
42#include <asm/dma.h> 42#include <asm/dma.h>
43#include <asm/uaccess.h> 43#include <linux/uaccess.h>
44 44
45#define uw32(reg, val) iowrite32(val, ioaddr + (reg)) 45#define uw32(reg, val) iowrite32(val, ioaddr + (reg))
46#define ur32(reg) ioread32(ioaddr + (reg)) 46#define ur32(reg) ioread32(ioaddr + (reg))
diff --git a/drivers/net/ethernet/dec/tulip/winbond-840.c b/drivers/net/ethernet/dec/tulip/winbond-840.c
index feda96d585e7..bc9bf88e5831 100644
--- a/drivers/net/ethernet/dec/tulip/winbond-840.c
+++ b/drivers/net/ethernet/dec/tulip/winbond-840.c
@@ -129,7 +129,7 @@ static int full_duplex[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
129#include <linux/rtnetlink.h> 129#include <linux/rtnetlink.h>
130#include <linux/crc32.h> 130#include <linux/crc32.h>
131#include <linux/bitops.h> 131#include <linux/bitops.h>
132#include <asm/uaccess.h> 132#include <linux/uaccess.h>
133#include <asm/processor.h> /* Processor type for cache alignment. */ 133#include <asm/processor.h> /* Processor type for cache alignment. */
134#include <asm/io.h> 134#include <asm/io.h>
135#include <asm/irq.h> 135#include <asm/irq.h>
diff --git a/drivers/net/ethernet/dec/tulip/xircom_cb.c b/drivers/net/ethernet/dec/tulip/xircom_cb.c
index 19e4ea15b504..a8de79355578 100644
--- a/drivers/net/ethernet/dec/tulip/xircom_cb.c
+++ b/drivers/net/ethernet/dec/tulip/xircom_cb.c
@@ -30,7 +30,7 @@
30#include <linux/delay.h> 30#include <linux/delay.h>
31#include <linux/bitops.h> 31#include <linux/bitops.h>
32 32
33#include <asm/uaccess.h> 33#include <linux/uaccess.h>
34#include <asm/io.h> 34#include <asm/io.h>
35#ifdef CONFIG_NET_POLL_CONTROLLER 35#ifdef CONFIG_NET_POLL_CONTROLLER
36#include <asm/irq.h> 36#include <asm/irq.h>
diff --git a/drivers/net/ethernet/dlink/dl2k.h b/drivers/net/ethernet/dlink/dl2k.h
index 8f4f61262d5c..5d8ae5320242 100644
--- a/drivers/net/ethernet/dlink/dl2k.h
+++ b/drivers/net/ethernet/dlink/dl2k.h
@@ -31,7 +31,7 @@
31#include <linux/bitops.h> 31#include <linux/bitops.h>
32#include <asm/processor.h> /* Processor type for cache alignment. */ 32#include <asm/processor.h> /* Processor type for cache alignment. */
33#include <asm/io.h> 33#include <asm/io.h>
34#include <asm/uaccess.h> 34#include <linux/uaccess.h>
35#include <linux/delay.h> 35#include <linux/delay.h>
36#include <linux/spinlock.h> 36#include <linux/spinlock.h>
37#include <linux/time.h> 37#include <linux/time.h>
diff --git a/drivers/net/ethernet/dlink/sundance.c b/drivers/net/ethernet/dlink/sundance.c
index eab36acfc0d1..2e5b66762e15 100644
--- a/drivers/net/ethernet/dlink/sundance.c
+++ b/drivers/net/ethernet/dlink/sundance.c
@@ -91,7 +91,7 @@ static char *media[MAX_UNITS];
91#include <linux/skbuff.h> 91#include <linux/skbuff.h>
92#include <linux/init.h> 92#include <linux/init.h>
93#include <linux/bitops.h> 93#include <linux/bitops.h>
94#include <asm/uaccess.h> 94#include <linux/uaccess.h>
95#include <asm/processor.h> /* Processor type for cache alignment. */ 95#include <asm/processor.h> /* Processor type for cache alignment. */
96#include <asm/io.h> 96#include <asm/io.h>
97#include <linux/delay.h> 97#include <linux/delay.h>
diff --git a/drivers/net/ethernet/fealnx.c b/drivers/net/ethernet/fealnx.c
index 6967b287b6e7..9cb436cb3745 100644
--- a/drivers/net/ethernet/fealnx.c
+++ b/drivers/net/ethernet/fealnx.c
@@ -88,7 +88,7 @@ static int full_duplex[MAX_UNITS] = { -1, -1, -1, -1, -1, -1, -1, -1 };
88 88
89#include <asm/processor.h> /* Processor type for cache alignment. */ 89#include <asm/processor.h> /* Processor type for cache alignment. */
90#include <asm/io.h> 90#include <asm/io.h>
91#include <asm/uaccess.h> 91#include <linux/uaccess.h>
92#include <asm/byteorder.h> 92#include <asm/byteorder.h>
93 93
94/* These identify the driver base version and may not be removed. */ 94/* These identify the driver base version and may not be removed. */
diff --git a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
index d9f3a480ca1b..1f98838f32b7 100644
--- a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
+++ b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
@@ -44,7 +44,7 @@
44#include <linux/vmalloc.h> 44#include <linux/vmalloc.h>
45#include <asm/pgtable.h> 45#include <asm/pgtable.h>
46#include <asm/irq.h> 46#include <asm/irq.h>
47#include <asm/uaccess.h> 47#include <linux/uaccess.h>
48 48
49#include "fs_enet.h" 49#include "fs_enet.h"
50 50
diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c b/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c
index 120c758f5d01..6e64989f8478 100644
--- a/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c
+++ b/drivers/net/ethernet/freescale/fs_enet/mac-fcc.c
@@ -42,7 +42,7 @@
42 42
43#include <asm/pgtable.h> 43#include <asm/pgtable.h>
44#include <asm/irq.h> 44#include <asm/irq.h>
45#include <asm/uaccess.h> 45#include <linux/uaccess.h>
46 46
47#include "fs_enet.h" 47#include "fs_enet.h"
48 48
diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-fec.c b/drivers/net/ethernet/freescale/fs_enet/mac-fec.c
index 777beffa1e1e..db9c0bcf54cd 100644
--- a/drivers/net/ethernet/freescale/fs_enet/mac-fec.c
+++ b/drivers/net/ethernet/freescale/fs_enet/mac-fec.c
@@ -36,7 +36,7 @@
36#include <linux/gfp.h> 36#include <linux/gfp.h>
37 37
38#include <asm/irq.h> 38#include <asm/irq.h>
39#include <asm/uaccess.h> 39#include <linux/uaccess.h>
40 40
41#ifdef CONFIG_8xx 41#ifdef CONFIG_8xx
42#include <asm/8xx_immap.h> 42#include <asm/8xx_immap.h>
diff --git a/drivers/net/ethernet/freescale/fs_enet/mac-scc.c b/drivers/net/ethernet/freescale/fs_enet/mac-scc.c
index 15abd37d70e3..96d44cf44fe0 100644
--- a/drivers/net/ethernet/freescale/fs_enet/mac-scc.c
+++ b/drivers/net/ethernet/freescale/fs_enet/mac-scc.c
@@ -35,7 +35,7 @@
35#include <linux/of_platform.h> 35#include <linux/of_platform.h>
36 36
37#include <asm/irq.h> 37#include <asm/irq.h>
38#include <asm/uaccess.h> 38#include <linux/uaccess.h>
39 39
40#ifdef CONFIG_8xx 40#ifdef CONFIG_8xx
41#include <asm/8xx_immap.h> 41#include <asm/8xx_immap.h>
diff --git a/drivers/net/ethernet/freescale/fs_enet/mii-fec.c b/drivers/net/ethernet/freescale/fs_enet/mii-fec.c
index a89267b94352..1582d82483ec 100644
--- a/drivers/net/ethernet/freescale/fs_enet/mii-fec.c
+++ b/drivers/net/ethernet/freescale/fs_enet/mii-fec.c
@@ -35,7 +35,7 @@
35 35
36#include <asm/pgtable.h> 36#include <asm/pgtable.h>
37#include <asm/irq.h> 37#include <asm/irq.h>
38#include <asm/uaccess.h> 38#include <linux/uaccess.h>
39#include <asm/mpc5xxx.h> 39#include <asm/mpc5xxx.h>
40 40
41#include "fs_enet.h" 41#include "fs_enet.h"
diff --git a/drivers/net/ethernet/freescale/gianfar.c b/drivers/net/ethernet/freescale/gianfar.c
index 756f7e763d5f..a6e7afa878be 100644
--- a/drivers/net/ethernet/freescale/gianfar.c
+++ b/drivers/net/ethernet/freescale/gianfar.c
@@ -93,7 +93,7 @@
93#include <asm/mpc85xx.h> 93#include <asm/mpc85xx.h>
94#endif 94#endif
95#include <asm/irq.h> 95#include <asm/irq.h>
96#include <asm/uaccess.h> 96#include <linux/uaccess.h>
97#include <linux/module.h> 97#include <linux/module.h>
98#include <linux/dma-mapping.h> 98#include <linux/dma-mapping.h>
99#include <linux/crc32.h> 99#include <linux/crc32.h>
diff --git a/drivers/net/ethernet/freescale/gianfar.h b/drivers/net/ethernet/freescale/gianfar.h
index 6e8a9c8467b9..5aa814799d70 100644
--- a/drivers/net/ethernet/freescale/gianfar.h
+++ b/drivers/net/ethernet/freescale/gianfar.h
@@ -40,7 +40,7 @@
40 40
41#include <asm/io.h> 41#include <asm/io.h>
42#include <asm/irq.h> 42#include <asm/irq.h>
43#include <asm/uaccess.h> 43#include <linux/uaccess.h>
44#include <linux/module.h> 44#include <linux/module.h>
45#include <linux/crc32.h> 45#include <linux/crc32.h>
46#include <linux/workqueue.h> 46#include <linux/workqueue.h>
diff --git a/drivers/net/ethernet/freescale/gianfar_ethtool.c b/drivers/net/ethernet/freescale/gianfar_ethtool.c
index 56588f2e1d91..a93e0199c369 100644
--- a/drivers/net/ethernet/freescale/gianfar_ethtool.c
+++ b/drivers/net/ethernet/freescale/gianfar_ethtool.c
@@ -32,7 +32,7 @@
32 32
33#include <asm/io.h> 33#include <asm/io.h>
34#include <asm/irq.h> 34#include <asm/irq.h>
35#include <asm/uaccess.h> 35#include <linux/uaccess.h>
36#include <linux/module.h> 36#include <linux/module.h>
37#include <linux/crc32.h> 37#include <linux/crc32.h>
38#include <asm/types.h> 38#include <asm/types.h>
diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c
index 53c5fcf1436c..9d660888510f 100644
--- a/drivers/net/ethernet/freescale/ucc_geth.c
+++ b/drivers/net/ethernet/freescale/ucc_geth.c
@@ -37,7 +37,7 @@
37#include <linux/of_net.h> 37#include <linux/of_net.h>
38#include <linux/of_platform.h> 38#include <linux/of_platform.h>
39 39
40#include <asm/uaccess.h> 40#include <linux/uaccess.h>
41#include <asm/irq.h> 41#include <asm/irq.h>
42#include <asm/io.h> 42#include <asm/io.h>
43#include <soc/fsl/qe/immap_qe.h> 43#include <soc/fsl/qe/immap_qe.h>
diff --git a/drivers/net/ethernet/freescale/ucc_geth_ethtool.c b/drivers/net/ethernet/freescale/ucc_geth_ethtool.c
index 8ba636f61b50..b642990b549c 100644
--- a/drivers/net/ethernet/freescale/ucc_geth_ethtool.c
+++ b/drivers/net/ethernet/freescale/ucc_geth_ethtool.c
@@ -32,7 +32,7 @@
32 32
33#include <asm/io.h> 33#include <asm/io.h>
34#include <asm/irq.h> 34#include <asm/irq.h>
35#include <asm/uaccess.h> 35#include <linux/uaccess.h>
36#include <asm/types.h> 36#include <asm/types.h>
37 37
38#include "ucc_geth.h" 38#include "ucc_geth.h"
diff --git a/drivers/net/ethernet/fujitsu/fmvj18x_cs.c b/drivers/net/ethernet/fujitsu/fmvj18x_cs.c
index 51c4abc51bf4..a69cd19a55ae 100644
--- a/drivers/net/ethernet/fujitsu/fmvj18x_cs.c
+++ b/drivers/net/ethernet/fujitsu/fmvj18x_cs.c
@@ -54,7 +54,7 @@
54#include <pcmcia/ciscode.h> 54#include <pcmcia/ciscode.h>
55#include <pcmcia/ds.h> 55#include <pcmcia/ds.h>
56 56
57#include <asm/uaccess.h> 57#include <linux/uaccess.h>
58#include <asm/io.h> 58#include <asm/io.h>
59 59
60/*====================================================================*/ 60/*====================================================================*/
diff --git a/drivers/net/ethernet/ibm/emac/core.c b/drivers/net/ethernet/ibm/emac/core.c
index 52a69c925965..5909615c27f7 100644
--- a/drivers/net/ethernet/ibm/emac/core.c
+++ b/drivers/net/ethernet/ibm/emac/core.c
@@ -47,7 +47,7 @@
47#include <asm/processor.h> 47#include <asm/processor.h>
48#include <asm/io.h> 48#include <asm/io.h>
49#include <asm/dma.h> 49#include <asm/dma.h>
50#include <asm/uaccess.h> 50#include <linux/uaccess.h>
51#include <asm/dcr.h> 51#include <asm/dcr.h>
52#include <asm/dcr-regs.h> 52#include <asm/dcr-regs.h>
53 53
diff --git a/drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c b/drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c
index d2b29b490ae0..e5d72559cca9 100644
--- a/drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c
+++ b/drivers/net/ethernet/intel/ixgb/ixgb_ethtool.c
@@ -30,7 +30,7 @@
30 30
31#include "ixgb.h" 31#include "ixgb.h"
32 32
33#include <asm/uaccess.h> 33#include <linux/uaccess.h>
34 34
35#define IXGB_ALL_RAR_ENTRIES 16 35#define IXGB_ALL_RAR_ENTRIES 16
36 36
diff --git a/drivers/net/ethernet/natsemi/natsemi.c b/drivers/net/ethernet/natsemi/natsemi.c
index 22b0821c1da0..90eac63f9606 100644
--- a/drivers/net/ethernet/natsemi/natsemi.c
+++ b/drivers/net/ethernet/natsemi/natsemi.c
@@ -51,7 +51,7 @@
51#include <asm/processor.h> /* Processor type for cache alignment. */ 51#include <asm/processor.h> /* Processor type for cache alignment. */
52#include <asm/io.h> 52#include <asm/io.h>
53#include <asm/irq.h> 53#include <asm/irq.h>
54#include <asm/uaccess.h> 54#include <linux/uaccess.h>
55 55
56#define DRV_NAME "natsemi" 56#define DRV_NAME "natsemi"
57#define DRV_VERSION "2.1" 57#define DRV_VERSION "2.1"
diff --git a/drivers/net/ethernet/natsemi/ns83820.c b/drivers/net/ethernet/natsemi/ns83820.c
index 93c4bdc0cdca..f9d2eb9a920a 100644
--- a/drivers/net/ethernet/natsemi/ns83820.c
+++ b/drivers/net/ethernet/natsemi/ns83820.c
@@ -119,7 +119,7 @@
119#include <linux/slab.h> 119#include <linux/slab.h>
120 120
121#include <asm/io.h> 121#include <asm/io.h>
122#include <asm/uaccess.h> 122#include <linux/uaccess.h>
123 123
124#define DRV_NAME "ns83820" 124#define DRV_NAME "ns83820"
125 125
diff --git a/drivers/net/ethernet/packetengines/hamachi.c b/drivers/net/ethernet/packetengines/hamachi.c
index 2d04679a923a..baff744b560e 100644
--- a/drivers/net/ethernet/packetengines/hamachi.c
+++ b/drivers/net/ethernet/packetengines/hamachi.c
@@ -160,7 +160,7 @@ static int tx_params[MAX_UNITS] = {-1, -1, -1, -1, -1, -1, -1, -1};
160#include <linux/delay.h> 160#include <linux/delay.h>
161#include <linux/bitops.h> 161#include <linux/bitops.h>
162 162
163#include <asm/uaccess.h> 163#include <linux/uaccess.h>
164#include <asm/processor.h> /* Processor type for cache alignment. */ 164#include <asm/processor.h> /* Processor type for cache alignment. */
165#include <asm/io.h> 165#include <asm/io.h>
166#include <asm/unaligned.h> 166#include <asm/unaligned.h>
diff --git a/drivers/net/ethernet/packetengines/yellowfin.c b/drivers/net/ethernet/packetengines/yellowfin.c
index 2a2ca5fa0c69..fa7770da6ef8 100644
--- a/drivers/net/ethernet/packetengines/yellowfin.c
+++ b/drivers/net/ethernet/packetengines/yellowfin.c
@@ -100,7 +100,7 @@ static int gx_fix;
100#include <linux/ethtool.h> 100#include <linux/ethtool.h>
101#include <linux/crc32.h> 101#include <linux/crc32.h>
102#include <linux/bitops.h> 102#include <linux/bitops.h>
103#include <asm/uaccess.h> 103#include <linux/uaccess.h>
104#include <asm/processor.h> /* Processor type for cache alignment. */ 104#include <asm/processor.h> /* Processor type for cache alignment. */
105#include <asm/unaligned.h> 105#include <asm/unaligned.h>
106#include <asm/io.h> 106#include <asm/io.h>
diff --git a/drivers/net/ethernet/realtek/8139cp.c b/drivers/net/ethernet/realtek/8139cp.c
index b7c89ebcf4a2..0b3cd58093d5 100644
--- a/drivers/net/ethernet/realtek/8139cp.c
+++ b/drivers/net/ethernet/realtek/8139cp.c
@@ -76,7 +76,7 @@
76#include <linux/cache.h> 76#include <linux/cache.h>
77#include <asm/io.h> 77#include <asm/io.h>
78#include <asm/irq.h> 78#include <asm/irq.h>
79#include <asm/uaccess.h> 79#include <linux/uaccess.h>
80 80
81/* These identify the driver base version and may not be removed. */ 81/* These identify the driver base version and may not be removed. */
82static char version[] = 82static char version[] =
diff --git a/drivers/net/ethernet/sgi/ioc3-eth.c b/drivers/net/ethernet/sgi/ioc3-eth.c
index 42051ab98cf0..d390b9663dc3 100644
--- a/drivers/net/ethernet/sgi/ioc3-eth.c
+++ b/drivers/net/ethernet/sgi/ioc3-eth.c
@@ -60,7 +60,7 @@
60#include <asm/byteorder.h> 60#include <asm/byteorder.h>
61#include <asm/io.h> 61#include <asm/io.h>
62#include <asm/pgtable.h> 62#include <asm/pgtable.h>
63#include <asm/uaccess.h> 63#include <linux/uaccess.h>
64#include <asm/sn/types.h> 64#include <asm/sn/types.h>
65#include <asm/sn/ioc3.h> 65#include <asm/sn/ioc3.h>
66#include <asm/pci/bridge.h> 66#include <asm/pci/bridge.h>
diff --git a/drivers/net/ethernet/sis/sis900.c b/drivers/net/ethernet/sis/sis900.c
index 39fca6c0b68d..19a458716f1a 100644
--- a/drivers/net/ethernet/sis/sis900.c
+++ b/drivers/net/ethernet/sis/sis900.c
@@ -74,7 +74,7 @@
74#include <asm/processor.h> /* Processor type for cache alignment. */ 74#include <asm/processor.h> /* Processor type for cache alignment. */
75#include <asm/io.h> 75#include <asm/io.h>
76#include <asm/irq.h> 76#include <asm/irq.h>
77#include <asm/uaccess.h> /* User space memory access functions */ 77#include <linux/uaccess.h> /* User space memory access functions */
78 78
79#include "sis900.h" 79#include "sis900.h"
80 80
diff --git a/drivers/net/ethernet/smsc/epic100.c b/drivers/net/ethernet/smsc/epic100.c
index fe9760ffab51..55a95e1d69d6 100644
--- a/drivers/net/ethernet/smsc/epic100.c
+++ b/drivers/net/ethernet/smsc/epic100.c
@@ -86,7 +86,7 @@ static int rx_copybreak;
86#include <linux/crc32.h> 86#include <linux/crc32.h>
87#include <linux/bitops.h> 87#include <linux/bitops.h>
88#include <asm/io.h> 88#include <asm/io.h>
89#include <asm/uaccess.h> 89#include <linux/uaccess.h>
90#include <asm/byteorder.h> 90#include <asm/byteorder.h>
91 91
92/* These identify the driver base version and may not be removed. */ 92/* These identify the driver base version and may not be removed. */
diff --git a/drivers/net/ethernet/smsc/smc91c92_cs.c b/drivers/net/ethernet/smsc/smc91c92_cs.c
index f1c75e291e55..67154621abcf 100644
--- a/drivers/net/ethernet/smsc/smc91c92_cs.c
+++ b/drivers/net/ethernet/smsc/smc91c92_cs.c
@@ -52,7 +52,7 @@
52#include <pcmcia/ss.h> 52#include <pcmcia/ss.h>
53 53
54#include <asm/io.h> 54#include <asm/io.h>
55#include <asm/uaccess.h> 55#include <linux/uaccess.h>
56 56
57/*====================================================================*/ 57/*====================================================================*/
58 58
diff --git a/drivers/net/ethernet/sun/cassini.c b/drivers/net/ethernet/sun/cassini.c
index e9e5ef241c6f..0e8e89f17dbb 100644
--- a/drivers/net/ethernet/sun/cassini.c
+++ b/drivers/net/ethernet/sun/cassini.c
@@ -99,7 +99,7 @@
99#include <linux/atomic.h> 99#include <linux/atomic.h>
100#include <asm/io.h> 100#include <asm/io.h>
101#include <asm/byteorder.h> 101#include <asm/byteorder.h>
102#include <asm/uaccess.h> 102#include <linux/uaccess.h>
103 103
104#define cas_page_map(x) kmap_atomic((x)) 104#define cas_page_map(x) kmap_atomic((x))
105#define cas_page_unmap(x) kunmap_atomic((x)) 105#define cas_page_unmap(x) kunmap_atomic((x))
diff --git a/drivers/net/ethernet/sun/sungem.c b/drivers/net/ethernet/sun/sungem.c
index 66ecf0fcc330..d277e4107976 100644
--- a/drivers/net/ethernet/sun/sungem.c
+++ b/drivers/net/ethernet/sun/sungem.c
@@ -42,7 +42,7 @@
42 42
43#include <asm/io.h> 43#include <asm/io.h>
44#include <asm/byteorder.h> 44#include <asm/byteorder.h>
45#include <asm/uaccess.h> 45#include <linux/uaccess.h>
46#include <asm/irq.h> 46#include <asm/irq.h>
47 47
48#ifdef CONFIG_SPARC 48#ifdef CONFIG_SPARC
diff --git a/drivers/net/ethernet/sun/sunhme.c b/drivers/net/ethernet/sun/sunhme.c
index ca96408058b0..72ff05cd3ed8 100644
--- a/drivers/net/ethernet/sun/sunhme.c
+++ b/drivers/net/ethernet/sun/sunhme.c
@@ -49,7 +49,7 @@
49#include <asm/prom.h> 49#include <asm/prom.h>
50#include <asm/auxio.h> 50#include <asm/auxio.h>
51#endif 51#endif
52#include <asm/uaccess.h> 52#include <linux/uaccess.h>
53 53
54#include <asm/pgtable.h> 54#include <asm/pgtable.h>
55#include <asm/irq.h> 55#include <asm/irq.h>
diff --git a/drivers/net/ethernet/via/via-rhine.c b/drivers/net/ethernet/via/via-rhine.c
index ba5c54249055..0a6c4e804eed 100644
--- a/drivers/net/ethernet/via/via-rhine.c
+++ b/drivers/net/ethernet/via/via-rhine.c
@@ -114,7 +114,7 @@ static const int multicast_filter_limit = 32;
114#include <asm/processor.h> /* Processor type for cache alignment. */ 114#include <asm/processor.h> /* Processor type for cache alignment. */
115#include <asm/io.h> 115#include <asm/io.h>
116#include <asm/irq.h> 116#include <asm/irq.h>
117#include <asm/uaccess.h> 117#include <linux/uaccess.h>
118#include <linux/dmi.h> 118#include <linux/dmi.h>
119 119
120/* These identify the driver base version and may not be removed. */ 120/* These identify the driver base version and may not be removed. */
diff --git a/drivers/net/ethernet/xircom/xirc2ps_cs.c b/drivers/net/ethernet/xircom/xirc2ps_cs.c
index 3b08ec766076..f71883264cc0 100644
--- a/drivers/net/ethernet/xircom/xirc2ps_cs.c
+++ b/drivers/net/ethernet/xircom/xirc2ps_cs.c
@@ -88,7 +88,7 @@
88#include <pcmcia/ciscode.h> 88#include <pcmcia/ciscode.h>
89 89
90#include <asm/io.h> 90#include <asm/io.h>
91#include <asm/uaccess.h> 91#include <linux/uaccess.h>
92 92
93#ifndef MANFID_COMPAQ 93#ifndef MANFID_COMPAQ
94 #define MANFID_COMPAQ 0x0138 94 #define MANFID_COMPAQ 0x0138
diff --git a/drivers/net/fddi/skfp/skfddi.c b/drivers/net/fddi/skfp/skfddi.c
index 3a639180e4a0..2414f1dc8ddd 100644
--- a/drivers/net/fddi/skfp/skfddi.c
+++ b/drivers/net/fddi/skfp/skfddi.c
@@ -88,7 +88,7 @@ static const char * const boot_msg =
88 88
89#include <asm/byteorder.h> 89#include <asm/byteorder.h>
90#include <asm/io.h> 90#include <asm/io.h>
91#include <asm/uaccess.h> 91#include <linux/uaccess.h>
92 92
93#include "h/types.h" 93#include "h/types.h"
94#undef ADDR // undo Linux definition 94#undef ADDR // undo Linux definition
diff --git a/drivers/net/hamradio/6pack.c b/drivers/net/hamradio/6pack.c
index 470b3dcd54e5..922bf440e9f1 100644
--- a/drivers/net/hamradio/6pack.c
+++ b/drivers/net/hamradio/6pack.c
@@ -13,7 +13,7 @@
13 */ 13 */
14 14
15#include <linux/module.h> 15#include <linux/module.h>
16#include <asm/uaccess.h> 16#include <linux/uaccess.h>
17#include <linux/bitops.h> 17#include <linux/bitops.h>
18#include <linux/string.h> 18#include <linux/string.h>
19#include <linux/mm.h> 19#include <linux/mm.h>
diff --git a/drivers/net/hamradio/baycom_epp.c b/drivers/net/hamradio/baycom_epp.c
index 78dbc44540f6..7d054697b199 100644
--- a/drivers/net/hamradio/baycom_epp.c
+++ b/drivers/net/hamradio/baycom_epp.c
@@ -55,7 +55,7 @@
55#include <linux/jiffies.h> 55#include <linux/jiffies.h>
56#include <linux/random.h> 56#include <linux/random.h>
57#include <net/ax25.h> 57#include <net/ax25.h>
58#include <asm/uaccess.h> 58#include <linux/uaccess.h>
59 59
60/* --------------------------------------------------------------------- */ 60/* --------------------------------------------------------------------- */
61 61
diff --git a/drivers/net/hamradio/baycom_par.c b/drivers/net/hamradio/baycom_par.c
index 072cddce9264..809dc25909d1 100644
--- a/drivers/net/hamradio/baycom_par.c
+++ b/drivers/net/hamradio/baycom_par.c
@@ -86,7 +86,7 @@
86#include <linux/bitops.h> 86#include <linux/bitops.h>
87#include <linux/jiffies.h> 87#include <linux/jiffies.h>
88 88
89#include <asm/uaccess.h> 89#include <linux/uaccess.h>
90 90
91/* --------------------------------------------------------------------- */ 91/* --------------------------------------------------------------------- */
92 92
diff --git a/drivers/net/hamradio/baycom_ser_fdx.c b/drivers/net/hamradio/baycom_ser_fdx.c
index 7b916d5b14b9..ebc06822fd4d 100644
--- a/drivers/net/hamradio/baycom_ser_fdx.c
+++ b/drivers/net/hamradio/baycom_ser_fdx.c
@@ -82,7 +82,7 @@
82#include <linux/jiffies.h> 82#include <linux/jiffies.h>
83#include <linux/time64.h> 83#include <linux/time64.h>
84 84
85#include <asm/uaccess.h> 85#include <linux/uaccess.h>
86#include <asm/io.h> 86#include <asm/io.h>
87#include <asm/irq.h> 87#include <asm/irq.h>
88 88
diff --git a/drivers/net/hamradio/baycom_ser_hdx.c b/drivers/net/hamradio/baycom_ser_hdx.c
index f9a8976195ba..60fcf512c208 100644
--- a/drivers/net/hamradio/baycom_ser_hdx.c
+++ b/drivers/net/hamradio/baycom_ser_hdx.c
@@ -67,7 +67,7 @@
67#include <linux/string.h> 67#include <linux/string.h>
68#include <linux/init.h> 68#include <linux/init.h>
69#include <linux/interrupt.h> 69#include <linux/interrupt.h>
70#include <asm/uaccess.h> 70#include <linux/uaccess.h>
71#include <asm/io.h> 71#include <asm/io.h>
72#include <linux/hdlcdrv.h> 72#include <linux/hdlcdrv.h>
73#include <linux/baycom.h> 73#include <linux/baycom.h>
diff --git a/drivers/net/hamradio/bpqether.c b/drivers/net/hamradio/bpqether.c
index 622ab3ab9e93..f62e7f325cf9 100644
--- a/drivers/net/hamradio/bpqether.c
+++ b/drivers/net/hamradio/bpqether.c
@@ -69,7 +69,7 @@
69#include <linux/if_arp.h> 69#include <linux/if_arp.h>
70#include <linux/skbuff.h> 70#include <linux/skbuff.h>
71#include <net/sock.h> 71#include <net/sock.h>
72#include <asm/uaccess.h> 72#include <linux/uaccess.h>
73#include <linux/mm.h> 73#include <linux/mm.h>
74#include <linux/interrupt.h> 74#include <linux/interrupt.h>
75#include <linux/notifier.h> 75#include <linux/notifier.h>
diff --git a/drivers/net/hamradio/dmascc.c b/drivers/net/hamradio/dmascc.c
index e4137c1b3df9..2479072981a1 100644
--- a/drivers/net/hamradio/dmascc.c
+++ b/drivers/net/hamradio/dmascc.c
@@ -40,7 +40,7 @@
40#include <asm/dma.h> 40#include <asm/dma.h>
41#include <asm/io.h> 41#include <asm/io.h>
42#include <asm/irq.h> 42#include <asm/irq.h>
43#include <asm/uaccess.h> 43#include <linux/uaccess.h>
44#include <net/ax25.h> 44#include <net/ax25.h>
45#include "z8530.h" 45#include "z8530.h"
46 46
diff --git a/drivers/net/hamradio/hdlcdrv.c b/drivers/net/hamradio/hdlcdrv.c
index 4bad0b894e9c..8c3633c1d078 100644
--- a/drivers/net/hamradio/hdlcdrv.c
+++ b/drivers/net/hamradio/hdlcdrv.c
@@ -58,7 +58,7 @@
58#include <linux/hdlcdrv.h> 58#include <linux/hdlcdrv.h>
59#include <linux/random.h> 59#include <linux/random.h>
60#include <net/ax25.h> 60#include <net/ax25.h>
61#include <asm/uaccess.h> 61#include <linux/uaccess.h>
62 62
63#include <linux/crc-ccitt.h> 63#include <linux/crc-ccitt.h>
64 64
diff --git a/drivers/net/hamradio/mkiss.c b/drivers/net/hamradio/mkiss.c
index 1dfe2304daa7..ece59c54a653 100644
--- a/drivers/net/hamradio/mkiss.c
+++ b/drivers/net/hamradio/mkiss.c
@@ -17,7 +17,7 @@
17 */ 17 */
18#include <linux/module.h> 18#include <linux/module.h>
19#include <linux/bitops.h> 19#include <linux/bitops.h>
20#include <asm/uaccess.h> 20#include <linux/uaccess.h>
21#include <linux/crc16.h> 21#include <linux/crc16.h>
22#include <linux/string.h> 22#include <linux/string.h>
23#include <linux/mm.h> 23#include <linux/mm.h>
diff --git a/drivers/net/hamradio/scc.c b/drivers/net/hamradio/scc.c
index b8083161ef46..6754cd01c605 100644
--- a/drivers/net/hamradio/scc.c
+++ b/drivers/net/hamradio/scc.c
@@ -178,7 +178,7 @@
178 178
179#include <asm/irq.h> 179#include <asm/irq.h>
180#include <asm/io.h> 180#include <asm/io.h>
181#include <asm/uaccess.h> 181#include <linux/uaccess.h>
182 182
183#include "z8530.h" 183#include "z8530.h"
184 184
diff --git a/drivers/net/hamradio/yam.c b/drivers/net/hamradio/yam.c
index aaff07c10058..b6891ada1d7b 100644
--- a/drivers/net/hamradio/yam.c
+++ b/drivers/net/hamradio/yam.c
@@ -68,7 +68,7 @@
68#include <linux/seq_file.h> 68#include <linux/seq_file.h>
69#include <net/net_namespace.h> 69#include <net/net_namespace.h>
70 70
71#include <asm/uaccess.h> 71#include <linux/uaccess.h>
72#include <linux/init.h> 72#include <linux/init.h>
73 73
74#include <linux/yam.h> 74#include <linux/yam.h>
diff --git a/drivers/net/hippi/rrunner.c b/drivers/net/hippi/rrunner.c
index f5a9728b89f3..dd7fc6659ad4 100644
--- a/drivers/net/hippi/rrunner.c
+++ b/drivers/net/hippi/rrunner.c
@@ -46,7 +46,7 @@
46#include <asm/byteorder.h> 46#include <asm/byteorder.h>
47#include <asm/io.h> 47#include <asm/io.h>
48#include <asm/irq.h> 48#include <asm/irq.h>
49#include <asm/uaccess.h> 49#include <linux/uaccess.h>
50 50
51#define rr_if_busy(dev) netif_queue_stopped(dev) 51#define rr_if_busy(dev) netif_queue_stopped(dev)
52#define rr_if_running(dev) netif_running(dev) 52#define rr_if_running(dev) netif_running(dev)
diff --git a/drivers/net/irda/irtty-sir.c b/drivers/net/irda/irtty-sir.c
index 7a3f990c1935..7a20a9a4663a 100644
--- a/drivers/net/irda/irtty-sir.c
+++ b/drivers/net/irda/irtty-sir.c
@@ -31,7 +31,7 @@
31#include <linux/slab.h> 31#include <linux/slab.h>
32#include <linux/tty.h> 32#include <linux/tty.h>
33#include <linux/init.h> 33#include <linux/init.h>
34#include <asm/uaccess.h> 34#include <linux/uaccess.h>
35#include <linux/delay.h> 35#include <linux/delay.h>
36#include <linux/mutex.h> 36#include <linux/mutex.h>
37 37
diff --git a/drivers/net/irda/kingsun-sir.c b/drivers/net/irda/kingsun-sir.c
index fb5d162ec7d2..24c0f169a7b1 100644
--- a/drivers/net/irda/kingsun-sir.c
+++ b/drivers/net/irda/kingsun-sir.c
@@ -71,7 +71,7 @@
71 71
72#include <asm/unaligned.h> 72#include <asm/unaligned.h>
73#include <asm/byteorder.h> 73#include <asm/byteorder.h>
74#include <asm/uaccess.h> 74#include <linux/uaccess.h>
75 75
76#include <net/irda/irda.h> 76#include <net/irda/irda.h>
77#include <net/irda/wrapper.h> 77#include <net/irda/wrapper.h>
diff --git a/drivers/net/irda/ks959-sir.c b/drivers/net/irda/ks959-sir.c
index 8e6e0edf2440..3affded3e30d 100644
--- a/drivers/net/irda/ks959-sir.c
+++ b/drivers/net/irda/ks959-sir.c
@@ -123,7 +123,7 @@
123 123
124#include <asm/unaligned.h> 124#include <asm/unaligned.h>
125#include <asm/byteorder.h> 125#include <asm/byteorder.h>
126#include <asm/uaccess.h> 126#include <linux/uaccess.h>
127 127
128#include <net/irda/irda.h> 128#include <net/irda/irda.h>
129#include <net/irda/wrapper.h> 129#include <net/irda/wrapper.h>
diff --git a/drivers/net/irda/ksdazzle-sir.c b/drivers/net/irda/ksdazzle-sir.c
index 37f23a189b35..741452c7ce35 100644
--- a/drivers/net/irda/ksdazzle-sir.c
+++ b/drivers/net/irda/ksdazzle-sir.c
@@ -87,7 +87,7 @@
87 87
88#include <asm/unaligned.h> 88#include <asm/unaligned.h>
89#include <asm/byteorder.h> 89#include <asm/byteorder.h>
90#include <asm/uaccess.h> 90#include <linux/uaccess.h>
91 91
92#include <net/irda/irda.h> 92#include <net/irda/irda.h>
93#include <net/irda/wrapper.h> 93#include <net/irda/wrapper.h>
diff --git a/drivers/net/irda/mcs7780.c b/drivers/net/irda/mcs7780.c
index bca6a1e72d1d..6f6ed75b63c9 100644
--- a/drivers/net/irda/mcs7780.c
+++ b/drivers/net/irda/mcs7780.c
@@ -55,7 +55,7 @@
55 55
56#include <asm/unaligned.h> 56#include <asm/unaligned.h>
57#include <asm/byteorder.h> 57#include <asm/byteorder.h>
58#include <asm/uaccess.h> 58#include <linux/uaccess.h>
59 59
60#include <net/irda/irda.h> 60#include <net/irda/irda.h>
61#include <net/irda/wrapper.h> 61#include <net/irda/wrapper.h>
diff --git a/drivers/net/irda/vlsi_ir.c b/drivers/net/irda/vlsi_ir.c
index a0849f49bbec..ffedad2a360a 100644
--- a/drivers/net/irda/vlsi_ir.c
+++ b/drivers/net/irda/vlsi_ir.c
@@ -45,7 +45,7 @@ MODULE_LICENSE("GPL");
45#include <linux/seq_file.h> 45#include <linux/seq_file.h>
46#include <linux/math64.h> 46#include <linux/math64.h>
47#include <linux/mutex.h> 47#include <linux/mutex.h>
48#include <asm/uaccess.h> 48#include <linux/uaccess.h>
49#include <asm/byteorder.h> 49#include <asm/byteorder.h>
50 50
51#include <net/irda/irda.h> 51#include <net/irda/irda.h>
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c
index 6255973e3dda..1e05b7c2d157 100644
--- a/drivers/net/loopback.c
+++ b/drivers/net/loopback.c
@@ -40,7 +40,7 @@
40#include <linux/fcntl.h> 40#include <linux/fcntl.h>
41#include <linux/in.h> 41#include <linux/in.h>
42 42
43#include <asm/uaccess.h> 43#include <linux/uaccess.h>
44#include <asm/io.h> 44#include <asm/io.h>
45 45
46#include <linux/inet.h> 46#include <linux/inet.h>
diff --git a/drivers/net/phy/davicom.c b/drivers/net/phy/davicom.c
index 36e3e2033eca..e28913d9ea7e 100644
--- a/drivers/net/phy/davicom.c
+++ b/drivers/net/phy/davicom.c
@@ -32,7 +32,7 @@
32 32
33#include <asm/io.h> 33#include <asm/io.h>
34#include <asm/irq.h> 34#include <asm/irq.h>
35#include <asm/uaccess.h> 35#include <linux/uaccess.h>
36 36
37#define MII_DM9161_SCR 0x10 37#define MII_DM9161_SCR 0x10
38#define MII_DM9161_SCR_INIT 0x0610 38#define MII_DM9161_SCR_INIT 0x0610
diff --git a/drivers/net/phy/icplus.c b/drivers/net/phy/icplus.c
index 22b51f01a94a..567280a72241 100644
--- a/drivers/net/phy/icplus.c
+++ b/drivers/net/phy/icplus.c
@@ -28,7 +28,7 @@
28 28
29#include <asm/io.h> 29#include <asm/io.h>
30#include <asm/irq.h> 30#include <asm/irq.h>
31#include <asm/uaccess.h> 31#include <linux/uaccess.h>
32 32
33MODULE_DESCRIPTION("ICPlus IP175C/IP101A/IP101G/IC1001 PHY drivers"); 33MODULE_DESCRIPTION("ICPlus IP175C/IP101A/IP101G/IC1001 PHY drivers");
34MODULE_AUTHOR("Michael Barkowski"); 34MODULE_AUTHOR("Michael Barkowski");
diff --git a/drivers/net/phy/lxt.c b/drivers/net/phy/lxt.c
index b9fde1bcf0f0..8d198a1f0031 100644
--- a/drivers/net/phy/lxt.c
+++ b/drivers/net/phy/lxt.c
@@ -32,7 +32,7 @@
32 32
33#include <asm/io.h> 33#include <asm/io.h>
34#include <asm/irq.h> 34#include <asm/irq.h>
35#include <asm/uaccess.h> 35#include <linux/uaccess.h>
36 36
37/* The Level one LXT970 is used by many boards */ 37/* The Level one LXT970 is used by many boards */
38 38
diff --git a/drivers/net/phy/qsemi.c b/drivers/net/phy/qsemi.c
index d470db89e8dd..dbef8002bc28 100644
--- a/drivers/net/phy/qsemi.c
+++ b/drivers/net/phy/qsemi.c
@@ -32,7 +32,7 @@
32 32
33#include <asm/io.h> 33#include <asm/io.h>
34#include <asm/irq.h> 34#include <asm/irq.h>
35#include <asm/uaccess.h> 35#include <linux/uaccess.h>
36 36
37/* ------------------------------------------------------------------------- */ 37/* ------------------------------------------------------------------------- */
38/* The Quality Semiconductor QS6612 is used on the RPX CLLF */ 38/* The Quality Semiconductor QS6612 is used on the RPX CLLF */
diff --git a/drivers/net/ppp/ppp_async.c b/drivers/net/ppp/ppp_async.c
index 9c889e0303dd..feb9569e3345 100644
--- a/drivers/net/ppp/ppp_async.c
+++ b/drivers/net/ppp/ppp_async.c
@@ -34,7 +34,7 @@
34#include <linux/jiffies.h> 34#include <linux/jiffies.h>
35#include <linux/slab.h> 35#include <linux/slab.h>
36#include <asm/unaligned.h> 36#include <asm/unaligned.h>
37#include <asm/uaccess.h> 37#include <linux/uaccess.h>
38#include <asm/string.h> 38#include <asm/string.h>
39 39
40#define PPP_VERSION "2.4.2" 40#define PPP_VERSION "2.4.2"
diff --git a/drivers/net/ppp/ppp_synctty.c b/drivers/net/ppp/ppp_synctty.c
index 925d3e295bac..9ae53986cb4a 100644
--- a/drivers/net/ppp/ppp_synctty.c
+++ b/drivers/net/ppp/ppp_synctty.c
@@ -47,7 +47,7 @@
47#include <linux/interrupt.h> 47#include <linux/interrupt.h>
48#include <linux/slab.h> 48#include <linux/slab.h>
49#include <asm/unaligned.h> 49#include <asm/unaligned.h>
50#include <asm/uaccess.h> 50#include <linux/uaccess.h>
51 51
52#define PPP_VERSION "2.4.2" 52#define PPP_VERSION "2.4.2"
53 53
diff --git a/drivers/net/ppp/pppoe.c b/drivers/net/ppp/pppoe.c
index f017c72bb7fd..d7e405268983 100644
--- a/drivers/net/ppp/pppoe.c
+++ b/drivers/net/ppp/pppoe.c
@@ -83,7 +83,7 @@
83#include <net/netns/generic.h> 83#include <net/netns/generic.h>
84#include <net/sock.h> 84#include <net/sock.h>
85 85
86#include <asm/uaccess.h> 86#include <linux/uaccess.h>
87 87
88#define PPPOE_HASH_BITS 4 88#define PPPOE_HASH_BITS 4
89#define PPPOE_HASH_SIZE (1 << PPPOE_HASH_BITS) 89#define PPPOE_HASH_SIZE (1 << PPPOE_HASH_BITS)
diff --git a/drivers/net/ppp/pppox.c b/drivers/net/ppp/pppox.c
index b9c8be6283d3..c0599b3b23c0 100644
--- a/drivers/net/ppp/pppox.c
+++ b/drivers/net/ppp/pppox.c
@@ -34,7 +34,7 @@
34 34
35#include <net/sock.h> 35#include <net/sock.h>
36 36
37#include <asm/uaccess.h> 37#include <linux/uaccess.h>
38 38
39static const struct pppox_proto *pppox_protos[PX_MAX_PROTO + 1]; 39static const struct pppox_proto *pppox_protos[PX_MAX_PROTO + 1];
40 40
diff --git a/drivers/net/sb1000.c b/drivers/net/sb1000.c
index 8b8b53259783..7820fced33f6 100644
--- a/drivers/net/sb1000.c
+++ b/drivers/net/sb1000.c
@@ -55,7 +55,7 @@ static char version[] = "sb1000.c:v1.1.2 6/01/98 (fventuri@mediaone.net)\n";
55 55
56#include <asm/io.h> 56#include <asm/io.h>
57#include <asm/processor.h> 57#include <asm/processor.h>
58#include <asm/uaccess.h> 58#include <linux/uaccess.h>
59 59
60#ifdef SB1000_DEBUG 60#ifdef SB1000_DEBUG
61static int sb1000_debug = SB1000_DEBUG; 61static int sb1000_debug = SB1000_DEBUG;
diff --git a/drivers/net/slip/slhc.c b/drivers/net/slip/slhc.c
index 27ed25252aac..5782733959f0 100644
--- a/drivers/net/slip/slhc.c
+++ b/drivers/net/slip/slhc.c
@@ -75,7 +75,7 @@
75#include <linux/skbuff.h> 75#include <linux/skbuff.h>
76#include <net/sock.h> 76#include <net/sock.h>
77#include <linux/timer.h> 77#include <linux/timer.h>
78#include <asm/uaccess.h> 78#include <linux/uaccess.h>
79#include <net/checksum.h> 79#include <net/checksum.h>
80#include <asm/unaligned.h> 80#include <asm/unaligned.h>
81 81
diff --git a/drivers/net/slip/slip.c b/drivers/net/slip/slip.c
index 7e933d8ff811..9841f3dc0682 100644
--- a/drivers/net/slip/slip.c
+++ b/drivers/net/slip/slip.c
@@ -64,7 +64,7 @@
64#include <linux/module.h> 64#include <linux/module.h>
65#include <linux/moduleparam.h> 65#include <linux/moduleparam.h>
66 66
67#include <asm/uaccess.h> 67#include <linux/uaccess.h>
68#include <linux/bitops.h> 68#include <linux/bitops.h>
69#include <linux/sched.h> 69#include <linux/sched.h>
70#include <linux/string.h> 70#include <linux/string.h>
diff --git a/drivers/net/tun.c b/drivers/net/tun.c
index 57e88b814700..cd8e02c94be0 100644
--- a/drivers/net/tun.c
+++ b/drivers/net/tun.c
@@ -73,7 +73,7 @@
73#include <linux/uio.h> 73#include <linux/uio.h>
74#include <linux/skb_array.h> 74#include <linux/skb_array.h>
75 75
76#include <asm/uaccess.h> 76#include <linux/uaccess.h>
77 77
78/* Uncomment to enable debugging */ 78/* Uncomment to enable debugging */
79/* #define TUN_DEBUG 1 */ 79/* #define TUN_DEBUG 1 */
diff --git a/drivers/net/usb/catc.c b/drivers/net/usb/catc.c
index a1f2f6f1e614..3daa41bdd4ea 100644
--- a/drivers/net/usb/catc.c
+++ b/drivers/net/usb/catc.c
@@ -42,7 +42,7 @@
42#include <linux/crc32.h> 42#include <linux/crc32.h>
43#include <linux/bitops.h> 43#include <linux/bitops.h>
44#include <linux/gfp.h> 44#include <linux/gfp.h>
45#include <asm/uaccess.h> 45#include <linux/uaccess.h>
46 46
47#undef DEBUG 47#undef DEBUG
48 48
diff --git a/drivers/net/usb/kaweth.c b/drivers/net/usb/kaweth.c
index 338aed5da14d..876f02f4945e 100644
--- a/drivers/net/usb/kaweth.c
+++ b/drivers/net/usb/kaweth.c
@@ -54,7 +54,7 @@
54#include <linux/dma-mapping.h> 54#include <linux/dma-mapping.h>
55#include <linux/wait.h> 55#include <linux/wait.h>
56#include <linux/firmware.h> 56#include <linux/firmware.h>
57#include <asm/uaccess.h> 57#include <linux/uaccess.h>
58#include <asm/byteorder.h> 58#include <asm/byteorder.h>
59 59
60#undef DEBUG 60#undef DEBUG
diff --git a/drivers/net/usb/pegasus.c b/drivers/net/usb/pegasus.c
index 399f7ee57aea..24e803fe9a53 100644
--- a/drivers/net/usb/pegasus.c
+++ b/drivers/net/usb/pegasus.c
@@ -42,7 +42,7 @@
42#include <linux/usb.h> 42#include <linux/usb.h>
43#include <linux/module.h> 43#include <linux/module.h>
44#include <asm/byteorder.h> 44#include <asm/byteorder.h>
45#include <asm/uaccess.h> 45#include <linux/uaccess.h>
46#include "pegasus.h" 46#include "pegasus.h"
47 47
48/* 48/*
diff --git a/drivers/net/usb/rtl8150.c b/drivers/net/usb/rtl8150.c
index 93a1bda1c1e5..95b7bd0d7abc 100644
--- a/drivers/net/usb/rtl8150.c
+++ b/drivers/net/usb/rtl8150.c
@@ -14,7 +14,7 @@
14#include <linux/mii.h> 14#include <linux/mii.h>
15#include <linux/ethtool.h> 15#include <linux/ethtool.h>
16#include <linux/usb.h> 16#include <linux/usb.h>
17#include <asm/uaccess.h> 17#include <linux/uaccess.h>
18 18
19/* Version Information */ 19/* Version Information */
20#define DRIVER_VERSION "v0.6.2 (2004/08/27)" 20#define DRIVER_VERSION "v0.6.2 (2004/08/27)"
diff --git a/drivers/net/wan/dlci.c b/drivers/net/wan/dlci.c
index ae6ecf401189..65ee2a6f248c 100644
--- a/drivers/net/wan/dlci.c
+++ b/drivers/net/wan/dlci.c
@@ -52,7 +52,7 @@
52 52
53#include <asm/io.h> 53#include <asm/io.h>
54#include <asm/dma.h> 54#include <asm/dma.h>
55#include <asm/uaccess.h> 55#include <linux/uaccess.h>
56 56
57static const char version[] = "DLCI driver v0.35, 4 Jan 1997, mike.mclagan@linux.org"; 57static const char version[] = "DLCI driver v0.35, 4 Jan 1997, mike.mclagan@linux.org";
58 58
diff --git a/drivers/net/wan/dscc4.c b/drivers/net/wan/dscc4.c
index 7351e5440ed7..799830ffcae2 100644
--- a/drivers/net/wan/dscc4.c
+++ b/drivers/net/wan/dscc4.c
@@ -95,7 +95,7 @@
95 95
96#include <asm/cache.h> 96#include <asm/cache.h>
97#include <asm/byteorder.h> 97#include <asm/byteorder.h>
98#include <asm/uaccess.h> 98#include <linux/uaccess.h>
99#include <asm/io.h> 99#include <asm/io.h>
100#include <asm/irq.h> 100#include <asm/irq.h>
101 101
diff --git a/drivers/net/wan/farsync.c b/drivers/net/wan/farsync.c
index 03696d35ee9c..33265eb50420 100644
--- a/drivers/net/wan/farsync.c
+++ b/drivers/net/wan/farsync.c
@@ -30,7 +30,7 @@
30#include <linux/if.h> 30#include <linux/if.h>
31#include <linux/hdlc.h> 31#include <linux/hdlc.h>
32#include <asm/io.h> 32#include <asm/io.h>
33#include <asm/uaccess.h> 33#include <linux/uaccess.h>
34 34
35#include "farsync.h" 35#include "farsync.h"
36 36
diff --git a/drivers/net/wan/hd64570.c b/drivers/net/wan/hd64570.c
index dc334c85d966..166696d2c496 100644
--- a/drivers/net/wan/hd64570.c
+++ b/drivers/net/wan/hd64570.c
@@ -39,7 +39,7 @@
39#include <linux/string.h> 39#include <linux/string.h>
40#include <linux/types.h> 40#include <linux/types.h>
41#include <asm/io.h> 41#include <asm/io.h>
42#include <asm/uaccess.h> 42#include <linux/uaccess.h>
43#include "hd64570.h" 43#include "hd64570.h"
44 44
45#define get_msci(port) (phy_node(port) ? MSCI1_OFFSET : MSCI0_OFFSET) 45#define get_msci(port) (phy_node(port) ? MSCI1_OFFSET : MSCI0_OFFSET)
diff --git a/drivers/net/wan/hd64572.c b/drivers/net/wan/hd64572.c
index e92ecf1d3314..7ef49dab6855 100644
--- a/drivers/net/wan/hd64572.c
+++ b/drivers/net/wan/hd64572.c
@@ -39,7 +39,7 @@
39#include <linux/string.h> 39#include <linux/string.h>
40#include <linux/types.h> 40#include <linux/types.h>
41#include <asm/io.h> 41#include <asm/io.h>
42#include <asm/uaccess.h> 42#include <linux/uaccess.h>
43#include "hd64572.h" 43#include "hd64572.h"
44 44
45#define NAPI_WEIGHT 16 45#define NAPI_WEIGHT 16
diff --git a/drivers/net/wan/lapbether.c b/drivers/net/wan/lapbether.c
index 6676607164d6..9df9ed62beff 100644
--- a/drivers/net/wan/lapbether.c
+++ b/drivers/net/wan/lapbether.c
@@ -35,7 +35,7 @@
35#include <linux/if_arp.h> 35#include <linux/if_arp.h>
36#include <linux/skbuff.h> 36#include <linux/skbuff.h>
37#include <net/sock.h> 37#include <net/sock.h>
38#include <asm/uaccess.h> 38#include <linux/uaccess.h>
39#include <linux/mm.h> 39#include <linux/mm.h>
40#include <linux/interrupt.h> 40#include <linux/interrupt.h>
41#include <linux/notifier.h> 41#include <linux/notifier.h>
diff --git a/drivers/net/wan/lmc/lmc_main.c b/drivers/net/wan/lmc/lmc_main.c
index 001b7796740d..4698450c77d1 100644
--- a/drivers/net/wan/lmc/lmc_main.c
+++ b/drivers/net/wan/lmc/lmc_main.c
@@ -59,7 +59,7 @@
59#include <asm/processor.h> /* Processor type for cache alignment. */ 59#include <asm/processor.h> /* Processor type for cache alignment. */
60#include <asm/io.h> 60#include <asm/io.h>
61#include <asm/dma.h> 61#include <asm/dma.h>
62#include <asm/uaccess.h> 62#include <linux/uaccess.h>
63//#include <asm/spinlock.h> 63//#include <asm/spinlock.h>
64 64
65#define DRIVER_MAJOR_VERSION 1 65#define DRIVER_MAJOR_VERSION 1
diff --git a/drivers/net/wan/lmc/lmc_media.c b/drivers/net/wan/lmc/lmc_media.c
index ff2e4a5654c7..cffe23bd16e1 100644
--- a/drivers/net/wan/lmc/lmc_media.c
+++ b/drivers/net/wan/lmc/lmc_media.c
@@ -19,7 +19,7 @@
19#include <asm/io.h> 19#include <asm/io.h>
20#include <asm/dma.h> 20#include <asm/dma.h>
21 21
22#include <asm/uaccess.h> 22#include <linux/uaccess.h>
23 23
24#include "lmc.h" 24#include "lmc.h"
25#include "lmc_var.h" 25#include "lmc_var.h"
diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c
index 3f83be98d469..3ca3419c54a0 100644
--- a/drivers/net/wan/sbni.c
+++ b/drivers/net/wan/sbni.c
@@ -63,7 +63,7 @@
63#include <asm/types.h> 63#include <asm/types.h>
64#include <asm/byteorder.h> 64#include <asm/byteorder.h>
65#include <asm/irq.h> 65#include <asm/irq.h>
66#include <asm/uaccess.h> 66#include <linux/uaccess.h>
67 67
68#include "sbni.h" 68#include "sbni.h"
69 69
diff --git a/drivers/net/wan/sdla.c b/drivers/net/wan/sdla.c
index 421ac5f85699..236c62538036 100644
--- a/drivers/net/wan/sdla.c
+++ b/drivers/net/wan/sdla.c
@@ -56,7 +56,7 @@
56 56
57#include <asm/io.h> 57#include <asm/io.h>
58#include <asm/dma.h> 58#include <asm/dma.h>
59#include <asm/uaccess.h> 59#include <linux/uaccess.h>
60 60
61static const char* version = "SDLA driver v0.30, 12 Sep 1996, mike.mclagan@linux.org"; 61static const char* version = "SDLA driver v0.30, 12 Sep 1996, mike.mclagan@linux.org";
62 62
diff --git a/drivers/net/wireless/atmel/atmel.c b/drivers/net/wireless/atmel/atmel.c
index eb92d5ab7a27..e12f62356fd1 100644
--- a/drivers/net/wireless/atmel/atmel.c
+++ b/drivers/net/wireless/atmel/atmel.c
@@ -48,7 +48,7 @@
48#include <linux/timer.h> 48#include <linux/timer.h>
49#include <asm/byteorder.h> 49#include <asm/byteorder.h>
50#include <asm/io.h> 50#include <asm/io.h>
51#include <asm/uaccess.h> 51#include <linux/uaccess.h>
52#include <linux/module.h> 52#include <linux/module.h>
53#include <linux/netdevice.h> 53#include <linux/netdevice.h>
54#include <linux/etherdevice.h> 54#include <linux/etherdevice.h>
diff --git a/drivers/net/wireless/intel/ipw2x00/ipw2100.c b/drivers/net/wireless/intel/ipw2x00/ipw2100.c
index 64176090b196..356aba9d3d53 100644
--- a/drivers/net/wireless/intel/ipw2x00/ipw2100.c
+++ b/drivers/net/wireless/intel/ipw2x00/ipw2100.c
@@ -148,7 +148,7 @@ that only one external action is invoked at a time.
148#include <linux/dma-mapping.h> 148#include <linux/dma-mapping.h>
149#include <linux/proc_fs.h> 149#include <linux/proc_fs.h>
150#include <linux/skbuff.h> 150#include <linux/skbuff.h>
151#include <asm/uaccess.h> 151#include <linux/uaccess.h>
152#include <asm/io.h> 152#include <asm/io.h>
153#include <linux/fs.h> 153#include <linux/fs.h>
154#include <linux/mm.h> 154#include <linux/mm.h>
diff --git a/drivers/net/wireless/intel/ipw2x00/libipw_geo.c b/drivers/net/wireless/intel/ipw2x00/libipw_geo.c
index 218f2a32de21..ce7eda20a68f 100644
--- a/drivers/net/wireless/intel/ipw2x00/libipw_geo.c
+++ b/drivers/net/wireless/intel/ipw2x00/libipw_geo.c
@@ -38,7 +38,7 @@
38#include <linux/types.h> 38#include <linux/types.h>
39#include <linux/wireless.h> 39#include <linux/wireless.h>
40#include <linux/etherdevice.h> 40#include <linux/etherdevice.h>
41#include <asm/uaccess.h> 41#include <linux/uaccess.h>
42 42
43#include "libipw.h" 43#include "libipw.h"
44 44
diff --git a/drivers/net/wireless/intel/ipw2x00/libipw_module.c b/drivers/net/wireless/intel/ipw2x00/libipw_module.c
index 2332075565f2..c58c5b2dcce5 100644
--- a/drivers/net/wireless/intel/ipw2x00/libipw_module.c
+++ b/drivers/net/wireless/intel/ipw2x00/libipw_module.c
@@ -46,7 +46,7 @@
46#include <linux/types.h> 46#include <linux/types.h>
47#include <linux/wireless.h> 47#include <linux/wireless.h>
48#include <linux/etherdevice.h> 48#include <linux/etherdevice.h>
49#include <asm/uaccess.h> 49#include <linux/uaccess.h>
50#include <net/net_namespace.h> 50#include <net/net_namespace.h>
51#include <net/arp.h> 51#include <net/arp.h>
52 52
diff --git a/drivers/net/wireless/intel/ipw2x00/libipw_rx.c b/drivers/net/wireless/intel/ipw2x00/libipw_rx.c
index 1c1ec7bb9302..6df19f03355a 100644
--- a/drivers/net/wireless/intel/ipw2x00/libipw_rx.c
+++ b/drivers/net/wireless/intel/ipw2x00/libipw_rx.c
@@ -29,7 +29,7 @@
29#include <linux/types.h> 29#include <linux/types.h>
30#include <linux/wireless.h> 30#include <linux/wireless.h>
31#include <linux/etherdevice.h> 31#include <linux/etherdevice.h>
32#include <asm/uaccess.h> 32#include <linux/uaccess.h>
33#include <linux/ctype.h> 33#include <linux/ctype.h>
34 34
35#include <net/lib80211.h> 35#include <net/lib80211.h>
diff --git a/drivers/net/wireless/intel/ipw2x00/libipw_tx.c b/drivers/net/wireless/intel/ipw2x00/libipw_tx.c
index e8c039879b05..048f1e3ada11 100644
--- a/drivers/net/wireless/intel/ipw2x00/libipw_tx.c
+++ b/drivers/net/wireless/intel/ipw2x00/libipw_tx.c
@@ -39,7 +39,7 @@
39#include <linux/types.h> 39#include <linux/types.h>
40#include <linux/wireless.h> 40#include <linux/wireless.h>
41#include <linux/etherdevice.h> 41#include <linux/etherdevice.h>
42#include <asm/uaccess.h> 42#include <linux/uaccess.h>
43 43
44#include "libipw.h" 44#include "libipw.h"
45 45
diff --git a/drivers/net/wireless/intersil/hostap/hostap_hw.c b/drivers/net/wireless/intersil/hostap/hostap_hw.c
index a8a9bd8e176a..544ef7adde7d 100644
--- a/drivers/net/wireless/intersil/hostap/hostap_hw.c
+++ b/drivers/net/wireless/intersil/hostap/hostap_hw.c
@@ -32,7 +32,7 @@
32 32
33 33
34#include <asm/delay.h> 34#include <asm/delay.h>
35#include <asm/uaccess.h> 35#include <linux/uaccess.h>
36 36
37#include <linux/slab.h> 37#include <linux/slab.h>
38#include <linux/netdevice.h> 38#include <linux/netdevice.h>
diff --git a/drivers/net/wireless/intersil/hostap/hostap_main.c b/drivers/net/wireless/intersil/hostap/hostap_main.c
index 1a16b8cb366e..544fc09dcb62 100644
--- a/drivers/net/wireless/intersil/hostap/hostap_main.c
+++ b/drivers/net/wireless/intersil/hostap/hostap_main.c
@@ -27,7 +27,7 @@
27#include <net/net_namespace.h> 27#include <net/net_namespace.h>
28#include <net/iw_handler.h> 28#include <net/iw_handler.h>
29#include <net/lib80211.h> 29#include <net/lib80211.h>
30#include <asm/uaccess.h> 30#include <linux/uaccess.h>
31 31
32#include "hostap_wlan.h" 32#include "hostap_wlan.h"
33#include "hostap_80211.h" 33#include "hostap_80211.h"
diff --git a/drivers/net/wireless/intersil/prism54/isl_38xx.c b/drivers/net/wireless/intersil/prism54/isl_38xx.c
index 6700387ef9ab..ce9d4db0d9ca 100644
--- a/drivers/net/wireless/intersil/prism54/isl_38xx.c
+++ b/drivers/net/wireless/intersil/prism54/isl_38xx.c
@@ -21,7 +21,7 @@
21#include <linux/delay.h> 21#include <linux/delay.h>
22#include <linux/ktime.h> 22#include <linux/ktime.h>
23 23
24#include <asm/uaccess.h> 24#include <linux/uaccess.h>
25#include <asm/io.h> 25#include <asm/io.h>
26 26
27#include "prismcompat.h" 27#include "prismcompat.h"
diff --git a/drivers/net/wireless/intersil/prism54/isl_ioctl.c b/drivers/net/wireless/intersil/prism54/isl_ioctl.c
index 48e8a978a832..334717b0a2be 100644
--- a/drivers/net/wireless/intersil/prism54/isl_ioctl.c
+++ b/drivers/net/wireless/intersil/prism54/isl_ioctl.c
@@ -26,7 +26,7 @@
26#include <linux/pci.h> 26#include <linux/pci.h>
27#include <linux/etherdevice.h> 27#include <linux/etherdevice.h>
28 28
29#include <asm/uaccess.h> 29#include <linux/uaccess.h>
30 30
31#include "prismcompat.h" 31#include "prismcompat.h"
32#include "isl_ioctl.h" 32#include "isl_ioctl.h"
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c
index 4fdc7223c894..b94479441b0c 100644
--- a/drivers/net/wireless/ray_cs.c
+++ b/drivers/net/wireless/ray_cs.c
@@ -53,7 +53,7 @@
53 53
54#include <asm/io.h> 54#include <asm/io.h>
55#include <asm/byteorder.h> 55#include <asm/byteorder.h>
56#include <asm/uaccess.h> 56#include <linux/uaccess.h>
57 57
58/* Warning : these stuff will slow down the driver... */ 58/* Warning : these stuff will slow down the driver... */
59#define WIRELESS_SPY /* Enable spying addresses */ 59#define WIRELESS_SPY /* Enable spying addresses */
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c
index d9d29ab88184..acec0d9ec422 100644
--- a/drivers/net/wireless/wl3501_cs.c
+++ b/drivers/net/wireless/wl3501_cs.c
@@ -51,7 +51,7 @@
51#include <pcmcia/ds.h> 51#include <pcmcia/ds.h>
52 52
53#include <asm/io.h> 53#include <asm/io.h>
54#include <asm/uaccess.h> 54#include <linux/uaccess.h>
55 55
56#include "wl3501.h" 56#include "wl3501.h"
57 57