2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-08 05:34:29 +08:00
linux-next/drivers/net/ethernet/stmicro/stmmac
Chen-Yu Tsai d7ec858413 net: stmmac: Handle different error codes from platform_get_irq_byname
The following patch moved device tree interrupt resolution into
platform_get_irq_byname:

  ad69674 of/irq: do irq resolution in platform_get_irq_byname()

As a result, the function no longer only return -ENXIO on error.
This breaks DT based probing of stmmac, as seen in test runs of
linux-next next-20140526 cubie2-sunxi_defconfig:

  http://lists.linaro.org/pipermail/kernel-build-reports/2014-May/003659.html

This patch makes the stmmac_platform probe function properly handle
error codes, such as returning for deferred probing, and other codes
returned by of_irq_get_by_name.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-06-02 14:04:06 -07:00
..
chain_mode.c stmmac: fix chained mode 2014-03-11 16:14:31 -04:00
common.h stmmac: fix chained mode 2014-03-11 16:14:31 -04:00
descs_com.h stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
descs.h stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
dwmac100_core.c stmmac: Fix kernel crashes for jumbo frames 2014-01-21 17:05:27 -08:00
dwmac100_dma.c stmmac: dity-up and rework the driver debug levels 2013-07-02 16:04:53 -07:00
dwmac100.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
dwmac1000_core.c stmmac: Fix kernel crashes for jumbo frames 2014-01-21 17:05:27 -08:00
dwmac1000_dma.c stmmac: dity-up and rework the driver debug levels 2013-07-02 16:04:53 -07:00
dwmac1000.h stmmac: Fix kernel crashes for jumbo frames 2014-01-21 17:05:27 -08:00
dwmac_dma.h stmicro: Remove extern from function prototypes 2013-09-24 12:54:08 -07:00
dwmac_lib.c stmmac: dity-up and rework the driver debug levels 2013-07-02 16:04:53 -07:00
dwmac-socfpga.c net: stmmac: Add SOCFPGA glue driver 2014-03-28 15:06:32 -04:00
dwmac-sti.c net: stmmac:sti: Add STi SOC glue driver. 2014-02-13 16:25:13 -05:00
dwmac-sunxi.c net: stmmac: sunxi platform extensions for GMAC in Allwinner A20 SoC's 2014-01-19 20:02:41 -08:00
enh_desc.c stmmac: dity-up and rework the driver debug levels 2013-07-02 16:04:53 -07:00
Kconfig net: stmmac: Add SOCFPGA glue driver 2014-03-28 15:06:32 -04:00
Makefile net: stmmac: Add SOCFPGA glue driver 2014-03-28 15:06:32 -04:00
mmc_core.c stmmac: prevent interrupt loop with MMC RX IPC Counter 2013-04-11 16:03:22 -04:00
mmc.h stmicro: Remove extern from function prototypes 2013-09-24 12:54:08 -07:00
norm_desc.c stmmac: dity-up and rework the driver debug levels 2013-07-02 16:04:53 -07:00
ring_mode.c stmmac: fix chained mode 2014-03-11 16:14:31 -04:00
stmmac_ethtool.c stmmac: Remove spin_lock call in stmmac_get_pauseparam() 2014-06-02 10:38:14 -07:00
stmmac_hwtstamp.c driver:stmmac: Adjust time stamp increase for 0.465 ns accurate only when Time stamp binary rollover is set. 2013-09-04 14:37:02 -04:00
stmmac_main.c net: stmmac: Handle different error codes from platform_get_irq_byname 2014-06-02 14:04:06 -07:00
stmmac_mdio.c net: stmmac: set phy to use polling by default 2014-04-30 13:31:26 -04:00
stmmac_pci.c net: stmmac: Add support for optional reset control 2014-01-19 20:02:02 -08:00
stmmac_platform.c net: stmmac: Handle different error codes from platform_get_irq_byname 2014-06-02 14:04:06 -07:00
stmmac_ptp.c ptp: drivers: set the number of programmable pins. 2014-03-21 14:21:14 -04:00
stmmac_ptp.h stmmac: add IEEE PTPv1 and PTPv2 support. 2013-03-26 12:53:37 -04:00
stmmac.h net: stmmac: Add SOCFPGA glue driver 2014-03-28 15:06:32 -04:00