linux/drivers/usb/storage
Boaz Harrosh 30b0c37b27 [SCSI] implement scsi_data_buffer
In preparation for bidi we abstract all IO members of scsi_cmnd,
that will need to duplicate, into a substructure.

- Group all IO members of scsi_cmnd into a scsi_data_buffer
  structure.
- Adjust accessors to new members.
- scsi_{alloc,free}_sgtable receive a scsi_data_buffer instead of
  scsi_cmnd. And work on it.
- Adjust scsi_init_io() and  scsi_release_buffers() for above
  change.
- Fix other parts of scsi_lib/scsi.c to members migration. Use
  accessors where appropriate.

- fix Documentation about scsi_cmnd in scsi_host.h

- scsi_error.c
  * Changed needed members of struct scsi_eh_save.
  * Careful considerations in scsi_eh_prep/restore_cmnd.

- sd.c and sr.c
  * sd and sr would adjust IO size to align on device's block
    size so code needs to change once we move to scsi_data_buff
    implementation.
  * Convert code to use scsi_for_each_sg
  * Use data accessors where appropriate.

- tgt: convert libsrp to use scsi_data_buffer

- isd200: This driver still bangs on scsi_cmnd IO members,
  so need changing

[jejb: rebased on top of sg_table patches fixed up conflicts
and used the synergy to eliminate use_sg and sg_count]

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-01-30 13:03:40 -06: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
datafab.c USB storage: sg chaining support 2007-10-16 11:20:59 +02:00
datafab.h
debug.c [PATCH] USB: usb-storage: add debug entry for REPORT LUNS 2006-01-04 13:51:42 -08:00
debug.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
dpcm.c USB: drivers/usb/storage/dpcm.c whitespace cleanup 2007-07-19 17:46:08 -07:00
dpcm.h
freecom.c [SCSI] usb: freecom & sddr09 - convert to accessors and !use_sg cleanup 2008-01-11 18:22:36 -06:00
freecom.h
initializers.c USB: usb-storage: Initialize Huawei E220 properly 2007-10-12 14:55:24 -07:00
initializers.h USB: usb-storage: Initialize Huawei E220 properly 2007-10-12 14:55:24 -07:00
isd200.c [SCSI] implement scsi_data_buffer 2008-01-30 13:03:40 -06:00
isd200.h
jumpshot.c USB storage: sg chaining support 2007-10-16 11:20:59 +02:00
jumpshot.h
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
Kconfig USB: isd200: sort out USB/IDE dependancy mess 2007-10-25 12:18:43 -07:00
libusual.c kill DECLARE_MUTEX_LOCKED 2007-10-17 08:42:47 -07:00
Makefile USB Storage: add rio karma eject support 2006-09-27 11:58:54 -07:00
onetouch.c USB: storage: onetouch: clean up urb->status usage 2007-07-19 17:46:06 -07:00
onetouch.h
protocol.c [SCSI] usb: protocol - convert to accessors and !use_sg code path removal 2008-01-11 18:22:36 -06:00
protocol.h USB storage: sg chaining support 2007-10-16 11:20:59 +02:00
scsiglue.c [SCSI] usbstorage: use last_sector_bug flag universally 2008-01-25 16:50:31 -06:00
scsiglue.h
sddr09.c [SCSI] usb: freecom & sddr09 - convert to accessors and !use_sg cleanup 2008-01-11 18:22:36 -06:00
sddr09.h [PATCH] USB Storage: cleanups of sddr09 2006-01-04 13:51:41 -08:00
sddr55.c USB storage: sg chaining support 2007-10-16 11:20:59 +02:00
sddr55.h
shuttle_usbat.c [SCSI] usb: shuttle_usbat - convert to accessors and !use_sg code path removal 2008-01-11 18:22:37 -06:00
shuttle_usbat.h [PATCH] USB: shuttle_usbat: Hardcode detection of HP CDRW devices 2006-06-21 15:04:10 -07:00
transport.c [SCSI] usb: transport - convert to accessors and !use_sg code path removal 2008-01-11 18:22:38 -06:00
transport.h [SCSI] usb: transport - convert to accessors and !use_sg code path removal 2008-01-11 18:22:38 -06:00
unusual_devs.h USB: revert portions of "UNUSUAL_DEV: Sync up some reported devices from Ubuntu" 2007-12-17 10:47:16 -08:00
usb.c freezer: introduce freezer-friendly waiting macros 2007-10-18 14:37:19 -07:00
usb.h usb-storage: fix bugs in the disconnect pathway 2007-08-22 14:27:52 -07:00