linux/drivers/net/ethernet/broadcom
Matt Carlson 65ec698d13 tg3: Fix tg3_get_stats64 for 5700 / 5701 devs
tg3_get_stats64() takes tp->lock when dealing with non-serdes bcm5700
and bcm5701 devices.  However, functions that call tg3_halt() have
already acquired tp->lock.  When tg3_get_stats64() is called in
tg3_halt(), deadlock will occur.

This patch fixes the problem by separating the stat gathering code into
a new tg3_get_nstats() function.  tg3_get_stats64() is recoded to call
this function and take tp->lock.  The code that takes tp->lock in
tg3_calc_crc_errors() has been removed.  Function signatures have been
cleaned up too.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-29 13:46:05 -05:00
..
bnx2x bnx2x: remove the 'poll' module option 2012-02-14 14:39:45 -05:00
b44.c b44: remove __exit from b44_pci_exit() 2012-02-19 18:57:51 -05:00
b44.h
bcm63xx_enet.c bcm63xx-enet: fix PHY name to match MDIO bus name 2012-02-13 16:04:08 -05:00
bcm63xx_enet.h
bnx2_fw.h
bnx2.c bnx2: Update driver to use new mips firmware. 2011-12-19 15:46:28 -05:00
bnx2.h bnx2: switch to build_skb() infrastructure 2011-11-18 02:04:47 -05:00
cnic_defs.h cnic: Improve error recovery on bnx2x devices 2012-01-05 14:01:21 -05:00
cnic_if.h cnic: Improve error recovery on bnx2x devices 2012-01-05 14:01:21 -05:00
cnic.c ethernet/broadcom: ip6_route_output() never returns NULL. 2012-02-22 15:30:14 -05:00
cnic.h
Kconfig
Makefile
sb1250-mac.c sb1250: use an unique MDIO bus name. 2012-01-10 16:35:00 -08:00
tg3.c tg3: Fix tg3_get_stats64 for 5700 / 5701 devs 2012-02-29 13:46:05 -05:00
tg3.h tg3: Break out RSS indir table init and assignment 2011-12-15 13:09:11 -05:00