commit | 90f750a81a29587846e907d2c8ed60a0586ce632 | [log] [tgz] |
---|---|---|
author | Florian Fainelli <florian@openwrt.org> | Wed Apr 11 07:18:36 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 12 16:06:23 2012 -0400 |
tree | a029d7e97a5c67c1ece4b7fc40ed402604ce9b12 | |
parent | c1e6aaf0ab0150d625dc266721c033db8b43e49d [diff] |
r6040: consolidate MAC reset to its own function The reset of the MAC is currently done identically from two places and one place is not waiting for the MAC_SM bit to be set after reset. Everytime the MAC is software resetted a state machine is also needed so consolidate the reset to its own function. Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>