]> git.baikalelectronics.ru Git - kernel.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)
commitbd80f205e1c45b4e90ee57abd236c82072c8fcc3
tree2c741938a11f6c713e10bcc5ad9e38f53ae5c9f5
parent1261560be31bb2c134ae33d4aa0f2447f5819ebb
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