]> git.baikalelectronics.ru Git - kernel.git/commit
net: sgi: ioc3-eth: introduce chip start function
authorThomas Bogendoerfer <tbogendoerfer@suse.de>
Fri, 30 Aug 2019 09:25:31 +0000 (11:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2019 20:54:35 +0000 (13:54 -0700)
commit86a46aac8643b143e4bb23afac97395e31799493
treee2b6118f7e9384f199d6112f8ed4f6aab7f05a38
parent42f7754e625035fee35cf6f4a44d403be5971f35
net: sgi: ioc3-eth: introduce chip start function

ioc3_init did everything from reset to init rings to starting the chip.
This change move out chip start into a new function as preparation
for easier handling of receive buffer allocation failures.

Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sgi/ioc3-eth.c