diff options
author | Vince Bridgers <vbridgers2013@gmail.com> | 2014-07-28 14:07:58 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-07-30 15:11:54 -0700 |
commit | 2d871aa07136fe6e576bde63072cf33e2c664e95 (patch) | |
tree | 2121873a04bd15b229a71672f7a8f05932fef2d5 /net/dcb | |
parent | 7aa06bf57bb633681e11c06c85604ad014910d55 (diff) | |
download | op-kernel-dev-2d871aa07136fe6e576bde63072cf33e2c664e95.zip op-kernel-dev-2d871aa07136fe6e576bde63072cf33e2c664e95.tar.gz |
net: stmmac: add platform init/exit for Altera's ARM socfpga
This patch adds platform init/exit functions and modifications to support
suspend/resume for the Altera Cyclone 5 SOC Ethernet controller. The platform
exit function puts the controller into reset using the socfpga reset
controller driver. The platform init function sets up the Synopsys mac by
first making sure the Ethernet controller is held in reset, programming the
phy mode through external support logic, then deasserts reset through
the socfpga reset manager driver.
Signed-off-by: Vince Bridgers <vbridgers2013@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dcb')
0 files changed, 0 insertions, 0 deletions