aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/stmmac/common.h
diff options
context:
space:
mode:
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>2010-07-27 00:09:46 +0000
committerDavid S. Miller <davem@davemloft.net>2010-07-27 20:43:50 -0700
commitca09c9760101b607cd2282c45b342655e26fa683 (patch)
treedff6ecf3387ab18a62176622ad1c0c0c2d1ec672 /drivers/net/stmmac/common.h
parentbnx2x: Update MAINTAINERS according to new location (diff)
downloadlinux-dev-ca09c9760101b607cd2282c45b342655e26fa683.tar.xz
linux-dev-ca09c9760101b607cd2282c45b342655e26fa683.zip
stmmac: fix timer setup when use dual mac Kconfig
The driver erroneously sets the tmrate to zero when the TMU initialisation fails. This actually generates problems while using the dual GMAC configuration. With this patch, enabling both the dual gmac and the timer optimisation, the first interface opened will use the tmu channel 2, the second one won't be able to use the timer but will continue to work without mitigating the interrupts by using the external timer (i.e. TMU channel 2). Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/stmmac/common.h')
0 files changed, 0 insertions, 0 deletions