]> git.baikalelectronics.ru Git - kernel.git/commit
net: systemport: add bcm_sysport_netif_{enable,stop}
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 2 Jul 2014 04:08:37 +0000 (21:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2014 03:56:47 +0000 (20:56 -0700)
commitf2d221f6c00455dc53bb3d5b3fb2a53c4e1538cd
tree737377924286e18d4bf0d0a83537335d9d80ca4a
parent23374e9484f51209012dcc481dff7f3c8bf7b322
net: systemport: add bcm_sysport_netif_{enable,stop}

Factor common code that either enables or disables the network
interface with the networking stack. We are going to reuse these
functions for suspend/resume callbacks.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bcmsysport.c