]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: systemport: update umac_enable_set to take a bitmask
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 2 Jul 2014 04:08:36 +0000 (21:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jul 2014 03:56:47 +0000 (20:56 -0700)
commit18e21b01fb94d8f6125cf73a477fdb3f88820608
tree2c741938a11f6c713e10bcc5ad9e38f53ae5c9f5
parent4710d806fcb825156e0a7b3a81104915c5e90f5d
net: systemport: update umac_enable_set to take a bitmask

Quite often we need to enable either the transmitter or the receiver
bits in UMAC_CMD, use umac_enable_set() to do that for us.

This is a preliminary change to introduce suspend/resume support in the
driver.

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