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)
commit54226116add4dcfe6391ffb810225f78c9c3d245
treec150ad21f083744ab24abba28f44dcd9c477c907
parent9e85e22713d6fed4873057493d6307c08b1d86a6
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