OpenCloudOS-Kernel/drivers/net/ethernet/freescale/fs_enet
Gerhard Sittig 2771399ac9 fs_enet: cleanup clock API use
make the Freescale ethernet driver get, prepare and enable the FEC clock
during probe(); disable and unprepare the clock upon remove(), put is
done by the devm approach; hold a reference to the clock over the period
of use.

clock lookup is non-fatal as not all platforms provide clock specs in
their device tree; failure to enable specified clocks is fatal.

Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-08-22 22:13:54 -07:00
..
Kconfig net: Move MII out from under NET_CORE and hide it 2013-06-19 22:22:56 -07:00
Makefile
fec.h fs_enet: Add MPC5125 FEC support and PHY interface selection 2012-03-19 18:02:05 -04:00
fs_enet-main.c fs_enet: cleanup clock API use 2013-08-22 22:13:54 -07:00
fs_enet.h
mac-fcc.c
mac-fec.c fs_enet: Add MPC5125 FEC support and PHY interface selection 2012-03-19 18:02:05 -04:00
mac-scc.c
mii-bitbang.c net: ethernet: use platform_{get,set}_drvdata() 2013-05-25 21:27:58 -07:00
mii-fec.c net: ethernet: use platform_{get,set}_drvdata() 2013-05-25 21:27:58 -07:00