linux-sg2042/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 usb-storage: fix build failure in OneTouch driver 2008-05-02 10:25:51 -07:00
Makefile USB: mass storage: emulation of sat scsi_pass_thru with ATACB 2008-04-24 21:16:42 -07:00
alauda.c USB storage: sg chaining support 2007-10-16 11:20:59 +02:00
alauda.h [PATCH] USB Storage: add alauda support 2006-01-04 13:51:42 -08:00
cypress_atacb.c [SCSI] Let scsi_cmnd->cmnd use request->cmd buffer 2008-05-02 10:18:22 -05:00
cypress_atacb.h USB: mass storage: emulation of sat scsi_pass_thru with ATACB 2008-04-24 21:16:42 -07:00
datafab.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
datafab.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
debug.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
debug.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
dpcm.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
dpcm.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
freecom.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
freecom.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
initializers.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
initializers.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
isd200.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
isd200.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
jumpshot.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
jumpshot.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
karma.c USB Storage: add rio karma eject support 2006-09-27 11:58:54 -07:00
karma.h USB Storage: add rio karma eject support 2006-09-27 11:58:54 -07:00
libusual.c usb: libusual kthread_run() called with wrong format. 2008-05-02 10:25:51 -07:00
onetouch.c USB: storage/onetouch.c: make a function static 2008-05-02 10:25:51 -07:00
onetouch.h [PATCH] USB Storage: add support for Maxtor One-Touch button 2005-09-08 16:22:55 -07:00
protocol.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
protocol.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
scsiglue.c usb-storage: revert DMA-alignment change for Wireless USB 2008-07-21 15:16:51 -07:00
scsiglue.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
sddr09.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
sddr09.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
sddr55.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
sddr55.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
shuttle_usbat.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
shuttle_usbat.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
transport.c USB: fix usb_reset_device and usb_reset_composite_device(take 3) 2008-07-21 15:16:33 -07:00
transport.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
unusual_devs.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
usb.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
usb.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00