mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-20 00:11:22 +00:00
3416eaa1f8
cypress_m8: Packet format is separate from characteristic size The Cypress app note states that when using an 8 byte packet buffer size that the packet format is modified (to be more compact). However I have since discovered that newer DeLorme Earthmate LT-20 devices (those that are low speed USB with 8 byte packet size) STILL use the format that is really supposed to correspond to 32 byte packets. Further confusing things is the subsequent discovery that there are actually two different types of LT-20 - older LT-20's use 32 byte packets which is probably why this issue wasn't originally encountered. The solution here is to flag the packet format separately from the buffer size. Then at initialization time, identify the correct combination and set it up. This is a critical fix for anyone with a newer LT-20. Older devices and non-Earthmate devices should remain unaffected by this change. (If other devices behave in this, uh, unexpected manner, it's now just a simple 1 line change to fix them as well (change the pkt_fmt member for that device). Default behavior with this patch is still to drive the format as per the app-note; of course for Earthmate devices this is overridden. Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
aircable.c | ||
airprime.c | ||
ark3116.c | ||
belkin_sa.c | ||
belkin_sa.h | ||
bus.c | ||
ch341.c | ||
ChangeLog.history | ||
console.c | ||
cp2101.c | ||
cyberjack.c | ||
cypress_m8.c | ||
cypress_m8.h | ||
digi_acceleport.c | ||
empeg.c | ||
ezusb_convert.pl | ||
ezusb.c | ||
ftdi_sio.c | ||
ftdi_sio.h | ||
funsoft.c | ||
garmin_gps.c | ||
generic.c | ||
hp4x.c | ||
io_16654.h | ||
io_edgeport.c | ||
io_edgeport.h | ||
io_fw_boot2.h | ||
io_fw_boot.h | ||
io_fw_down2.h | ||
io_fw_down3.h | ||
io_fw_down.h | ||
io_ionsp.h | ||
io_tables.h | ||
io_ti.c | ||
io_ti.h | ||
io_usbvend.h | ||
ipaq.c | ||
ipaq.h | ||
ipw.c | ||
ir-usb.c | ||
iuu_phoenix.c | ||
iuu_phoenix.h | ||
Kconfig | ||
keyspan_mpr_fw.h | ||
keyspan_pda_fw.h | ||
keyspan_pda.c | ||
keyspan_pda.S | ||
keyspan_usa18x_fw.h | ||
keyspan_usa19_fw.h | ||
keyspan_usa19qi_fw.h | ||
keyspan_usa19qw_fw.h | ||
keyspan_usa19w_fw.h | ||
keyspan_usa26msg.h | ||
keyspan_usa28_fw.h | ||
keyspan_usa28msg.h | ||
keyspan_usa28x_fw.h | ||
keyspan_usa28xa_fw.h | ||
keyspan_usa28xb_fw.h | ||
keyspan_usa49msg.h | ||
keyspan_usa49w_fw.h | ||
keyspan_usa49wlc_fw.h | ||
keyspan_usa67msg.h | ||
keyspan_usa90msg.h | ||
keyspan.c | ||
keyspan.h | ||
kl5kusb105.c | ||
kl5kusb105.h | ||
kobil_sct.c | ||
kobil_sct.h | ||
Makefile | ||
Makefile-keyspan_pda_fw | ||
mct_u232.c | ||
mct_u232.h | ||
mos7720.c | ||
mos7840.c | ||
navman.c | ||
omninet.c | ||
option.c | ||
oti6858.c | ||
oti6858.h | ||
pl2303.c | ||
pl2303.h | ||
safe_serial.c | ||
sierra.c | ||
ti_fw_3410.h | ||
ti_fw_5052.h | ||
ti_usb_3410_5052.c | ||
ti_usb_3410_5052.h | ||
usb_debug.c | ||
usb-serial.c | ||
visor.c | ||
visor.h | ||
whiteheat_fw.h | ||
whiteheat.c | ||
whiteheat.h | ||
xircom_pgs_fw.h | ||
xircom_pgs.S |