diff options
Diffstat (limited to 'drivers/net')
45 files changed, 45 insertions, 0 deletions
diff --git a/drivers/net/ag7xxx.c b/drivers/net/ag7xxx.c index 0fe140cf6e..3b5d11f956 100644 --- a/drivers/net/ag7xxx.c +++ b/drivers/net/ag7xxx.c @@ -16,6 +16,7 @@ #include <malloc.h> #include <net.h> #include <asm/cache.h> +#include <linux/bitops.h> #include <linux/compiler.h> #include <linux/delay.h> #include <linux/err.h> diff --git a/drivers/net/altera_tse.h b/drivers/net/altera_tse.h index 2b1af81429..79509b8084 100644 --- a/drivers/net/altera_tse.h +++ b/drivers/net/altera_tse.h @@ -11,6 +11,7 @@ #ifndef _ALTERA_TSE_H_ #define _ALTERA_TSE_H_ +#include <linux/bitops.h> #define __packed_1_ __packed __aligned(1) /* dma type */ diff --git a/drivers/net/bcm-sf2-eth-gmac.c b/drivers/net/bcm-sf2-eth-gmac.c index f57861e870..3caf0f3310 100644 --- a/drivers/net/bcm-sf2-eth-gmac.c +++ b/drivers/net/bcm-sf2-eth-gmac.c @@ -19,6 +19,7 @@ #include <asm/io.h> #include <phy.h> #include <linux/delay.h> +#include <linux/bitops.h> #include "bcm-sf2-eth.h" #include "bcm-sf2-eth-gmac.h" diff --git a/drivers/net/bcmgenet.c b/drivers/net/bcmgenet.c index d09f17d994..11b6148ab6 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/bitops.h> #include <linux/delay.h> #include <linux/err.h> #include <malloc.h> diff --git a/drivers/net/dc2114x.c b/drivers/net/dc2114x.c index 611a8c4b9e..c55358ef83 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/bitops.h> #include <linux/delay.h> #define SROM_DLEVEL 0 diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c index 789ac2e818..3f4437069b 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/bitops.h> #include <linux/delay.h> /* Core registers */ diff --git a/drivers/net/fsl_enetc.h b/drivers/net/fsl_enetc.h index 48c3005cb3..37e7e85843 100644 --- a/drivers/net/fsl_enetc.h +++ b/drivers/net/fsl_enetc.h @@ -7,6 +7,7 @@ #ifndef _ENETC_H #define _ENETC_H +#include <linux/bitops.h> #define enetc_dbg(dev, fmt, args...) debug("%s:" fmt, dev->name, ##args) /* PCI function IDs */ diff --git a/drivers/net/ftgmac100.c b/drivers/net/ftgmac100.c index 3322dcf2aa..e4d08f2ba0 100644 --- a/drivers/net/ftgmac100.c +++ b/drivers/net/ftgmac100.c @@ -22,6 +22,7 @@ #include <wait_bit.h> #include <asm/cache.h> #include <dm/device_compat.h> +#include <linux/bitops.h> #include <linux/io.h> #include <linux/iopoll.h> diff --git a/drivers/net/ftgmac100.h b/drivers/net/ftgmac100.h index 9a789e4d5b..f7874ae68b 100644 --- a/drivers/net/ftgmac100.h +++ b/drivers/net/ftgmac100.h @@ -13,6 +13,7 @@ #define __FTGMAC100_H /* The registers offset table of ftgmac100 */ +#include <linux/bitops.h> struct ftgmac100 { unsigned int isr; /* 0x00 */ unsigned int ier; /* 0x04 */ diff --git a/drivers/net/gmac_rockchip.c b/drivers/net/gmac_rockchip.c index 52a637bd54..8d95ee15ff 100644 --- a/drivers/net/gmac_rockchip.c +++ b/drivers/net/gmac_rockchip.c @@ -26,6 +26,7 @@ #include <asm/arch-rockchip/grf_rv1108.h> #include <dm/pinctrl.h> #include <dt-bindings/clock/rk3288-cru.h> +#include <linux/bitops.h> #include "designware.h" DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/net/higmacv300.c b/drivers/net/higmacv300.c index 1ec98644c9..2aae7f4863 100644 --- a/drivers/net/higmacv300.c +++ b/drivers/net/higmacv300.c @@ -10,6 +10,7 @@ #include <asm/io.h> #include <common.h> #include <console.h> +#include <linux/bitops.h> #include <linux/bug.h> #include <linux/delay.h> #include <linux/mii.h> diff --git a/drivers/net/mscc_eswitch/jr2_switch.c b/drivers/net/mscc_eswitch/jr2_switch.c index 76823c618e..1c9a401de8 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/bitops.h> #include <linux/delay.h> #include <linux/io.h> #include <linux/ioport.h> diff --git a/drivers/net/mscc_eswitch/luton_switch.c b/drivers/net/mscc_eswitch/luton_switch.c index 9d24c005c1..1d46d0e5e1 100644 --- a/drivers/net/mscc_eswitch/luton_switch.c +++ b/drivers/net/mscc_eswitch/luton_switch.c @@ -10,6 +10,7 @@ #include <dm/of_access.h> #include <dm/of_addr.h> #include <fdt_support.h> +#include <linux/bitops.h> #include <linux/io.h> #include <linux/ioport.h> #include <miiphy.h> diff --git a/drivers/net/mscc_eswitch/mscc_mac_table.c b/drivers/net/mscc_eswitch/mscc_mac_table.c index 833e233aa5..25b9cad42c 100644 --- a/drivers/net/mscc_eswitch/mscc_mac_table.c +++ b/drivers/net/mscc_eswitch/mscc_mac_table.c @@ -3,6 +3,7 @@ * Copyright (c) 2018 Microsemi Corporation */ +#include <linux/bitops.h> #include <linux/io.h> #include "mscc_mac_table.h" diff --git a/drivers/net/mscc_eswitch/mscc_miim.c b/drivers/net/mscc_eswitch/mscc_miim.c index d8ee8df47b..6687787b1a 100644 --- a/drivers/net/mscc_eswitch/mscc_miim.c +++ b/drivers/net/mscc_eswitch/mscc_miim.c @@ -5,6 +5,7 @@ #include <miiphy.h> #include <wait_bit.h> +#include <linux/bitops.h> #include "mscc_miim.h" #define MIIM_STATUS 0x0 diff --git a/drivers/net/mscc_eswitch/mscc_xfer.c b/drivers/net/mscc_eswitch/mscc_xfer.c index 01eb204db8..6f74746457 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/bitops.h> #include <linux/delay.h> #include <linux/io.h> #include "mscc_xfer.h" diff --git a/drivers/net/mscc_eswitch/ocelot_switch.c b/drivers/net/mscc_eswitch/ocelot_switch.c index cae31e2f6e..2a48dc6a19 100644 --- a/drivers/net/mscc_eswitch/ocelot_switch.c +++ b/drivers/net/mscc_eswitch/ocelot_switch.c @@ -11,6 +11,7 @@ #include <dm/of_access.h> #include <dm/of_addr.h> #include <fdt_support.h> +#include <linux/bitops.h> #include <linux/io.h> #include <linux/ioport.h> #include <miiphy.h> diff --git a/drivers/net/mscc_eswitch/serval_switch.c b/drivers/net/mscc_eswitch/serval_switch.c index cf8bf9c8b0..d8ee1a7698 100644 --- a/drivers/net/mscc_eswitch/serval_switch.c +++ b/drivers/net/mscc_eswitch/serval_switch.c @@ -11,6 +11,7 @@ #include <dm/of_access.h> #include <dm/of_addr.h> #include <fdt_support.h> +#include <linux/bitops.h> #include <linux/io.h> #include <linux/ioport.h> #include <miiphy.h> diff --git a/drivers/net/mscc_eswitch/servalt_switch.c b/drivers/net/mscc_eswitch/servalt_switch.c index bf95a38354..1cf2273142 100644 --- a/drivers/net/mscc_eswitch/servalt_switch.c +++ b/drivers/net/mscc_eswitch/servalt_switch.c @@ -10,6 +10,7 @@ #include <dm/of_access.h> #include <dm/of_addr.h> #include <fdt_support.h> +#include <linux/bitops.h> #include <linux/io.h> #include <linux/ioport.h> #include <miiphy.h> diff --git a/drivers/net/mt7628-eth.c b/drivers/net/mt7628-eth.c index a2e022db35..64f1c8c828 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/bitops.h> #include <linux/delay.h> #include <linux/err.h> diff --git a/drivers/net/mtk_eth.h b/drivers/net/mtk_eth.h index f2940c9996..be74ac27ea 100644 --- a/drivers/net/mtk_eth.h +++ b/drivers/net/mtk_eth.h @@ -10,6 +10,7 @@ #define _MTK_ETH_H_ /* Frame Engine Register Bases */ +#include <linux/bitops.h> #define PDMA_BASE 0x0800 #define GDMA1_BASE 0x0500 #define GDMA2_BASE 0x1500 diff --git a/drivers/net/mvmdio.c b/drivers/net/mvmdio.c index ec6805e536..a8e93e80fc 100644 --- a/drivers/net/mvmdio.c +++ b/drivers/net/mvmdio.c @@ -12,6 +12,7 @@ #include <phy.h> #include <asm/io.h> #include <wait_bit.h> +#include <linux/bitops.h> #define MVMDIO_SMI_DATA_SHIFT 0 #define MVMDIO_SMI_PHY_ADDR_SHIFT 16 diff --git a/drivers/net/mvneta.c b/drivers/net/mvneta.c index f9aef17f7e..092f619bd5 100644 --- a/drivers/net/mvneta.c +++ b/drivers/net/mvneta.c @@ -24,6 +24,7 @@ #include <asm/io.h> #include <dm/device_compat.h> #include <dm/devres.h> +#include <linux/bitops.h> #include <linux/bug.h> #include <linux/delay.h> #include <linux/errno.h> diff --git a/drivers/net/mvpp2.c b/drivers/net/mvpp2.c index ebe67e45ab..19b9375ee2 100644 --- a/drivers/net/mvpp2.c +++ b/drivers/net/mvpp2.c @@ -26,6 +26,7 @@ #include <config.h> #include <malloc.h> #include <asm/io.h> +#include <linux/bitops.h> #include <linux/bug.h> #include <linux/delay.h> #include <linux/err.h> diff --git a/drivers/net/pfe_eth/pfe_firmware.c b/drivers/net/pfe_eth/pfe_firmware.c index 0ad8c63d71..0493cfe872 100644 --- a/drivers/net/pfe_eth/pfe_firmware.c +++ b/drivers/net/pfe_eth/pfe_firmware.c @@ -13,6 +13,7 @@ #include <image.h> #include <log.h> #include <malloc.h> +#include <linux/bitops.h> #include <net/pfe_eth/pfe_eth.h> #include <net/pfe_eth/pfe_firmware.h> #ifdef CONFIG_CHAIN_OF_TRUST diff --git a/drivers/net/pfe_eth/pfe_hw.c b/drivers/net/pfe_eth/pfe_hw.c index caba8717be..722f5c238f 100644 --- a/drivers/net/pfe_eth/pfe_hw.c +++ b/drivers/net/pfe_eth/pfe_hw.c @@ -4,6 +4,7 @@ * Copyright 2017 NXP */ #include <log.h> +#include <linux/bitops.h> #include <net/pfe_eth/pfe_eth.h> #include <net/pfe_eth/pfe/pfe_hw.h> diff --git a/drivers/net/phy/aquantia.c b/drivers/net/phy/aquantia.c index 8b1cad8540..68cd3d03fd 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/bitops.h> #include <linux/delay.h> #include <u-boot/crc.h> #include <malloc.h> diff --git a/drivers/net/phy/atheros.c b/drivers/net/phy/atheros.c index 47ff9f8d44..13f7275d17 100644 --- a/drivers/net/phy/atheros.c +++ b/drivers/net/phy/atheros.c @@ -10,6 +10,7 @@ #include <phy.h> #include <dm/device_compat.h> #include <linux/bitfield.h> +#include <linux/bitops.h> #include <dt-bindings/net/qca-ar803x.h> #define AR803x_PHY_DEBUG_ADDR_REG 0x1d diff --git a/drivers/net/phy/b53.c b/drivers/net/phy/b53.c index 25dbf215b4..21da53c7e5 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/bitops.h> #include <linux/delay.h> #include <errno.h> diff --git a/drivers/net/phy/dp83867.c b/drivers/net/phy/dp83867.c index 6fac0d5956..d435cc1e6c 100644 --- a/drivers/net/phy/dp83867.c +++ b/drivers/net/phy/dp83867.c @@ -7,6 +7,7 @@ #include <log.h> #include <phy.h> #include <dm/devres.h> +#include <linux/bitops.h> #include <linux/compat.h> #include <malloc.h> diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index be5e3dcaab..a62c695c5c 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/bitops.h> #include <linux/delay.h> #define PHY_AUTONEGOTIATE_TIMEOUT 5000 diff --git a/drivers/net/phy/micrel_ksz8xxx.c b/drivers/net/phy/micrel_ksz8xxx.c index e27fc45a28..98a0c83e68 100644 --- a/drivers/net/phy/micrel_ksz8xxx.c +++ b/drivers/net/phy/micrel_ksz8xxx.c @@ -12,6 +12,7 @@ #include <fdtdec.h> #include <micrel.h> #include <phy.h> +#include <linux/bitops.h> static struct phy_driver KSZ804_driver = { .name = "Micrel KSZ804", diff --git a/drivers/net/phy/mscc.c b/drivers/net/phy/mscc.c index 9fd5ca7c9f..709979f48c 100644 --- a/drivers/net/phy/mscc.c +++ b/drivers/net/phy/mscc.c @@ -13,6 +13,7 @@ #include <miiphy.h> #include <bitfield.h> #include <time.h> +#include <linux/bitops.h> #include <linux/delay.h> /* Microsemi PHY ID's */ diff --git a/drivers/net/phy/mv88e61xx.c b/drivers/net/phy/mv88e61xx.c index 3f8aa7cd99..7eff37b244 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/bitops.h> #include <linux/delay.h> #include <bitfield.h> diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 6b6497c93a..cce09c47f9 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/bitops.h> #include <linux/delay.h> #include <linux/err.h> #include <linux/compiler.h> diff --git a/drivers/net/pic32_eth.h b/drivers/net/pic32_eth.h index 823c565a9b..7b873bc772 100644 --- a/drivers/net/pic32_eth.h +++ b/drivers/net/pic32_eth.h @@ -7,6 +7,7 @@ #ifndef __MICROCHIP_PIC32_ETH_H_ #define __MICROCHIP_PIC32_ETH_H_ +#include <linux/bitops.h> #include <mach/pic32.h> /* Ethernet */ diff --git a/drivers/net/ravb.c b/drivers/net/ravb.c index 3dab91b74b..393ee9bb81 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/bitops.h> #include <linux/delay.h> #include <linux/mii.h> #include <wait_bit.h> diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c index fd2454b56f..0daeefa489 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/bitops.h> #include <linux/delay.h> #include <linux/types.h> diff --git a/drivers/net/sni_ave.c b/drivers/net/sni_ave.c index 92b4a65631..0784635689 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/bitops.h> #include <linux/delay.h> #include <linux/err.h> #include <linux/io.h> diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c index 45ac118495..99e24c6348 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/bitops.h> #include <linux/delay.h> #include <linux/err.h> #include <malloc.h> diff --git a/drivers/net/ti/am65-cpsw-nuss.c b/drivers/net/ti/am65-cpsw-nuss.c index 220b461124..85f3e49c05 100644 --- a/drivers/net/ti/am65-cpsw-nuss.c +++ b/drivers/net/ti/am65-cpsw-nuss.c @@ -21,6 +21,7 @@ #include <net.h> #include <phy.h> #include <power-domain.h> +#include <linux/bitops.h> #include <linux/soc/ti/ti-udma.h> #include "cpsw_mdio.h" diff --git a/drivers/net/ti/cpsw.c b/drivers/net/ti/cpsw.c index a927ea03e0..95761fffc0 100644 --- a/drivers/net/ti/cpsw.c +++ b/drivers/net/ti/cpsw.c @@ -16,6 +16,7 @@ #include <netdev.h> #include <cpsw.h> #include <dm/device_compat.h> +#include <linux/bitops.h> #include <linux/errno.h> #include <asm/gpio.h> #include <asm/io.h> diff --git a/drivers/net/ti/cpsw_mdio.c b/drivers/net/ti/cpsw_mdio.c index e77a2ff0a7..f4cb86d10a 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/bitops.h> #include <linux/delay.h> struct cpsw_mdio_regs { diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index 15701ee147..c2e755f2b1 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/bitops.h> #include <linux/delay.h> #include <linux/errno.h> #include <asm/processor.h> diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index 28cef3b1ea..412daf7d58 100644 --- a/drivers/net/zynq_gem.c +++ b/drivers/net/zynq_gem.c @@ -28,6 +28,7 @@ #include <asm/arch/hardware.h> #include <asm/arch/sys_proto.h> #include <dm/device_compat.h> +#include <linux/bitops.h> #include <linux/err.h> #include <linux/errno.h> |