linux/drivers/usb/atm
Duncan Sands 1a7aad15ff [PATCH] USB ATM: fix line resync logic
We map states 0x00 and 0x10 to the ATM_PHY_SIG_LOST flag.  The current logic fails to
resync the line if we get state 0x10 followed by 0x00, since we only resync the line
when the state is 0x00 and the flag changed.  Doubly fixed by (1) always resyncing the
line when the state is 0x00 even if the state didn't change, and (2) keeping track of
the last state, not just the flag.  We do (2) as well as (1) in order to get better log
messages.

This is a tweaked version of the original patch by Aurelio Arroyo.

Signed-off-by: Duncan Sands <baldrick@free.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-07-12 11:52:55 -07:00
..
cxacru.c [PATCH] USB ATM: line speed measured in Kb not Kib 2005-07-12 11:52:55 -07:00
Kconfig [PATCH] USB ATM: bits and bobs 2005-06-27 14:43:57 -07:00
Makefile [PATCH] USB ATM: bits and bobs 2005-06-27 14:43:57 -07:00
speedtch.c [PATCH] USB ATM: fix line resync logic 2005-07-12 11:52:55 -07:00
usbatm.c [PATCH] USB: usbatm kcalloc cleanup 2005-06-27 14:43:58 -07:00
usbatm.h [PATCH] USB: fix usbatm gcc-2.95.x bug 2005-06-27 14:43:58 -07:00
xusbatm.c [PATCH] USB ATM: generic DSL modem driver xusbatm 2005-06-27 14:43:57 -07:00