android_kernel_xiaomi_sdm845/drivers/usb/storage
Peter Chubb 141804d401 [PATCH] USB: shuttle_usbat: Fix handling of scatter-gather buffers
I've worked out what's going wrong.  The scsi layer is now much
more likely to pass down scatterlists instead of plain buffers.  So
you have to make sure that they're handled correctly.  In one of the
changes along the way, usbat_write_block and friends stopped obeying
the srb->use_sg flag.

Anyway, with the appended patch, and the one I'm putting in the next email, it
all seems to work for the HP cd4e.  Of course, someone's going to have
to test it with the flash drives as well....

This patch teaches the usbat_{read,write}_block functions to
obey the use_sg flag in the scsi-request.

Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au>
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-06-21 15:04:10 -07:00
..
alauda.c [PATCH] USB Storage: add alauda support 2006-01-04 13:51:42 -08:00
alauda.h [PATCH] USB Storage: add alauda support 2006-01-04 13:51:42 -08:00
datafab.c [PATCH] USB: kzalloc for storage 2006-03-20 14:49:52 -08:00
datafab.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
debug.c [PATCH] USB: usb-storage: add debug entry for REPORT LUNS 2006-01-04 13:51:42 -08:00
debug.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dpcm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dpcm.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
freecom.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
freecom.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
initializers.c [PATCH] USB: usb-storage: Add support for Rio Karma 2006-01-31 17:23:37 -08:00
initializers.h [PATCH] USB: usb-storage: Add support for Rio Karma 2006-01-31 17:23:37 -08:00
isd200.c [PATCH] USB: kzalloc() conversion for rest of drivers/usb 2006-03-20 14:49:59 -08:00
isd200.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jumpshot.c [PATCH] USB: kzalloc for storage 2006-03-20 14:49:52 -08:00
jumpshot.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig [PATCH] isd200: limit to BLK_DEV_IDE 2006-04-17 14:24:57 -07:00
libusual.c [PATCH] USB: libusual: fix warning on 64bit boxes 2006-01-31 17:23:43 -08:00
Makefile [PATCH] USB Storage: add alauda support 2006-01-04 13:51:42 -08:00
onetouch.c [PATCH] USB Storage: make OneTouch PM-aware 2006-01-04 13:51:41 -08:00
onetouch.h [PATCH] USB Storage: add support for Maxtor One-Touch button 2005-09-08 16:22:55 -07:00
protocol.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
protocol.h [PATCH] USB: drivers/usb/storage/libusual 2006-01-04 13:48:31 -08:00
scsiglue.c [PATCH] USB: convert a bunch of USB semaphores to mutexes 2006-03-20 14:49:55 -08:00
scsiglue.h [PATCH] USB Storage: port reset on transport error 2005-06-27 14:44:03 -07:00
sddr09.c [PATCH] USB: Use ARRAY_SIZE macro 2006-01-04 13:51:43 -08:00
sddr09.h [PATCH] USB Storage: cleanups of sddr09 2006-01-04 13:51:41 -08:00
sddr55.c [PATCH] USB: kzalloc for storage 2006-03-20 14:49:52 -08:00
sddr55.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
shuttle_usbat.c [PATCH] USB: shuttle_usbat: Fix handling of scatter-gather buffers 2006-06-21 15:04:10 -07:00
shuttle_usbat.h [PATCH] usb-storage: Some minor shuttle_usbat cleanups 2005-10-28 16:47:43 -07:00
transport.c [PATCH] PATCH: usb-storage: allocate separate sense buffer 2005-10-28 16:47:50 -07:00
transport.h [PATCH] USB: drivers/usb/storage/libusual 2006-01-04 13:48:31 -08:00
unusual_devs.h [PATCH] USB: storage: atmel unusual dev update 2006-04-27 10:28:58 -07:00
usb.c [PATCH] USB: convert a bunch of USB semaphores to mutexes 2006-03-20 14:49:55 -08:00
usb.h [PATCH] USB: convert a bunch of USB semaphores to mutexes 2006-03-20 14:49:55 -08:00