linux/drivers/net/ethernet
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
..
3com net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
8390
adaptec net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
adi
aeroflex net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
alteon net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
amd
apple cs89x0: Move the driver into the Cirrus dir 2011-10-18 23:41:43 -04:00
atheros Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2011-10-25 13:25:22 +02:00
broadcom bnx2x: update driver version to 1.70.30-0 2011-10-27 16:14:17 -04:00
brocade net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
cadence
chelsio cxgb4vf: convert to SKB paged frag API. 2011-10-21 02:52:52 -04:00
cirrus cs89x0: Move the driver into the Cirrus dir 2011-10-18 23:41:43 -04:00
cisco net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
davicom
dec Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2011-10-25 13:25:22 +02:00
dlink
emulex be2net: Changing MAC Address of a VF was broken. 2011-10-27 23:16:20 -04:00
faraday ftmac100: fix skb truesize underestimation 2011-10-13 22:28:29 -04:00
freescale
fujitsu
hp
i825xx
ibm ehea: fix skb_frag_size typo 2011-10-25 16:20:43 +02:00
icplus
intel Merge branch 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm 2011-10-25 15:18:39 +02:00
marvell Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2011-10-25 13:25:22 +02:00
mellanox Merge branch 'master' of ra.kernel.org:/pub/scm/linux/kernel/git/davem/net 2011-10-24 18:18:09 -04:00
micrel Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2011-10-25 13:25:22 +02:00
microchip
myricom myri10ge: fix truesize underestimation 2011-10-20 17:04:20 -04:00
natsemi net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
neterion net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
nuvoton
nvidia net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
octeon
oki-semi net: Remove unnecessary driver assignments of ethtool_ringparam fields to zero 2011-10-07 19:13:28 -04:00
packetengines
pasemi net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
qlogic net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
racal
rdc r6040: bump version to 0.28 and date to 07Oct2011. 2011-10-09 23:50:59 -04:00
realtek Merge branch 'master' of ra.kernel.org:/pub/scm/linux/kernel/git/davem/net 2011-10-24 18:18:09 -04:00
renesas
seeq
sfc net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
sgi
sis
smsc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2011-10-25 13:25:22 +02:00
stmicro stmmac: update normal descriptor structure (v2) 2011-10-27 23:17:12 -04:00
sun net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
tehuti net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
ti
tile Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2011-10-25 13:25:22 +02:00
toshiba
tundra net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
via net: add skb frag size accessors 2011-10-19 03:10:46 -04:00
xilinx ll_temac: Add support for ethtool 2011-10-20 17:10:55 -04:00
xircom
xscale
dnet.c
dnet.h
ethoc.c
fealnx.c
jme.c Merge branch 'master' of ra.kernel.org:/pub/scm/linux/kernel/git/davem/net 2011-10-24 18:18:09 -04:00
jme.h
Kconfig
korina.c
lantiq_etop.c
Makefile
mipsnet.c
netx-eth.c
s6gmac.c