net: systemport: wait for packet in umac_enable_set()
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 15 May 2014 21:33:53 +0000 (14:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 May 2014 20:41:40 +0000 (16:41 -0400)
commit00b91c693e9da851385eed8c9492ac0b0d4e4896
tree702e57caf0fe830c9de5366ebf08c862e0a28ef6
parentb1ff53e9fd26a11ede97fcad5ff2e9be00b61bf8
net: systemport: wait for packet in umac_enable_set()

When umac_enable_set() is used to disable the UniMAC receiver or
transmitter, we need to make sure that we wait for a full-sized packet
to be processed because the UniMAC hardware stops on a packet boundary,
not immediately.

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