OpenCloudOS-Kernel/drivers/net/ethernet/stmicro/stmmac
Byungho An 61369d0259 net: stmmac: fixed enh_desc set always zero
This patch fixed that enh_desc value is always zero.
Due to calling order of stmmac_selec_desc_mode(), enh_desc value is always zero.
Even though mac is set to use enhanced dma descriptor, if enh_desc is zero,
functions related dma descriptor are not working correctly.

Signed-off-by: Byungho An <bh74.an@samsung.com>
Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-07-01 13:33:03 -07:00
..
Kconfig net: Move MII out from under NET_CORE and hide it 2013-06-19 22:22:56 -07:00
Makefile stmmac: add the support for PTP hw clock driver 2013-03-26 12:53:37 -04:00
chain_mode.c stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
common.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
descs_com.h stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
dwmac100.h stmmac: add header inclusion protection 2012-08-24 13:25:05 -04:00
dwmac100_core.c stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
dwmac100_dma.c stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
dwmac1000.h stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
dwmac1000_core.c stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
dwmac1000_dma.c stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
dwmac_dma.h stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
dwmac_lib.c stmmac: add Rx watchdog support to mitigate the DMA irqs 2012-11-26 17:22:12 -05:00
enh_desc.c stmmac: add IEEE PTPv1 and PTPv2 support. 2013-03-26 12:53:37 -04:00
mmc.h stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
mmc_core.c stmmac: prevent interrupt loop with MMC RX IPC Counter 2013-04-11 16:03:22 -04:00
norm_desc.c stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
ring_mode.c stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
stmmac.h stmmac: review private structure fields 2013-04-08 16:55:27 -04:00
stmmac_ethtool.c stmmac: add the support for PTP hw clock driver 2013-03-26 12:53:37 -04:00
stmmac_hwtstamp.c stmmac: add the support for PTP hw clock driver 2013-03-26 12:53:37 -04:00
stmmac_main.c net: stmmac: fixed enh_desc set always zero 2013-07-01 13:33:03 -07:00
stmmac_mdio.c stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
stmmac_pci.c stmmac: code tidy-up 2013-04-08 16:55:27 -04:00
stmmac_platform.c net: ethernet: remove unnecessary platform_set_drvdata() 2013-05-27 22:34:51 -07:00
stmmac_ptp.c stmmac: improve/review and fix kernel-doc 2013-04-08 16:55:27 -04:00
stmmac_ptp.h stmmac: add IEEE PTPv1 and PTPv2 support. 2013-03-26 12:53:37 -04:00