WSL2-Linux-Kernel/drivers/net/ethernet/freescale
Johannes Berg 05f3b50ea8 net: fec: use CONFIG_ARM instead of CONFIG_ARCH_MXC/SOC_IMX28
As Arnd Bergmann points out, using CONFIG_ARCH_MXC and/or SOC_IMX28
is wrong if some other ARM platform uses this device - the operation
of the driver would depend on an unrelated ARM platform that might
or might not be set for multi-platform kernels.

Prior to my previous patch, any other platforms using it would have
been broken already due to having the cbd_datlen/cbd_sc fields in
the wrong order, but byte ordering correctly, so no such platforms
can exist and work today.

In any case, it seems likely that only Freescale SoCs use this part,
and those are little-endian on ARM, so CONFIG_ARM is safe for them.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-01-25 10:51:53 -08:00
..
fman fsl/fman: Delete one function call "put_device" in dtsec_config() 2016-01-14 15:03:41 -05:00
fs_enet 82xx: FCC: Fixing a bug causing to FCC port lock-up (second try) 2016-01-25 10:47:01 -08:00
Kconfig fsl/fman: Add FMan MURAM support 2015-12-27 20:51:39 -05:00
Makefile net: fec: make driver endian-safe 2016-01-25 10:51:52 -08:00
fec.h net: fec: use CONFIG_ARM instead of CONFIG_ARCH_MXC/SOC_IMX28 2016-01-25 10:51:53 -08:00
fec_main.c net: fec: use CONFIG_ARM instead of CONFIG_ARCH_MXC/SOC_IMX28 2016-01-25 10:51:53 -08:00
fec_mpc52xx.c net: mpc52xx: Use platform_register/unregister_drivers() 2015-12-03 15:14:58 -05:00
fec_mpc52xx.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
fec_mpc52xx_phy.c mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
fec_ptp.c net: fec: avoid timespec use 2015-10-05 03:16:39 -07:00
fsl_pq_mdio.c powerpc updates for 4.5 2016-01-15 13:18:47 -08:00
gianfar.c phy: Add an mdio_device structure 2016-01-07 14:31:26 -05:00
gianfar.h gianfar: Don't enable RX Filer if not supported 2015-12-16 18:31:00 -05:00
gianfar_ethtool.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-11-01 00:15:30 -04:00
gianfar_ptp.c net: fsl: Fix error checking for platform_get_irq() 2015-11-30 15:19:44 -05:00
ucc_geth.c powerpc updates for 4.5 2016-01-15 13:18:47 -08:00
ucc_geth.h QE: Move QE from arch/powerpc to drivers/soc 2015-12-22 17:12:56 -06:00
ucc_geth_ethtool.c drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
xgmac_mdio.c net/fsl: constify of_device_id array 2015-03-17 15:00:21 -04:00