]> git.baikalelectronics.ru Git - kernel.git/commit
net: systemport: Create helper to set MPD
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 3 Aug 2018 18:08:44 +0000 (11:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Aug 2018 19:11:43 +0000 (12:11 -0700)
commite3b7f45330baacadf780a6ba7af5e4e2c23b52f1
treec150ad21f083744ab24abba28f44dcd9c477c907
parentd153e37e43d9e6b64a8ee72566b2768fb316f469
net: systemport: Create helper to set MPD

Create a helper function to turn on/off MPD, this will be used to avoid
duplicating code as we are going to add additional types of wake-up
types.

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