Re: [PATCH net-next v3] net: stmmac: add platform init/exit for Altera's ARM socfpga
From: David Miller <davem@davemloft.net>
Date: 2014-07-30 22:12:21
From: David Miller <davem@davemloft.net>
Date: 2014-07-30 22:12:21
From: Vince Bridgers <redacted> Date: Mon, 28 Jul 2014 14:07:58 -0500
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 <redacted>
---
V3: respin for net-next after phy_suspend was exported by libphy
per suggestion from Florian. No changes to patch from V2 -> V3.
V2: Address review comments - add line break before structure declApplied, thank you.