[PATCH v2 4/9] net: stmmac: move hardware setup for stmmac_open to new function

2014-01-16 Thread srinivas.kandagatla
From: Srinivas Kandagatla This patch moves hardware setup part of the code in stmmac_open to a new function stmmac_hw_setup, the reason for doing this is to make hw initialization independent function so that PM functions can re-use it to re-initialize the IP after returning from low power

[PATCH v2 4/9] net: stmmac: move hardware setup for stmmac_open to new function

2014-01-16 Thread srinivas.kandagatla
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch moves hardware setup part of the code in stmmac_open to a new function stmmac_hw_setup, the reason for doing this is to make hw initialization independent function so that PM functions can re-use it to re-initialize the IP after