net: stmmac: Enable stmmac main clock when probing hardware
authorChen-Yu Tsai <wens@csie.org>
Fri, 17 Jan 2014 13:24:40 +0000 (21:24 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jan 2014 04:02:02 +0000 (20:02 -0800)
commit62866e98737e77c87f9dec99edea76ab54360770
tree9068887226332e170208164c891936a6258d459e
parent2c2dc1619e429c30356d76d29e93576ba031a80c
net: stmmac: Enable stmmac main clock when probing hardware

The stmmac driver does not enable the main clock during the probe phase.
If the clock was not enabled by the boot loader or was disabled by the
kernel, hardware features and the MDIO bus would not be probed properly.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c