linux/drivers/usb/net
Dan Williams c43c49bd61 usb-net/pegasus: fix pegasus carrier detection
Broken by 4a1728a28a which switched the
return semantics of read_mii_word() but didn't fix usage of
read_mii_word() to conform to the new semantics.

Setting carrier to off based on the NO_CARRIER flag is also incorrect as
that flag only triggers on TX failure and therefore isn't correct when
no frames are being transmitted.  Since there is already a 2*HZ MII
carrier check going on, defer to that.

Add a TRUST_LINK_STATUS feature flag for adapters where the LINK_STATUS
flag is actually correct, and use that rather than the NO_CARRIER flag.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-04-24 12:46:31 -04:00
..
Kconfig USB: Davicom DM9601 usbnet driver 2007-02-23 15:03:45 -08:00
Makefile USB: Davicom DM9601 usbnet driver 2007-02-23 15:03:45 -08:00
asix.c USB: asix.c - Add JVC-PRX1 ids 2007-02-23 15:03:45 -08:00
catc.c [PATCH] slab: remove SLAB_ATOMIC 2006-12-07 08:39:24 -08:00
cdc_ether.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
cdc_subset.c usbnet: add missing Kconfig for KC2190 cables 2007-02-16 15:32:22 -08:00
dm9601.c USB: two more device ids for dm9601 usbnet driver 2007-03-19 13:22:18 -07:00
gl620a.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
kaweth.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
kawethfw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mcs7830.c usbnet: add a mutex around phy register access 2006-10-17 14:46:32 -07:00
net1080.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
pegasus.c usb-net/pegasus: fix pegasus carrier detection 2007-04-24 12:46:31 -04:00
pegasus.h usb-net/pegasus: fix pegasus carrier detection 2007-04-24 12:46:31 -04:00
plusb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
rndis_host.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
rtl8150.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
usbnet.c usbnet: init fault (oops) cleanup, whitespace fixes 2007-02-16 15:32:22 -08:00
usbnet.h usbnet: add a mutex around phy register access 2006-10-17 14:46:32 -07:00
zaurus.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00