linux/drivers/net/ethernet/stmicro/stmmac
Giuseppe CAVALLARO 3c20f72f91 stmmac: update normal descriptor structure (v2)
This patch updates the normal descriptor structure
to work fine on new GMAC Synopsys chips.

Normal descriptors were designed on the old MAC10/100
databook 1.91 where some bits were reserved: for example
the tx checksum insertion and rx checksum offload.

The patch maintains the back-compatibility with old
MAC devices (tested on STx7109 MAC10/100) and adds new
fields that actually new GMAC devices can use.

For example, STx7109 (MAC10/100) will pass from the platform
  tx_coe = 0, enh_desc = 0, has_gmac = 0.
A platform like Loongson1B (GMAC) will pass:
  tx_coe = 1, enh_desc = 0, has_gmac = 1.

Thanks to Kelvin, he enhanced the normal descriptors for
GMAC (on MIPS Loongson1B platform).

Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-10-27 23:17:12 -04:00
..
chain_mode.c stmmac: add CHAINED descriptor mode support (V4) 2011-10-19 19:24:18 -04:00
common.h stmmac: update normal descriptor structure (v2) 2011-10-27 23:17:12 -04:00
descs_com.h stmmac: add CHAINED descriptor mode support (V4) 2011-10-19 19:24:18 -04:00
descs.h stmmac: update normal descriptor structure (v2) 2011-10-27 23:17:12 -04:00
dwmac100_core.c stmmac: rework the code to get the Synopsys ID (v3) 2011-09-15 15:40:01 -04:00
dwmac100_dma.c
dwmac100.h
dwmac1000_core.c stmmac: rework the code to get the Synopsys ID (v3) 2011-09-15 15:40:01 -04:00
dwmac1000_dma.c stmmac: add HW DMA feature register (v3) 2011-09-15 15:40:01 -04:00
dwmac1000.h
dwmac_dma.h stmmac: add HW DMA feature register (v3) 2011-09-15 15:40:01 -04:00
dwmac_lib.c
enh_desc.c stmmac: add CHAINED descriptor mode support (V4) 2011-10-19 19:24:18 -04:00
Kconfig stmmac: add CHAINED descriptor mode support (V4) 2011-10-19 19:24:18 -04:00
Makefile stmmac: add CHAINED descriptor mode support (V4) 2011-10-19 19:24:18 -04:00
mmc_core.c stmmac: add MMC support exported via ethtool (v3) 2011-09-15 15:40:01 -04:00
mmc.h stmmac: add MMC support exported via ethtool (v3) 2011-09-15 15:40:01 -04:00
norm_desc.c stmmac: update normal descriptor structure (v2) 2011-10-27 23:17:12 -04:00
ring_mode.c stmmac: add CHAINED descriptor mode support (V4) 2011-10-19 19:24:18 -04:00
stmmac_ethtool.c stmmac: update normal descriptor structure (v2) 2011-10-27 23:17:12 -04:00
stmmac_main.c stmmac: update normal descriptor structure (v2) 2011-10-27 23:17:12 -04:00
stmmac_mdio.c
stmmac_timer.c
stmmac_timer.h
stmmac.h stmmac: add CHAINED descriptor mode support (V4) 2011-10-19 19:24:18 -04:00