[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201805171124.nekhkUmB%fengguang.wu@intel.com>
Date: Thu, 17 May 2018 12:03:47 +0800
From: kbuild test robot <lkp@...el.com>
To: Florian Fainelli <f.fainelli@...il.com>
Cc: kbuild-all@...org, netdev@...r.kernel.org,
Florian Fainelli <f.fainelli@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Andrew Lunn <andrew@...n.ch>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH net-next 2/3] net: ethernet: freescale: Allow FEC with
COMPILE_TEST
Hi Florian,
I love your patch! Yet something to improve:
[auto build test ERROR on net-next/master]
url: https://github.com/0day-ci/linux/commits/Florian-Fainelli/net-Allow-more-drivers-with-COMPILE_TEST/20180517-092807
config: m68k-allmodconfig (attached as .config)
compiler: m68k-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=m68k
All errors (new ones prefixed by >>):
In file included from include/linux/swab.h:5:0,
from include/uapi/linux/byteorder/big_endian.h:13,
from include/linux/byteorder/big_endian.h:5,
from arch/m68k/include/uapi/asm/byteorder.h:5,
from include/asm-generic/bitops/le.h:6,
from arch/m68k/include/asm/bitops.h:519,
from include/linux/bitops.h:38,
from include/linux/kernel.h:11,
from include/linux/list.h:9,
from include/linux/module.h:9,
from drivers/net//ethernet/freescale/fec_main.c:24:
drivers/net//ethernet/freescale/fec_main.c: In function 'fec_restart':
>> drivers/net//ethernet/freescale/fec_main.c:959:26: error: 'FEC_RACC' undeclared (first use in this function); did you mean 'FEC_RXIC1'?
val = readl(fep->hwp + FEC_RACC);
^
include/uapi/linux/swab.h:117:32: note: in definition of macro '__swab32'
(__builtin_constant_p((__u32)(x)) ? \
^
include/linux/byteorder/generic.h:89:21: note: in expansion of macro '__le32_to_cpu'
#define le32_to_cpu __le32_to_cpu
^~~~~~~~~~~~~
arch/m68k/include/asm/io_mm.h:452:26: note: in expansion of macro 'in_le32'
#define readl(addr) in_le32(addr)
^~~~~~~
drivers/net//ethernet/freescale/fec_main.c:959:9: note: in expansion of macro 'readl'
val = readl(fep->hwp + FEC_RACC);
^~~~~
drivers/net//ethernet/freescale/fec_main.c:959:26: note: each undeclared identifier is reported only once for each function it appears in
val = readl(fep->hwp + FEC_RACC);
^
include/uapi/linux/swab.h:117:32: note: in definition of macro '__swab32'
(__builtin_constant_p((__u32)(x)) ? \
^
include/linux/byteorder/generic.h:89:21: note: in expansion of macro '__le32_to_cpu'
#define le32_to_cpu __le32_to_cpu
^~~~~~~~~~~~~
arch/m68k/include/asm/io_mm.h:452:26: note: in expansion of macro 'in_le32'
#define readl(addr) in_le32(addr)
^~~~~~~
drivers/net//ethernet/freescale/fec_main.c:959:9: note: in expansion of macro 'readl'
val = readl(fep->hwp + FEC_RACC);
^~~~~
In file included from arch/m68k/include/asm/io_mm.h:27:0,
from arch/m68k/include/asm/io.h:5,
from include/linux/scatterlist.h:9,
from include/linux/dma-mapping.h:11,
from include/linux/skbuff.h:34,
from include/linux/if_ether.h:23,
from include/uapi/linux/ethtool.h:19,
from include/linux/ethtool.h:18,
from include/linux/netdevice.h:41,
from drivers/net//ethernet/freescale/fec_main.c:34:
drivers/net//ethernet/freescale/fec_main.c:968:38: error: 'FEC_FTRL' undeclared (first use in this function); did you mean 'FEC_ECNTRL'?
writel(PKT_MAXBUF_SIZE, fep->hwp + FEC_FTRL);
^
arch/m68k/include/asm/raw_io.h:48:64: note: in definition of macro 'out_le32'
#define out_le32(addr,l) (void)((*(__force volatile __le32 *) (addr)) = cpu_to_le32(l))
^~~~
drivers/net//ethernet/freescale/fec_main.c:968:3: note: in expansion of macro 'writel'
writel(PKT_MAXBUF_SIZE, fep->hwp + FEC_FTRL);
^~~~~~
drivers/net//ethernet/freescale/fec_main.c:1034:38: error: 'FEC_R_FIFO_RSEM' undeclared (first use in this function); did you mean 'FEC_FIFO_RAM'?
writel(FEC_ENET_RSEM_V, fep->hwp + FEC_R_FIFO_RSEM);
^
arch/m68k/include/asm/raw_io.h:48:64: note: in definition of macro 'out_le32'
#define out_le32(addr,l) (void)((*(__force volatile __le32 *) (addr)) = cpu_to_le32(l))
^~~~
drivers/net//ethernet/freescale/fec_main.c:1034:3: note: in expansion of macro 'writel'
writel(FEC_ENET_RSEM_V, fep->hwp + FEC_R_FIFO_RSEM);
^~~~~~
drivers/net//ethernet/freescale/fec_main.c:1035:38: error: 'FEC_R_FIFO_RSFL' undeclared (first use in this function); did you mean 'FEC_R_FIFO_RSEM'?
writel(FEC_ENET_RSFL_V, fep->hwp + FEC_R_FIFO_RSFL);
^
arch/m68k/include/asm/raw_io.h:48:64: note: in definition of macro 'out_le32'
#define out_le32(addr,l) (void)((*(__force volatile __le32 *) (addr)) = cpu_to_le32(l))
^~~~
drivers/net//ethernet/freescale/fec_main.c:1035:3: note: in expansion of macro 'writel'
writel(FEC_ENET_RSFL_V, fep->hwp + FEC_R_FIFO_RSFL);
^~~~~~
drivers/net//ethernet/freescale/fec_main.c:1036:38: error: 'FEC_R_FIFO_RAEM' undeclared (first use in this function); did you mean 'FEC_R_FIFO_RSEM'?
writel(FEC_ENET_RAEM_V, fep->hwp + FEC_R_FIFO_RAEM);
^
arch/m68k/include/asm/raw_io.h:48:64: note: in definition of macro 'out_le32'
#define out_le32(addr,l) (void)((*(__force volatile __le32 *) (addr)) = cpu_to_le32(l))
^~~~
drivers/net//ethernet/freescale/fec_main.c:1036:3: note: in expansion of macro 'writel'
writel(FEC_ENET_RAEM_V, fep->hwp + FEC_R_FIFO_RAEM);
^~~~~~
drivers/net//ethernet/freescale/fec_main.c:1037:38: error: 'FEC_R_FIFO_RAFL' undeclared (first use in this function); did you mean 'FEC_R_FIFO_RSFL'?
writel(FEC_ENET_RAFL_V, fep->hwp + FEC_R_FIFO_RAFL);
^
arch/m68k/include/asm/raw_io.h:48:64: note: in definition of macro 'out_le32'
#define out_le32(addr,l) (void)((*(__force volatile __le32 *) (addr)) = cpu_to_le32(l))
^~~~
drivers/net//ethernet/freescale/fec_main.c:1037:3: note: in expansion of macro 'writel'
writel(FEC_ENET_RAFL_V, fep->hwp + FEC_R_FIFO_RAFL);
^~~~~~
drivers/net//ethernet/freescale/fec_main.c:1040:37: error: 'FEC_OPD' undeclared (first use in this function); did you mean 'FEC_H'?
writel(FEC_ENET_OPD_V, fep->hwp + FEC_OPD);
^
arch/m68k/include/asm/raw_io.h:48:64: note: in definition of macro 'out_le32'
#define out_le32(addr,l) (void)((*(__force volatile __le32 *) (addr)) = cpu_to_le32(l))
^~~~
drivers/net//ethernet/freescale/fec_main.c:1040:3: note: in expansion of macro 'writel'
writel(FEC_ENET_OPD_V, fep->hwp + FEC_OPD);
^~~~~~
drivers/net//ethernet/freescale/fec_main.c:1051:23: error: 'FEC_HASH_TABLE_HIGH' undeclared (first use in this function); did you mean 'FEC_GRP_HASH_TABLE_HIGH'?
writel(0, fep->hwp + FEC_HASH_TABLE_HIGH);
^
arch/m68k/include/asm/raw_io.h:48:64: note: in definition of macro 'out_le32'
#define out_le32(addr,l) (void)((*(__force volatile __le32 *) (addr)) = cpu_to_le32(l))
^~~~
drivers/net//ethernet/freescale/fec_main.c:1051:2: note: in expansion of macro 'writel'
vim +959 drivers/net//ethernet/freescale/fec_main.c
14109a59c drivers/net/ethernet/freescale/fec.c Frank Li 2013-03-26 898
dbc64a8ea drivers/net/ethernet/freescale/fec_main.c Russell King 2014-07-08 899 /*
dbc64a8ea drivers/net/ethernet/freescale/fec_main.c Russell King 2014-07-08 900 * This function is called to start or restart the FEC during a link
dbc64a8ea drivers/net/ethernet/freescale/fec_main.c Russell King 2014-07-08 901 * change, transmit timeout, or to reconfigure the FEC. The network
dbc64a8ea drivers/net/ethernet/freescale/fec_main.c Russell King 2014-07-08 902 * packet processing for this device must be stopped before this call.
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 903 */
^1da177e4 drivers/net/fec.c Linus Torvalds 2005-04-16 904 static void
ef83337d1 drivers/net/ethernet/freescale/fec_main.c Russell King 2014-07-08 905 fec_restart(struct net_device *ndev)
^1da177e4 drivers/net/fec.c Linus Torvalds 2005-04-16 906 {
c556167f8 drivers/net/fec.c Uwe Kleine-König 2011-01-19 907 struct fec_enet_private *fep = netdev_priv(ndev);
4c09eed9d drivers/net/ethernet/freescale/fec_main.c Jim Baxter 2013-04-19 908 u32 val;
cd1f402c1 drivers/net/fec.c Uwe Kleine-König 2011-01-25 909 u32 temp_mac[2];
cd1f402c1 drivers/net/fec.c Uwe Kleine-König 2011-01-25 910 u32 rcntl = OPT_FRAME_SIZE | 0x04;
230dec613 drivers/net/ethernet/freescale/fec.c Shawn Guo 2011-09-23 911 u32 ecntl = 0x2; /* ETHEREN */
^1da177e4 drivers/net/fec.c Linus Torvalds 2005-04-16 912
106c314c7 drivers/net/ethernet/freescale/fec_main.c Fugang Duan 2014-09-13 913 /* Whack a reset. We should wait for this.
106c314c7 drivers/net/ethernet/freescale/fec_main.c Fugang Duan 2014-09-13 914 * For i.MX6SX SOC, enet use AXI bus, we use disable MAC
106c314c7 drivers/net/ethernet/freescale/fec_main.c Fugang Duan 2014-09-13 915 * instead of reset MAC itself.
106c314c7 drivers/net/ethernet/freescale/fec_main.c Fugang Duan 2014-09-13 916 */
6b7e40083 drivers/net/ethernet/freescale/fec_main.c Lothar Waßmann 2014-11-17 917 if (fep->quirks & FEC_QUIRK_HAS_AVB) {
106c314c7 drivers/net/ethernet/freescale/fec_main.c Fugang Duan 2014-09-13 918 writel(0, fep->hwp + FEC_ECNTRL);
106c314c7 drivers/net/ethernet/freescale/fec_main.c Fugang Duan 2014-09-13 919 } else {
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 920 writel(1, fep->hwp + FEC_ECNTRL);
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 921 udelay(10);
106c314c7 drivers/net/ethernet/freescale/fec_main.c Fugang Duan 2014-09-13 922 }
^1da177e4 drivers/net/fec.c Linus Torvalds 2005-04-16 923
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 924 /*
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 925 * enet-mac reset will reset mac address registers too,
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 926 * so need to reconfigure it.
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 927 */
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 928 memcpy(&temp_mac, ndev->dev_addr, ETH_ALEN);
5cfa30397 drivers/net/ethernet/freescale/fec_main.c Johannes Berg 2016-01-24 929 writel((__force u32)cpu_to_be32(temp_mac[0]),
5cfa30397 drivers/net/ethernet/freescale/fec_main.c Johannes Berg 2016-01-24 930 fep->hwp + FEC_ADDR_LOW);
5cfa30397 drivers/net/ethernet/freescale/fec_main.c Johannes Berg 2016-01-24 931 writel((__force u32)cpu_to_be32(temp_mac[1]),
5cfa30397 drivers/net/ethernet/freescale/fec_main.c Johannes Berg 2016-01-24 932 fep->hwp + FEC_ADDR_HIGH);
^1da177e4 drivers/net/fec.c Linus Torvalds 2005-04-16 933
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 934 /* Clear any outstanding interrupt. */
e17f7fecd drivers/net/ethernet/freescale/fec_main.c Nimrod Andy 2014-12-11 935 writel(0xffffffff, fep->hwp + FEC_IEVENT);
^1da177e4 drivers/net/fec.c Linus Torvalds 2005-04-16 936
14109a59c drivers/net/ethernet/freescale/fec.c Frank Li 2013-03-26 937 fec_enet_bd_init(ndev);
14109a59c drivers/net/ethernet/freescale/fec.c Frank Li 2013-03-26 938
59d0f7465 drivers/net/ethernet/freescale/fec_main.c Frank Li 2014-09-13 939 fec_enet_enable_ring(ndev);
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 940
59d0f7465 drivers/net/ethernet/freescale/fec_main.c Frank Li 2014-09-13 941 /* Reset tx SKB buffers. */
59d0f7465 drivers/net/ethernet/freescale/fec_main.c Frank Li 2014-09-13 942 fec_enet_reset_skb(ndev);
^1da177e4 drivers/net/fec.c Linus Torvalds 2005-04-16 943
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 944 /* Enable MII mode */
ef83337d1 drivers/net/ethernet/freescale/fec_main.c Russell King 2014-07-08 945 if (fep->full_duplex == DUPLEX_FULL) {
cd1f402c1 drivers/net/fec.c Uwe Kleine-König 2011-01-25 946 /* FD enable */
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 947 writel(0x04, fep->hwp + FEC_X_CNTRL);
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 948 } else {
cd1f402c1 drivers/net/fec.c Uwe Kleine-König 2011-01-25 949 /* No Rcv on Xmit */
cd1f402c1 drivers/net/fec.c Uwe Kleine-König 2011-01-25 950 rcntl |= 0x02;
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 951 writel(0x0, fep->hwp + FEC_X_CNTRL);
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 952 }
cd1f402c1 drivers/net/fec.c Uwe Kleine-König 2011-01-25 953
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 954 /* Set MII speed */
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 955 writel(fep->phy_speed, fep->hwp + FEC_MII_SPEED);
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 956
d13919301 drivers/net/ethernet/freescale/fec_main.c Guenter Roeck 2013-06-18 957 #if !defined(CONFIG_M5272)
18803495a drivers/net/ethernet/freescale/fec_main.c Greg Ungerer 2015-06-20 958 if (fep->quirks & FEC_QUIRK_HAS_RACC) {
4c09eed9d drivers/net/ethernet/freescale/fec_main.c Jim Baxter 2013-04-19 @959 val = readl(fep->hwp + FEC_RACC);
3ac72b7b6 drivers/net/ethernet/freescale/fec_main.c Eric Nelson 2016-09-24 960 /* align IP header */
3ac72b7b6 drivers/net/ethernet/freescale/fec_main.c Eric Nelson 2016-09-24 961 val |= FEC_RACC_SHIFT16;
4c09eed9d drivers/net/ethernet/freescale/fec_main.c Jim Baxter 2013-04-19 962 if (fep->csum_flags & FLAG_RX_CSUM_ENABLED)
3ac72b7b6 drivers/net/ethernet/freescale/fec_main.c Eric Nelson 2016-09-24 963 /* set RX checksum */
4c09eed9d drivers/net/ethernet/freescale/fec_main.c Jim Baxter 2013-04-19 964 val |= FEC_RACC_OPTIONS;
4c09eed9d drivers/net/ethernet/freescale/fec_main.c Jim Baxter 2013-04-19 965 else
4c09eed9d drivers/net/ethernet/freescale/fec_main.c Jim Baxter 2013-04-19 966 val &= ~FEC_RACC_OPTIONS;
4c09eed9d drivers/net/ethernet/freescale/fec_main.c Jim Baxter 2013-04-19 967 writel(val, fep->hwp + FEC_RACC);
55cd48c82 drivers/net/ethernet/freescale/fec_main.c Troy Kisky 2016-02-05 968 writel(PKT_MAXBUF_SIZE, fep->hwp + FEC_FTRL);
32867fcc0 drivers/net/ethernet/freescale/fec_main.c Fabio Estevam 2016-03-31 969 }
d13919301 drivers/net/ethernet/freescale/fec_main.c Guenter Roeck 2013-06-18 970 #endif
4c09eed9d drivers/net/ethernet/freescale/fec_main.c Jim Baxter 2013-04-19 971
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 972 /*
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 973 * The phy interface and speed need to get configured
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 974 * differently on enet-mac.
^1da177e4 drivers/net/fec.c Linus Torvalds 2005-04-16 975 */
6b7e40083 drivers/net/ethernet/freescale/fec_main.c Lothar Waßmann 2014-11-17 976 if (fep->quirks & FEC_QUIRK_ENET_MAC) {
cd1f402c1 drivers/net/fec.c Uwe Kleine-König 2011-01-25 977 /* Enable flow control and length check */
cd1f402c1 drivers/net/fec.c Uwe Kleine-König 2011-01-25 978 rcntl |= 0x40000000 | 0x00000020;
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 979
230dec613 drivers/net/ethernet/freescale/fec.c Shawn Guo 2011-09-23 980 /* RGMII, RMII or MII */
e813bb2b9 drivers/net/ethernet/freescale/fec_main.c Markus Pargmann 2015-04-30 981 if (fep->phy_interface == PHY_INTERFACE_MODE_RGMII ||
e813bb2b9 drivers/net/ethernet/freescale/fec_main.c Markus Pargmann 2015-04-30 982 fep->phy_interface == PHY_INTERFACE_MODE_RGMII_ID ||
e813bb2b9 drivers/net/ethernet/freescale/fec_main.c Markus Pargmann 2015-04-30 983 fep->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID ||
e813bb2b9 drivers/net/ethernet/freescale/fec_main.c Markus Pargmann 2015-04-30 984 fep->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID)
230dec613 drivers/net/ethernet/freescale/fec.c Shawn Guo 2011-09-23 985 rcntl |= (1 << 6);
230dec613 drivers/net/ethernet/freescale/fec.c Shawn Guo 2011-09-23 986 else if (fep->phy_interface == PHY_INTERFACE_MODE_RMII)
cd1f402c1 drivers/net/fec.c Uwe Kleine-König 2011-01-25 987 rcntl |= (1 << 8);
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 988 else
cd1f402c1 drivers/net/fec.c Uwe Kleine-König 2011-01-25 989 rcntl &= ~(1 << 8);
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 990
230dec613 drivers/net/ethernet/freescale/fec.c Shawn Guo 2011-09-23 991 /* 1G, 100M or 10M */
45f5c327c drivers/net/ethernet/freescale/fec_main.c Philippe Reynes 2016-05-10 992 if (ndev->phydev) {
45f5c327c drivers/net/ethernet/freescale/fec_main.c Philippe Reynes 2016-05-10 993 if (ndev->phydev->speed == SPEED_1000)
230dec613 drivers/net/ethernet/freescale/fec.c Shawn Guo 2011-09-23 994 ecntl |= (1 << 5);
45f5c327c drivers/net/ethernet/freescale/fec_main.c Philippe Reynes 2016-05-10 995 else if (ndev->phydev->speed == SPEED_100)
cd1f402c1 drivers/net/fec.c Uwe Kleine-König 2011-01-25 996 rcntl &= ~(1 << 9);
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 997 else
cd1f402c1 drivers/net/fec.c Uwe Kleine-König 2011-01-25 998 rcntl |= (1 << 9);
230dec613 drivers/net/ethernet/freescale/fec.c Shawn Guo 2011-09-23 999 }
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 1000 } else {
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 1001 #ifdef FEC_MIIGSK_ENR
6b7e40083 drivers/net/ethernet/freescale/fec_main.c Lothar Waßmann 2014-11-17 1002 if (fep->quirks & FEC_QUIRK_USE_GASKET) {
8d82f219c drivers/net/ethernet/freescale/fec.c Eric Benard 2012-01-12 1003 u32 cfgr;
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 1004 /* disable the gasket and wait */
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 1005 writel(0, fep->hwp + FEC_MIIGSK_ENR);
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 1006 while (readl(fep->hwp + FEC_MIIGSK_ENR) & 4)
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 1007 udelay(1);
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 1008
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 1009 /*
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 1010 * configure the gasket:
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 1011 * RMII, 50 MHz, no loopback, no echo
0ca1e290b drivers/net/fec.c Shawn Guo 2011-07-01 1012 * MII, 25 MHz, no loopback, no echo
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 1013 */
8d82f219c drivers/net/ethernet/freescale/fec.c Eric Benard 2012-01-12 1014 cfgr = (fep->phy_interface == PHY_INTERFACE_MODE_RMII)
8d82f219c drivers/net/ethernet/freescale/fec.c Eric Benard 2012-01-12 1015 ? BM_MIIGSK_CFGR_RMII : BM_MIIGSK_CFGR_MII;
45f5c327c drivers/net/ethernet/freescale/fec_main.c Philippe Reynes 2016-05-10 1016 if (ndev->phydev && ndev->phydev->speed == SPEED_10)
8d82f219c drivers/net/ethernet/freescale/fec.c Eric Benard 2012-01-12 1017 cfgr |= BM_MIIGSK_CFGR_FRCONT_10M;
8d82f219c drivers/net/ethernet/freescale/fec.c Eric Benard 2012-01-12 1018 writel(cfgr, fep->hwp + FEC_MIIGSK_CFGR);
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 1019
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 1020 /* re-enable the gasket */
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 1021 writel(2, fep->hwp + FEC_MIIGSK_ENR);
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 1022 }
45993653b drivers/net/fec.c Uwe Kleine-König 2011-01-19 1023 #endif
^1da177e4 drivers/net/fec.c Linus Torvalds 2005-04-16 1024 }
baa70a5c4 drivers/net/ethernet/freescale/fec.c Frank Li 2013-01-16 1025
:::::: The code at line 959 was first introduced by commit
:::::: 4c09eed9dc422e980fabdb25434ef68e599b704c net: fec: Enable imx6 enet checksum acceleration.
:::::: TO: Jim Baxter <jim_baxter@...tor.com>
:::::: CC: David S. Miller <davem@...emloft.net>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (45215 bytes)
Powered by blists - more mailing lists