linux/drivers/net/ethernet/broadcom
Matt Carlson 34655ad638 tg3: Fix link check in tg3_adjust_link
The tg3 driver tried to detect link changes by comparing the tg3 local
active_speed member with SPEED_UNKNOWN (or formerly SPEED_INVALID).
This check is not correct, since phylib will never set its speed member
to either of these two values.  The code only appeared to work because
tg3 initializes active_speed to SPEED_INVALID during tg3_init_one.  This
patch introduces a new "old_link" tg3 member and then compares the
phy_device's link member against it to detect link state changes.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-23 01:57:17 -05:00
..
bnx2x bnx2x: update driver version to 1.72.10-0 2012-02-20 19:34:08 -05:00
b44.c drivers/net: Remove alloc_etherdev error messages 2012-01-31 16:20:48 -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: Add missing memory barrier in bnx2_start_xmit() 2012-02-05 22:42:00 -05:00
bnx2.h bnx2: Add support for ethtool --show-channels|--set-channels 2012-02-05 22:42:00 -05:00
cnic_defs.h cnic: update for FW 7.2.xx 2012-02-20 19:34:08 -05:00
cnic_if.h cnic: Update VLAN ID during ISCSI_UEVENT_PATH_UPDATE 2012-02-09 14:03:50 -05:00
cnic.c cnic: Update VLAN ID during ISCSI_UEVENT_PATH_UPDATE 2012-02-09 14:03:50 -05:00
cnic.h
Kconfig
Makefile
sb1250-mac.c drivers/net: Remove alloc_etherdev error messages 2012-01-31 16:20:48 -05:00
tg3.c tg3: Fix link check in tg3_adjust_link 2012-02-23 01:57:17 -05:00
tg3.h tg3: Fix link check in tg3_adjust_link 2012-02-23 01:57:17 -05:00