OpenCloudOS-Kernel/drivers/net/stmmac
Giuseppe CAVALLARO 65818fa744 stmmac: do not call fix_mac_speed if NULL
On some platforms, fix_mac_speed is used for
configuring some sysconf registers according
to the working speed.
This patch fixes the fix_mac_speed invocation
that cannot be done if it is a NULL pointer.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-01-07 17:06:08 -08:00
..
Kconfig net: add support for STMicroelectronics Ethernet controllers. 2009-10-14 15:13:45 -07:00
Makefile net: add support for STMicroelectronics Ethernet controllers. 2009-10-14 15:13:45 -07:00
common.h net: add support for STMicroelectronics Ethernet controllers. 2009-10-14 15:13:45 -07:00
descs.h net: add support for STMicroelectronics Ethernet controllers. 2009-10-14 15:13:45 -07:00
gmac.c stmmac: perform hw bus configuration 2010-01-07 17:06:07 -08:00
gmac.h tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
mac100.c net: add support for STMicroelectronics Ethernet controllers. 2009-10-14 15:13:45 -07:00
mac100.h net: add support for STMicroelectronics Ethernet controllers. 2009-10-14 15:13:45 -07:00
stmmac.h stmmac: rewiew platform data 2010-01-07 17:06:07 -08:00
stmmac_ethtool.c net: add support for STMicroelectronics Ethernet controllers. 2009-10-14 15:13:45 -07:00
stmmac_main.c stmmac: do not call fix_mac_speed if NULL 2010-01-07 17:06:08 -08:00
stmmac_mdio.c net: add support for STMicroelectronics Ethernet controllers. 2009-10-14 15:13:45 -07:00
stmmac_timer.c stmmac: fixed a compilation error when use the external timer 2009-11-23 10:37:47 -08:00
stmmac_timer.h stmmac: do not fail when the timer cannot be used. 2009-11-23 10:37:52 -08:00