commit | 909ff5efbab85f2724c5f91ec200ebc9df50c440 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Mon Jul 21 15:29:21 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 21 16:04:30 2014 -0700 |
tree | db1b9420c3394803c8f925a56d2be64a5708df72 | |
parent | e29585b8d8707686d3f8f66fdfd20d8c66fb5f6d [diff] |
net: bcmgenet: modularize bcmgenet_{open,close} Introduce a bunch of helper functions: bcmgenet_netif_start, bcmgenet_netif_stop and bcmgenet_intr_disable to help reuse code that is going to be necessary for suspend/resume. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>