1
0
Fork 0
alistair23-linux/drivers/usb/core
Yoshihiro Shimoda e2722528ce USB: fix cannot work usb storage when using ohci-sm501
When I used ohci-sm501, hcd_alloc_coherent() in map_urb_for_dma() is not
called, because usb_sg_init() always sets URB_NO_TRANSFER_DMA_MAP.

dmesg (CONFIG_USB_STORAGE_DEBUG enabled):

usb-storage: Bulk Command S 0x43425355 T 0x1 L 36 F 128 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_sglist: xfer 36 bytes, 1 entries
usb-storage: Status code -75; transferred 0/36
usb-storage: -- babble
usb-storage: Bulk data transfer result 0x3
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x1 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x2

Signed-off-by: Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-05-02 10:25:54 -07:00
..
Kconfig USB: Remove EXPERIMENTAL from dynamic USB minor allocation. 2008-04-24 21:16:43 -07:00
Makefile USB: add a blacklist for devices that can't handle some things we throw at them. 2007-02-23 15:03:46 -08:00
buffer.c USB: fix codingstyle issues in drivers/usb/core/*.c 2008-02-01 14:35:08 -08:00
config.c USB: ehci tolerates some buggy devices 2008-04-24 21:16:35 -07:00
devices.c USB: fix codingstyle issues in drivers/usb/core/devices.c 2008-02-01 14:35:07 -08:00
devio.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
driver.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
endpoint.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
file.c USB: mark USB drivers as being GPL only 2008-02-01 14:35:07 -08:00
generic.c USB: move decision to ignore FREEZE events 2007-10-12 14:55:26 -07:00
hcd-pci.c USB: clarify usage of hcd->suspend/resume methods 2008-04-24 21:16:48 -07:00
hcd.c USB: don't explicitly reenable root-hub status interrupts 2008-04-24 21:16:53 -07:00
hcd.h USB: don't explicitly reenable root-hub status interrupts 2008-04-24 21:16:53 -07:00
hub.c usb: don't update devnum for wusb devices 2008-04-24 21:16:59 -07:00
hub.h wusb: make ep0_reinit available for modules 2008-04-24 21:16:59 -07:00
inode.c proc: remove proc_bus 2008-04-29 08:06:18 -07:00
message.c USB: fix cannot work usb storage when using ohci-sm501 2008-05-02 10:25:54 -07:00
notify.c USB : correct comments in usb/core/notify.c 2008-02-01 14:34:44 -08:00
otg_whitelist.h USB: fix codingstyle issues in drivers/usb/core/*.h 2008-02-01 14:35:07 -08:00
quirks.c USB: enable USB-PERSIST by default 2008-04-24 21:16:33 -07:00
sysfs.c USB: remove CONFIG_USB_PERSIST setting 2008-04-24 21:16:32 -07:00
urb.c USB: replace remaining __FUNCTION__ occurrences 2008-04-24 21:16:55 -07:00
usb.c PM: Do not acquire device semaphores upfront during suspend 2008-03-04 14:47:05 -08:00
usb.h USB: remove dev->power.power_state 2008-04-24 21:16:41 -07:00