linux/drivers/usb/storage
Alan Stern f756cbd458 usb-storage: revert DMA-alignment change for Wireless USB
This patch (as1110) reverts an earlier patch meant to help with
Wireless USB host controllers.  These controllers can have bulk
maxpacket values larger than 512, which puts unusual constraints on
the sizes of scatter-gather list elements.  However it turns out that
the block layer does not provide the support we need to enforce these
constraints; merely changing the DMA alignment mask doesn't help.
Hence there's no reason to keep the original patch.  The Wireless USB
problem will have to be solved a different way.

In addition, there is a reason to get rid of the earlier patch.  By
dereferencing a pointer stored in the ep_in array of struct
usb_device, the current code risks an invalid memory access when it
runs concurrently with device removal.  The members of that array are
cleared before the driver's disconnect method is called, so it should
not try to use them.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-07-21 15:16:51 -07:00
..
Kconfig
Makefile
alauda.c
alauda.h
cypress_atacb.c
cypress_atacb.h
datafab.c
datafab.h
debug.c
debug.h
dpcm.c
dpcm.h
freecom.c
freecom.h
initializers.c
initializers.h
isd200.c
isd200.h
jumpshot.c
jumpshot.h
karma.c
karma.h
libusual.c
onetouch.c
onetouch.h
protocol.c
protocol.h
scsiglue.c usb-storage: revert DMA-alignment change for Wireless USB 2008-07-21 15:16:51 -07:00
scsiglue.h
sddr09.c
sddr09.h
sddr55.c
sddr55.h
shuttle_usbat.c
shuttle_usbat.h
transport.c
transport.h
unusual_devs.h
usb.c
usb.h