[net-next 0/8] stmmac: update to Oct 2011 version (v4)
From: Giuseppe CAVALLARO <hidden>
Date: 2011-10-18 10:01:42
This patches update the driver adding the chained
descriptor mode and some new useful fixes.
I've reviewed some patches after the V1/2/3 and added new ones:
stmmac: allow mtu bigger than 1500 in case of normal desc (V4)
|-> removed the useless max_mtu init: Thx Eric's feedback
stmmac: add CHAINED descriptor mode support (V4)
|-> removed ifdef in the C and added small routines
specialised for chained/ring modes. See comment
within the patch itself. Thx David's feedback.
stmmac: allow mmc usage only if feature actually available (V4)
|-> added a check if interface is NULL
stmmac: limit max_mtu in case of 4KiB and use __netdev_alloc_skb.
|-> another enhancements proposed by Eric (built on top of the
V3 patches sent today).
stmmac: use predefined macros for HW cap register fields (V4)
stmmac: allow mmc usage only if feature actually available (V4)
Let me know if all is ok.
Regards
Peppe
Giuseppe Cavallaro (6):
stmmac: protect tx process with lock (V4)
stmmac: update the driver version and doc (V4)
stmmac: allow mtu bigger than 1500 in case of normal desc (V4)
stmmac: allow mmc usage only if feature actually available (V4)
stmmac: add CHAINED descriptor mode support (V4)
stmmac: limit max_mtu in case of 4KiB and use __netdev_alloc_skb.
Rayagond Kokatanur (1):
stmmac: use predefined macros for HW cap register fields (V4)
Srinivas Kandagatla (1):
stmmac: Stop advertising 1000Base capabilties for non GMII iface
(V4).
Documentation/networking/stmmac.txt | 11 +-
drivers/net/ethernet/stmicro/stmmac/Kconfig | 18 ++
drivers/net/ethernet/stmicro/stmmac/Makefile | 2 +
drivers/net/ethernet/stmicro/stmmac/chain_mode.c | 137 ++++++++++++
drivers/net/ethernet/stmicro/stmmac/common.h | 43 ++++
drivers/net/ethernet/stmicro/stmmac/descs_com.h | 126 +++++++++++
drivers/net/ethernet/stmicro/stmmac/enh_desc.c | 22 +--
drivers/net/ethernet/stmicro/stmmac/norm_desc.c | 14 +-
drivers/net/ethernet/stmicro/stmmac/ring_mode.c | 126 +++++++++++
drivers/net/ethernet/stmicro/stmmac/stmmac.h | 5 +-
.../net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 24 ++-
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 223 ++++++++++----------
12 files changed, 610 insertions(+), 141 deletions(-)
create mode 100644 drivers/net/ethernet/stmicro/stmmac/chain_mode.c
create mode 100644 drivers/net/ethernet/stmicro/stmmac/descs_com.h
create mode 100644 drivers/net/ethernet/stmicro/stmmac/ring_mode.c
--
1.7.4.4