commit | da40d9d4b5932d27d8cf3fea685d4cd466b88ec3 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed Apr 05 12:28:49 2017 +1000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 06 12:38:04 2017 -0700 |
tree | 4af0e06087cec827ec5321f428a2e3fae4827694 | |
parent | 81f1eca663c070ea07eb390ca2a0b205287c8fc1 [diff] |
ftgmac100: Move the bulk of inits to a separate function The link monitoring and error handling code will have to redo the ring inits and HW setup so move the code out of ftgmac100_open() into a dedicated function. This forces a bit of re-ordering of ftgmac100_open() but nothing dramatic. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David S. Miller <davem@davemloft.net>