1
0
Fork 0
alistair23-linux/drivers/net/ethernet/broadcom
Florian Fainelli 412bce83ac net: systemport: fix UniMAC reset logic
The UniMAC CMD_SW_RESET bit is not a self-clearing bit, so we need to
assert it, wait a bit and clear it manually. As a result, umac_reset()
is updated not to return any value. The previous version of the code
simply wrote 0 to the CMD register, which would make the busy-waiting
loop exit immediately, having zero effect.

By writing 0 to the CMD register, we were clearing all bits in the CMD
register, and not using the hardware reset default values which are
set on purpose.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-01 17:10:16 -07:00
..
bnx2x bnx2x: fix possible panic under memory stress 2014-07-01 12:20:20 -07:00
genet net: bcmgenet: use the new fixed PHY helpers 2014-05-22 15:16:43 -04:00
Kconfig net: systemport: hook SYSTEMPORT driver in the build 2014-04-26 12:57:40 -04:00
Makefile net: systemport: hook SYSTEMPORT driver in the build 2014-04-26 12:57:40 -04:00
b44.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
b44.h b44: use fixed PHY device if we do not find any 2013-12-20 20:48:49 -05:00
bcm63xx_enet.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
bcm63xx_enet.h bcm63xx_enet: add support Broadcom BCM6345 Ethernet 2013-06-13 17:22:08 -07:00
bcmsysport.c net: systemport: fix UniMAC reset logic 2014-07-01 17:10:16 -07:00
bcmsysport.h drivers/net: fix broadcom/bcmsysport.c compile fail on SPARC 2014-06-02 16:45:34 -07:00
bgmac.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
bgmac.h bgmac: add support for Northstar SoC (BCM4707, BCM53018) 2014-01-04 20:25:20 -05:00
bnx2.c net: use SPEED_UNKNOWN and DUPLEX_UNKNOWN when appropriate 2014-06-06 16:24:07 -07:00
bnx2.h bnx2: Fix shutdown sequence 2014-03-09 19:02:27 -04:00
bnx2_fw.h
cnic.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-06-12 14:27:40 -07:00
cnic.h cnic: Update version to 2.5.20 and copyright year. 2014-03-18 16:02:16 -04:00
cnic_defs.h cnic: Update version to 2.5.20 and copyright year. 2014-03-18 16:02:16 -04:00
cnic_if.h cnic: Update version to 2.5.20 and copyright year. 2014-03-18 16:02:16 -04:00
sb1250-mac.c drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
tg3.c tg3: Change nvram command timeout value to 50ms 2014-06-25 15:56:21 -07:00
tg3.h tg3: Update copyright and version to 3.137 2014-05-13 18:38:51 -04:00