diff options
author | Peter Chubb <peterc@gelato.unsw.edu.au> | 2006-05-02 18:30:12 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-21 15:04:10 -0700 |
commit | 141804d401631f0384feabfa5fc3e2ce1321c0f0 (patch) | |
tree | 196342c81d2e9de937575d7851525a3e5b2f210e /drivers/usb/storage/jumpshot.c | |
parent | 69165c29bb4db9bafead7c6574c73ce245965f3a (diff) |
[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>
Diffstat (limited to 'drivers/usb/storage/jumpshot.c')
0 files changed, 0 insertions, 0 deletions