]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: fix chained mode
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Mon, 10 Mar 2014 12:40:33 +0000 (13:40 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 11 Mar 2014 20:14:31 +0000 (16:14 -0400)
commit25badf421496faad213f370f23112a51e255ea02
tree04bdb2086f72bb042b5505a37f1e4dedeec7ae81
parent7d56927082bfcd322c2c7e07a20d10e75f377ded
stmmac: fix chained mode

This patch is to fix the chain mode that was broken
and generated a panic. This patch reviews the chain/ring
modes now shaing the same structure and taking care
about the pointers and callbacks.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/chain_mode.c
drivers/net/ethernet/stmicro/stmmac/common.h
drivers/net/ethernet/stmicro/stmmac/ring_mode.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c