diff options
Diffstat (limited to 'drivers/net')
84 files changed, 84 insertions, 0 deletions
diff --git a/drivers/net/ag7xxx.c b/drivers/net/ag7xxx.c index 38f3cbac73..0fe140cf6e 100644 --- a/drivers/net/ag7xxx.c +++ b/drivers/net/ag7xxx.c @@ -17,6 +17,7 @@ #include <net.h> #include <asm/cache.h> #include <linux/compiler.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/mii.h> #include <wait_bit.h> diff --git a/drivers/net/armada100_fec.c b/drivers/net/armada100_fec.c index 828f978f73..3ee119bcbc 100644 --- a/drivers/net/armada100_fec.c +++ b/drivers/net/armada100_fec.c @@ -17,6 +17,7 @@ #include <netdev.h> #include <asm/types.h> #include <asm/byteorder.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/mii.h> #include <asm/io.h> diff --git a/drivers/net/at91_emac.c b/drivers/net/at91_emac.c index fc227edea7..4e4ad61da4 100644 --- a/drivers/net/at91_emac.c +++ b/drivers/net/at91_emac.c @@ -18,6 +18,7 @@ #include <netdev.h> #include <malloc.h> #include <miiphy.h> +#include <linux/delay.h> #include <linux/mii.h> #undef MII_DEBUG diff --git a/drivers/net/ax88180.c b/drivers/net/ax88180.c index 2715653cd4..28cb41272a 100644 --- a/drivers/net/ax88180.c +++ b/drivers/net/ax88180.c @@ -42,6 +42,7 @@ #include <log.h> #include <net.h> #include <malloc.h> +#include <linux/delay.h> #include <linux/mii.h> #include "ax88180.h" diff --git a/drivers/net/ax88796.c b/drivers/net/ax88796.c index 01c1ae2729..d161f0e09c 100644 --- a/drivers/net/ax88796.c +++ b/drivers/net/ax88796.c @@ -3,6 +3,7 @@ * (c) 2007 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> */ #include <common.h> +#include <linux/delay.h> #include "ax88796.h" /* diff --git a/drivers/net/bcm-sf2-eth-gmac.c b/drivers/net/bcm-sf2-eth-gmac.c index eaadb2662a..f57861e870 100644 --- a/drivers/net/bcm-sf2-eth-gmac.c +++ b/drivers/net/bcm-sf2-eth-gmac.c @@ -18,6 +18,7 @@ #include <asm/cache.h> #include <asm/io.h> #include <phy.h> +#include <linux/delay.h> #include "bcm-sf2-eth.h" #include "bcm-sf2-eth-gmac.h" diff --git a/drivers/net/bcm-sf2-eth.c b/drivers/net/bcm-sf2-eth.c index c8393c5f50..2998d57c72 100644 --- a/drivers/net/bcm-sf2-eth.c +++ b/drivers/net/bcm-sf2-eth.c @@ -8,6 +8,7 @@ #include <malloc.h> #include <net.h> #include <config.h> +#include <linux/delay.h> #include <phy.h> #include <miiphy.h> diff --git a/drivers/net/bcm6368-eth.c b/drivers/net/bcm6368-eth.c index db573c0831..648fafd3e0 100644 --- a/drivers/net/bcm6368-eth.c +++ b/drivers/net/bcm6368-eth.c @@ -18,6 +18,7 @@ #include <wait_bit.h> #include <asm/io.h> #include <dm/device_compat.h> +#include <linux/delay.h> #define ETH_PORT_STR "brcm,enetsw-port" diff --git a/drivers/net/bcmgenet.c b/drivers/net/bcmgenet.c index 1ef8e8e8b8..d09f17d994 100644 --- a/drivers/net/bcmgenet.c +++ b/drivers/net/bcmgenet.c @@ -23,6 +23,7 @@ #include <cpu_func.h> #include <dm.h> #include <fdt_support.h> +#include <linux/delay.h> #include <linux/err.h> #include <malloc.h> #include <miiphy.h> diff --git a/drivers/net/calxedaxgmac.c b/drivers/net/calxedaxgmac.c index 0dd64e4582..5dad69c0b7 100644 --- a/drivers/net/calxedaxgmac.c +++ b/drivers/net/calxedaxgmac.c @@ -7,6 +7,7 @@ #include <malloc.h> #include <net.h> #include <linux/compiler.h> +#include <linux/delay.h> #include <linux/err.h> #include <asm/io.h> diff --git a/drivers/net/cs8900.c b/drivers/net/cs8900.c index f840e11421..7ec95be6fc 100644 --- a/drivers/net/cs8900.c +++ b/drivers/net/cs8900.c @@ -29,6 +29,7 @@ #include <asm/io.h> #include <net.h> #include <malloc.h> +#include <linux/delay.h> #include "cs8900.h" #undef DEBUG diff --git a/drivers/net/dc2114x.c b/drivers/net/dc2114x.c index d008696b0f..611a8c4b9e 100644 --- a/drivers/net/dc2114x.c +++ b/drivers/net/dc2114x.c @@ -6,6 +6,7 @@ #include <net.h> #include <netdev.h> #include <pci.h> +#include <linux/delay.h> #define SROM_DLEVEL 0 diff --git a/drivers/net/designware.c b/drivers/net/designware.c index 1eda9c3800..b89a68afe4 100644 --- a/drivers/net/designware.c +++ b/drivers/net/designware.c @@ -23,6 +23,7 @@ #include <dm/device_compat.h> #include <dm/devres.h> #include <linux/compiler.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/kernel.h> #include <asm/io.h> diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c index a6c0a2452f..d575a62592 100644 --- a/drivers/net/dm9000x.c +++ b/drivers/net/dm9000x.c @@ -54,6 +54,7 @@ TODO: external MII is not functional, only internal at the moment. #include <net.h> #include <asm/io.h> #include <dm9000.h> +#include <linux/delay.h> #include "dm9000x.h" diff --git a/drivers/net/dnet.c b/drivers/net/dnet.c index 35c2ed9fe0..98e9b2c663 100644 --- a/drivers/net/dnet.c +++ b/drivers/net/dnet.c @@ -10,6 +10,7 @@ #include <common.h> #include <log.h> +#include <linux/delay.h> #ifndef CONFIG_DNET_AUTONEG_TIMEOUT #define CONFIG_DNET_AUTONEG_TIMEOUT 5000000 /* default value */ diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c index 1cf1ff59eb..789ac2e818 100644 --- a/drivers/net/dwc_eth_qos.c +++ b/drivers/net/dwc_eth_qos.c @@ -48,6 +48,7 @@ #include <asm/arch/clock.h> #include <asm/mach-imx/sys_proto.h> #endif +#include <linux/delay.h> /* Core registers */ diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index 6c1358568a..008da4ab3e 100644 --- a/drivers/net/e1000.c +++ b/drivers/net/e1000.c @@ -39,6 +39,7 @@ tested on both gig copper and gig fiber boards #include <memalign.h> #include <net.h> #include <pci.h> +#include <linux/delay.h> #include "e1000.h" #include <asm/cache.h> diff --git a/drivers/net/e1000_spi.c b/drivers/net/e1000_spi.c index dcb561ff79..4fcc65d978 100644 --- a/drivers/net/e1000_spi.c +++ b/drivers/net/e1000_spi.c @@ -1,6 +1,7 @@ #include <common.h> #include <command.h> #include <console.h> +#include <linux/delay.h> #include "e1000.h" #include <malloc.h> #include <linux/compiler.h> diff --git a/drivers/net/eepro100.c b/drivers/net/eepro100.c index 36a9d4d91c..e186ab4e5f 100644 --- a/drivers/net/eepro100.c +++ b/drivers/net/eepro100.c @@ -11,6 +11,7 @@ #include <asm/io.h> #include <pci.h> #include <miiphy.h> +#include <linux/delay.h> #undef DEBUG diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 4c6eb640d4..9ae2db033e 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -18,6 +18,7 @@ #include <net.h> #include <netdev.h> #include <asm/cache.h> +#include <linux/delay.h> #include <power/regulator.h> #include <asm/io.h> diff --git a/drivers/net/fm/dtsec.c b/drivers/net/fm/dtsec.c index 4c78a4d63f..c51a65cb94 100644 --- a/drivers/net/fm/dtsec.c +++ b/drivers/net/fm/dtsec.c @@ -9,6 +9,7 @@ #include <fsl_dtsec.h> #include <fsl_mdio.h> #include <phy.h> +#include <linux/delay.h> #include "fm.h" diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index f3ce2ac40c..81a4cf2129 100644 --- a/drivers/net/fm/eth.c +++ b/drivers/net/fm/eth.c @@ -24,6 +24,7 @@ #include <fsl_dtsec.h> #include <fsl_tgec.h> #include <fsl_memac.h> +#include <linux/delay.h> #include "fm.h" diff --git a/drivers/net/fm/tgec.c b/drivers/net/fm/tgec.c index 9f2f6f6d5b..9cc9f3fde3 100644 --- a/drivers/net/fm/tgec.c +++ b/drivers/net/fm/tgec.c @@ -12,6 +12,7 @@ #include <asm/types.h> #include <asm/io.h> #include <fsl_tgec.h> +#include <linux/delay.h> #include "fm.h" diff --git a/drivers/net/fsl-mc/mc.c b/drivers/net/fsl-mc/mc.c index 3b44abcd94..1c034273b7 100644 --- a/drivers/net/fsl-mc/mc.c +++ b/drivers/net/fsl-mc/mc.c @@ -13,6 +13,7 @@ #include <malloc.h> #include <linux/bug.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/libfdt.h> #include <net.h> #include <fdt_support.h> diff --git a/drivers/net/fsl-mc/mc_sys.c b/drivers/net/fsl-mc/mc_sys.c index fddf5cb023..b5ae2ea3eb 100644 --- a/drivers/net/fsl-mc/mc_sys.c +++ b/drivers/net/fsl-mc/mc_sys.c @@ -11,6 +11,7 @@ #include <common.h> #include <errno.h> #include <asm/io.h> +#include <linux/delay.h> #define MC_CMD_HDR_READ_CMDID(_hdr) \ ((uint16_t)mc_dec((_hdr), MC_CMD_HDR_CMDID_O, MC_CMD_HDR_CMDID_S)) diff --git a/drivers/net/fsl_enetc.c b/drivers/net/fsl_enetc.c index b47b27210c..2929ae7209 100644 --- a/drivers/net/fsl_enetc.c +++ b/drivers/net/fsl_enetc.c @@ -16,6 +16,7 @@ #include <pci.h> #include <miiphy.h> #include <linux/bug.h> +#include <linux/delay.h> #include "fsl_enetc.h" diff --git a/drivers/net/fsl_mcdmafec.c b/drivers/net/fsl_mcdmafec.c index 45954cecb6..73e92b7a0d 100644 --- a/drivers/net/fsl_mcdmafec.c +++ b/drivers/net/fsl_mcdmafec.c @@ -18,6 +18,7 @@ #include <config.h> #include <net.h> #include <miiphy.h> +#include <linux/delay.h> #include <linux/mii.h> #include <asm/immap.h> #include <asm/fsl_mcdmafec.h> diff --git a/drivers/net/ftmac100.c b/drivers/net/ftmac100.c index 24bb45f351..4aae7c43fe 100644 --- a/drivers/net/ftmac100.c +++ b/drivers/net/ftmac100.c @@ -12,6 +12,7 @@ #include <env.h> #include <malloc.h> #include <net.h> +#include <linux/delay.h> #include <linux/io.h> #include "ftmac100.h" diff --git a/drivers/net/higmacv300.c b/drivers/net/higmacv300.c index ea9f9470c8..1ec98644c9 100644 --- a/drivers/net/higmacv300.c +++ b/drivers/net/higmacv300.c @@ -11,6 +11,7 @@ #include <common.h> #include <console.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/mii.h> #include <miiphy.h> #include <net.h> diff --git a/drivers/net/ks8851_mll.c b/drivers/net/ks8851_mll.c index 8fcb63d1a6..6643d1e9c1 100644 --- a/drivers/net/ks8851_mll.c +++ b/drivers/net/ks8851_mll.c @@ -11,6 +11,7 @@ #include <malloc.h> #include <net.h> #include <miiphy.h> +#include <linux/delay.h> #include "ks8851_mll.h" diff --git a/drivers/net/lan91c96.c b/drivers/net/lan91c96.c index 1989b66a48..13900f10b1 100644 --- a/drivers/net/lan91c96.c +++ b/drivers/net/lan91c96.c @@ -48,6 +48,7 @@ #include <command.h> #include <env.h> #include <malloc.h> +#include <linux/delay.h> #include "lan91c96.h" #include <net.h> #include <linux/compiler.h> diff --git a/drivers/net/ldpaa_eth/ldpaa_eth.c b/drivers/net/ldpaa_eth/ldpaa_eth.c index 66bfafe217..116b307b67 100644 --- a/drivers/net/ldpaa_eth/ldpaa_eth.c +++ b/drivers/net/ldpaa_eth/ldpaa_eth.c @@ -17,6 +17,7 @@ #include <linux/bug.h> #include <linux/compat.h> #include <fsl-mc/fsl_dpmac.h> +#include <linux/delay.h> #include <fsl-mc/ldpaa_wriop.h> #include "ldpaa_eth.h" diff --git a/drivers/net/lpc32xx_eth.c b/drivers/net/lpc32xx_eth.c index 604f676bff..f68daaaff5 100644 --- a/drivers/net/lpc32xx_eth.c +++ b/drivers/net/lpc32xx_eth.c @@ -12,6 +12,7 @@ #include <malloc.h> #include <miiphy.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/types.h> #include <asm/system.h> diff --git a/drivers/net/macb.c b/drivers/net/macb.c index ddd1c06059..424ca59707 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -7,6 +7,7 @@ #include <cpu_func.h> #include <dm.h> #include <log.h> +#include <linux/delay.h> /* * The u-boot networking stack is a little weird. It seems like the diff --git a/drivers/net/mcffec.c b/drivers/net/mcffec.c index 8caf0ba6b1..697549301f 100644 --- a/drivers/net/mcffec.c +++ b/drivers/net/mcffec.c @@ -19,6 +19,7 @@ #include <miiphy.h> #include <asm/fec.h> #include <asm/immap.h> +#include <linux/delay.h> #include <linux/mii.h> #undef ET_DEBUG diff --git a/drivers/net/mcfmii.c b/drivers/net/mcfmii.c index 3b8ee07c13..393605512d 100644 --- a/drivers/net/mcfmii.c +++ b/drivers/net/mcfmii.c @@ -8,6 +8,7 @@ #include <config.h> #include <net.h> #include <netdev.h> +#include <linux/delay.h> #ifdef CONFIG_MCF547x_8x #include <asm/fsl_mcdmafec.h> diff --git a/drivers/net/mpc8xx_fec.c b/drivers/net/mpc8xx_fec.c index 69b2174ab3..f9f7dd7cb3 100644 --- a/drivers/net/mpc8xx_fec.c +++ b/drivers/net/mpc8xx_fec.c @@ -12,6 +12,7 @@ #include <netdev.h> #include <asm/cpm_8xx.h> #include <asm/io.h> +#include <linux/delay.h> #include <phy.h> #include <linux/mii.h> diff --git a/drivers/net/mscc_eswitch/jr2_switch.c b/drivers/net/mscc_eswitch/jr2_switch.c index 33dd002146..76823c618e 100644 --- a/drivers/net/mscc_eswitch/jr2_switch.c +++ b/drivers/net/mscc_eswitch/jr2_switch.c @@ -10,6 +10,7 @@ #include <dm/of_access.h> #include <dm/of_addr.h> #include <fdt_support.h> +#include <linux/delay.h> #include <linux/io.h> #include <linux/ioport.h> #include <miiphy.h> diff --git a/drivers/net/mscc_eswitch/mscc_xfer.c b/drivers/net/mscc_eswitch/mscc_xfer.c index 447b53782d..01eb204db8 100644 --- a/drivers/net/mscc_eswitch/mscc_xfer.c +++ b/drivers/net/mscc_eswitch/mscc_xfer.c @@ -4,6 +4,7 @@ */ #include <log.h> +#include <linux/delay.h> #include <linux/io.h> #include "mscc_xfer.h" diff --git a/drivers/net/mt7628-eth.c b/drivers/net/mt7628-eth.c index 8110af2d82..a2e022db35 100644 --- a/drivers/net/mt7628-eth.c +++ b/drivers/net/mt7628-eth.c @@ -25,6 +25,7 @@ #include <asm/cache.h> #include <asm/io.h> #include <linux/bitfield.h> +#include <linux/delay.h> #include <linux/err.h> /* Ethernet frame engine register */ diff --git a/drivers/net/mtk_eth.c b/drivers/net/mtk_eth.c index c0cabd9b36..86f1360ae3 100644 --- a/drivers/net/mtk_eth.c +++ b/drivers/net/mtk_eth.c @@ -21,6 +21,7 @@ #include <asm/gpio.h> #include <asm/io.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/ioport.h> #include <linux/mdio.h> diff --git a/drivers/net/mvgbe.c b/drivers/net/mvgbe.c index b661cd38f9..7974dfc78d 100644 --- a/drivers/net/mvgbe.c +++ b/drivers/net/mvgbe.c @@ -19,6 +19,7 @@ #include <miiphy.h> #include <wait_bit.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/types.h> #include <asm/system.h> diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c index f593aa6508..f9aef17f7e 100644 --- a/drivers/net/mvneta.c +++ b/drivers/net/mvneta.c @@ -25,6 +25,7 @@ #include <dm/device_compat.h> #include <dm/devres.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/errno.h> #include <phy.h> #include <miiphy.h> diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c index 83914286e8..ebe67e45ab 100644 --- a/drivers/net/mvpp2.c +++ b/drivers/net/mvpp2.c @@ -27,6 +27,7 @@ #include <malloc.h> #include <asm/io.h> #include <linux/bug.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/errno.h> #include <phy.h> diff --git a/drivers/net/natsemi.c b/drivers/net/natsemi.c index 86f689802e..bf6fa8f2ba 100644 --- a/drivers/net/natsemi.c +++ b/drivers/net/natsemi.c @@ -56,6 +56,7 @@ #include <netdev.h> #include <asm/io.h> #include <pci.h> +#include <linux/delay.h> /* defines */ #define EEPROM_SIZE 0xb /*12 16-bit chunks, or 24 bytes*/ diff --git a/drivers/net/ne2000.c b/drivers/net/ne2000.c index e6cd3e9ba0..28a99bb8c4 100644 --- a/drivers/net/ne2000.c +++ b/drivers/net/ne2000.c @@ -74,6 +74,7 @@ Add SNMP #include <common.h> #include <command.h> +#include <linux/delay.h> /* NE2000 base header file */ #include "ne2000_base.h" diff --git a/drivers/net/ne2000_base.h b/drivers/net/ne2000_base.h index eee0956fdb..2493608a5a 100644 --- a/drivers/net/ne2000_base.h +++ b/drivers/net/ne2000_base.h @@ -106,6 +106,7 @@ are GPL, so this is, of course, GPL. #endif /* timeout for tx/rx in s */ +#include <linux/delay.h> #define TOUT 5 /* Ether MAC address size */ #define ETHER_ADDR_LEN 6 diff --git a/drivers/net/ns8382x.c b/drivers/net/ns8382x.c index 9ef3baed1d..c292abad07 100644 --- a/drivers/net/ns8382x.c +++ b/drivers/net/ns8382x.c @@ -57,6 +57,7 @@ #include <netdev.h> #include <asm/io.h> #include <pci.h> +#include <linux/delay.h> /* defines */ #define DSIZE 0x00000FFF diff --git a/drivers/net/pch_gbe.c b/drivers/net/pch_gbe.c index a592ec07da..1daafbe2b9 100644 --- a/drivers/net/pch_gbe.c +++ b/drivers/net/pch_gbe.c @@ -14,6 +14,7 @@ #include <asm/io.h> #include <pci.h> #include <miiphy.h> +#include <linux/delay.h> #include "pch_gbe.h" #if !defined(CONFIG_PHYLIB) diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c index 39cce05293..260a5a38cf 100644 --- a/drivers/net/pcnet.c +++ b/drivers/net/pcnet.c @@ -15,6 +15,7 @@ #include <asm/cache.h> #include <asm/io.h> #include <pci.h> +#include <linux/delay.h> #define PCNET_DEBUG_LEVEL 0 /* 0=off, 1=init, 2=rx/tx */ diff --git a/drivers/net/pfe_eth/pfe_cmd.c b/drivers/net/pfe_eth/pfe_cmd.c index 66c8cca4d2..1e69525cb7 100644 --- a/drivers/net/pfe_eth/pfe_cmd.c +++ b/drivers/net/pfe_eth/pfe_cmd.c @@ -12,6 +12,7 @@ #include <common.h> #include <command.h> #include <log.h> +#include <linux/delay.h> #include <net/pfe_eth/pfe_eth.h> static inline void pfe_command_help(void) diff --git a/drivers/net/pfe_eth/pfe_driver.c b/drivers/net/pfe_eth/pfe_driver.c index e5edfbeaa6..6f443b4ea8 100644 --- a/drivers/net/pfe_eth/pfe_driver.c +++ b/drivers/net/pfe_eth/pfe_driver.c @@ -6,6 +6,7 @@ #include <log.h> #include <malloc.h> +#include <linux/delay.h> #include <net/pfe_eth/pfe_eth.h> #include <net/pfe_eth/pfe_firmware.h> diff --git a/drivers/net/pfe_eth/pfe_eth.c b/drivers/net/pfe_eth/pfe_eth.c index 4aa5ac4be6..718e24f14d 100644 --- a/drivers/net/pfe_eth/pfe_eth.c +++ b/drivers/net/pfe_eth/pfe_eth.c @@ -10,6 +10,7 @@ #include <malloc.h> #include <dm/platform_data/pfe_dm_eth.h> #include <net.h> +#include <linux/delay.h> #include <net/pfe_eth/pfe_eth.h> #include <net/pfe_eth/pfe_mdio.h> diff --git a/drivers/net/pfe_eth/pfe_mdio.c b/drivers/net/pfe_eth/pfe_mdio.c index 2f88f5d8bc..3228b8df49 100644 --- a/drivers/net/pfe_eth/pfe_mdio.c +++ b/drivers/net/pfe_eth/pfe_mdio.c @@ -9,6 +9,7 @@ #include <malloc.h> #include <dm/platform_data/pfe_dm_eth.h> #include <net.h> +#include <linux/delay.h> #include <net/pfe_eth/pfe_eth.h> extern struct gemac_s gem_info[]; diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c index 75396dec95..8b1cad8540 100644 --- a/drivers/net/phy/aquantia.c +++ b/drivers/net/phy/aquantia.c @@ -11,6 +11,7 @@ #include <log.h> #include <net.h> #include <phy.h> +#include <linux/delay.h> #include <u-boot/crc.h> #include <malloc.h> #include <asm/byteorder.h> diff --git a/drivers/net/phy/b53.c b/drivers/net/phy/b53.c index f039f895c8..25dbf215b4 100644 --- a/drivers/net/phy/b53.c +++ b/drivers/net/phy/b53.c @@ -24,6 +24,7 @@ #include <common.h> #include <command.h> +#include <linux/delay.h> #include <errno.h> #include <malloc.h> diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c index 3399fd2366..566fcb8de7 100644 --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/phy/broadcom.c @@ -7,6 +7,7 @@ */ #include <common.h> #include <phy.h> +#include <linux/delay.h> /* Broadcom BCM54xx -- taken from linux sungem_phy */ #define MIIM_BCM54xx_AUXCNTL 0x18 diff --git a/drivers/net/phy/cortina.c b/drivers/net/phy/cortina.c index ecaa2b9f92..dbc20b1405 100644 --- a/drivers/net/phy/cortina.c +++ b/drivers/net/phy/cortina.c @@ -12,6 +12,7 @@ #include <log.h> #include <malloc.h> #include <linux/ctype.h> +#include <linux/delay.h> #include <linux/string.h> #include <linux/err.h> #include <phy.h> diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index 93cf44ad4c..be5e3dcaab 100644 --- a/drivers/net/phy/marvell.c +++ b/drivers/net/phy/marvell.c @@ -8,6 +8,7 @@ #include <common.h> #include <errno.h> #include <phy.h> +#include <linux/delay.h> #define PHY_AUTONEGOTIATE_TIMEOUT 5000 diff --git a/drivers/net/phy/mv88e61xx.c b/drivers/net/phy/mv88e61xx.c index cbc3650971..3f8aa7cd99 100644 --- a/drivers/net/phy/mv88e61xx.c +++ b/drivers/net/phy/mv88e61xx.c @@ -31,6 +31,7 @@ #include <common.h> #include <log.h> +#include <linux/delay.h> #include <bitfield.h> #include <errno.h> diff --git a/drivers/net/phy/mv88e6352.c b/drivers/net/phy/mv88e6352.c index e2261d6a11..62a7f19214 100644 --- a/drivers/net/phy/mv88e6352.c +++ b/drivers/net/phy/mv88e6352.c @@ -8,6 +8,7 @@ #include <command.h> #include <log.h> #include <miiphy.h> +#include <linux/delay.h> #include <linux/errno.h> #include <mv88e6352.h> diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 6c4381ec6c..6b6497c93a 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -17,6 +17,7 @@ #include <miiphy.h> #include <phy.h> #include <errno.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/compiler.h> diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c index 8f0a897a46..b4612c1cfd 100644 --- a/drivers/net/phy/realtek.c +++ b/drivers/net/phy/realtek.c @@ -9,6 +9,7 @@ #include <common.h> #include <linux/bitops.h> #include <phy.h> +#include <linux/delay.h> #define PHY_RTL8211x_FORCE_MASTER BIT(1) #define PHY_RTL8211E_PINE64_GIGABIT_FIX BIT(2) diff --git a/drivers/net/phy/teranetics.c b/drivers/net/phy/teranetics.c index 49d6a1ad90..60049c2074 100644 --- a/drivers/net/phy/teranetics.c +++ b/drivers/net/phy/teranetics.c @@ -7,6 +7,7 @@ */ #include <common.h> #include <phy.h> +#include <linux/delay.h> #ifndef CONFIG_PHYLIB_10G #error The Teranetics PHY needs 10G support diff --git a/drivers/net/pic32_eth.c b/drivers/net/pic32_eth.c index d367a1fe37..6a2084947b 100644 --- a/drivers/net/pic32_eth.c +++ b/drivers/net/pic32_eth.c @@ -15,6 +15,7 @@ #include <time.h> #include <wait_bit.h> #include <asm/gpio.h> +#include <linux/delay.h> #include <linux/mii.h> #include "pic32_eth.h" diff --git a/drivers/net/pic32_mdio.c b/drivers/net/pic32_mdio.c index 1aa5b1d8da..d4049cfea5 100644 --- a/drivers/net/pic32_mdio.c +++ b/drivers/net/pic32_mdio.c @@ -11,6 +11,7 @@ #include <errno.h> #include <wait_bit.h> #include <asm/io.h> +#include <linux/delay.h> #include "pic32_eth.h" static int pic32_mdio_write(struct mii_dev *bus, diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c index fae72a1127..3dab91b74b 100644 --- a/drivers/net/ravb.c +++ b/drivers/net/ravb.c @@ -17,6 +17,7 @@ #include <miiphy.h> #include <malloc.h> #include <asm/cache.h> +#include <linux/delay.h> #include <linux/mii.h> #include <wait_bit.h> #include <asm/io.h> diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c index e87ee26f7f..fd2454b56f 100644 --- a/drivers/net/rtl8139.c +++ b/drivers/net/rtl8139.c @@ -76,6 +76,7 @@ #include <netdev.h> #include <asm/io.h> #include <pci.h> +#include <linux/delay.h> #include <linux/types.h> #define RTL_TIMEOUT 100000 diff --git a/drivers/net/rtl8169.c b/drivers/net/rtl8169.c index c3413431ec..75058fdadc 100644 --- a/drivers/net/rtl8169.c +++ b/drivers/net/rtl8169.c @@ -53,6 +53,7 @@ #include <asm/cache.h> #include <asm/io.h> #include <pci.h> +#include <linux/delay.h> #undef DEBUG_RTL8169 #undef DEBUG_RTL8169_TX diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index 1ad3d0526d..b26fc7b8eb 100644 --- a/drivers/net/sh_eth.c +++ b/drivers/net/sh_eth.c @@ -18,6 +18,7 @@ #include <netdev.h> #include <miiphy.h> #include <asm/cache.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/io.h> diff --git a/drivers/net/smc91111.c b/drivers/net/smc91111.c index 52bbf05a1e..23265eff93 100644 --- a/drivers/net/smc91111.c +++ b/drivers/net/smc91111.c @@ -51,6 +51,7 @@ #include <command.h> #include <config.h> #include <malloc.h> +#include <linux/delay.h> #include "smc91111.h" #include <net.h> diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index 45ecd6a263..9d2790e561 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -11,6 +11,7 @@ #include <net.h> #include <miiphy.h> #include <linux/io.h> +#include <linux/delay.h> #include <linux/types.h> #include "smc911x.h" diff --git a/drivers/net/sni_ave.c b/drivers/net/sni_ave.c index 8f651fa4dc..92b4a65631 100644 --- a/drivers/net/sni_ave.c +++ b/drivers/net/sni_ave.c @@ -17,6 +17,7 @@ #include <syscon.h> #include <asm/cache.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/err.h> #include <linux/io.h> #include <linux/iopoll.h> diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c index c24ab83c1a..45ac118495 100644 --- a/drivers/net/sun8i_emac.c +++ b/drivers/net/sun8i_emac.c @@ -21,6 +21,7 @@ #include <dm.h> #include <fdt_support.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/err.h> #include <malloc.h> #include <miiphy.h> diff --git a/drivers/net/sunxi_emac.c b/drivers/net/sunxi_emac.c index 26c75067bf..6364beb9f2 100644 --- a/drivers/net/sunxi_emac.c +++ b/drivers/net/sunxi_emac.c @@ -10,6 +10,7 @@ #include <dm.h> #include <log.h> #include <dm/device_compat.h> +#include <linux/delay.h> #include <linux/err.h> #include <malloc.h> #include <miiphy.h> diff --git a/drivers/net/ti/cpsw_mdio.c b/drivers/net/ti/cpsw_mdio.c index fb93548dee..e77a2ff0a7 100644 --- a/drivers/net/ti/cpsw_mdio.c +++ b/drivers/net/ti/cpsw_mdio.c @@ -11,6 +11,7 @@ #include <asm/io.h> #include <miiphy.h> #include <wait_bit.h> +#include <linux/delay.h> struct cpsw_mdio_regs { u32 version; diff --git a/drivers/net/ti/davinci_emac.c b/drivers/net/ti/davinci_emac.c index 804797476c..56ea1fec0a 100644 --- a/drivers/net/ti/davinci_emac.c +++ b/drivers/net/ti/davinci_emac.c @@ -32,6 +32,7 @@ #include <linux/compiler.h> #include <asm/arch/emac_defs.h> #include <asm/io.h> +#include <linux/delay.h> #include "davinci_emac.h" unsigned int emac_dbg = 0; diff --git a/drivers/net/ti/keystone_net.c b/drivers/net/ti/keystone_net.c index ecd6df9e45..e3ac40ca0d 100644 --- a/drivers/net/ti/keystone_net.c +++ b/drivers/net/ti/keystone_net.c @@ -8,6 +8,7 @@ #include <common.h> #include <command.h> #include <console.h> +#include <linux/delay.h> #include <dm.h> #include <dm/lists.h> diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index f85cdcb97e..15701ee147 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c @@ -15,6 +15,7 @@ #include <command.h> #include <tsec.h> #include <fsl_mdio.h> +#include <linux/delay.h> #include <linux/errno.h> #include <asm/processor.h> #include <asm/io.h> diff --git a/drivers/net/uli526x.c b/drivers/net/uli526x.c index c56836641b..cfdd1137be 100644 --- a/drivers/net/uli526x.c +++ b/drivers/net/uli526x.c @@ -16,6 +16,7 @@ #include <asm/io.h> #include <pci.h> #include <miiphy.h> +#include <linux/delay.h> /* some kernel function compatible define */ diff --git a/drivers/net/vsc7385.c b/drivers/net/vsc7385.c index d020aa915e..af8d99cefb 100644 --- a/drivers/net/vsc7385.c +++ b/drivers/net/vsc7385.c @@ -17,6 +17,7 @@ #include <console.h> #include <log.h> #include <asm/io.h> +#include <linux/delay.h> #include <linux/errno.h> #include "vsc7385.h" diff --git a/drivers/net/vsc9953.c b/drivers/net/vsc9953.c index 8bad351951..c438dab561 100644 --- a/drivers/net/vsc9953.c +++ b/drivers/net/vsc9953.c @@ -17,6 +17,7 @@ #include <malloc.h> #include <vsc9953.h> #include <ethsw.h> +#include <linux/delay.h> static struct vsc9953_info vsc9953_l2sw = { .port[0] = VSC9953_PORT_INFO_INITIALIZER(0), diff --git a/drivers/net/xilinx_axi_emac.c b/drivers/net/xilinx_axi_emac.c index 09151986f1..d0683db80d 100644 --- a/drivers/net/xilinx_axi_emac.c +++ b/drivers/net/xilinx_axi_emac.c @@ -16,6 +16,7 @@ #include <phy.h> #include <miiphy.h> #include <wait_bit.h> +#include <linux/delay.h> DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c index b15e5514e6..9bdb6798b6 100644 --- a/drivers/net/xilinx_emaclite.c +++ b/drivers/net/xilinx_emaclite.c @@ -17,6 +17,7 @@ #include <phy.h> #include <miiphy.h> #include <fdtdec.h> +#include <linux/delay.h> #include <linux/errno.h> #include <linux/kernel.h> #include <asm/io.h> |