]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] isd200: use one-element sg list in issuing commands
authorBoaz Harrosh <bharrosh@panasas.com>
Wed, 22 Aug 2007 16:10:45 +0000 (19:10 +0300)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:22:38 +0000 (18:22 -0600)
commit48c23d3e377bb090bf49ea6c45d024b4c11439b0
treed42df8442f40dad0442f73e5e3760302d94e2b31
parent6d416e6173394defda5933e419e805b696681b7e
[SCSI] isd200: use one-element sg list in issuing commands

  - This patch should be commited before:
    usb: transport - convert to accessors and !use_sg code path removal

  - isd200_action() was still using direct liniar pointers in issuing
    commands to the USB transport level. This is no longer supported,
    use one-element scatterlist instead.
  - Adjustment of command's length in the case of scsi-to-ata translation
    is now restored before return to queuecommand, since other wise it can
    leak BIOs.
  - isd200_action() return Error on unknown requests. Used to print an error
    but still try to send garbage cdb.
  - convert few places to scsi data accessors.
  - Todo: This file will need to be changed when scsi_cmnd changes to
    scsi_data_buffer or any other solution.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Acked-by: Matthew Dharm <mdharm-scsi@one-eyed-alien.net>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/usb/storage/isd200.c