[SCSI] Support devices with protection information
authorMartin K. Petersen <martin.petersen@oracle.com>
Thu, 17 Jul 2008 21:08:48 +0000 (17:08 -0400)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 26 Jul 2008 19:14:55 +0000 (15:14 -0400)
commit7027ad72a689797475973c6feb5f0b673382f779
tree4f6daa1d509708fb340d09608d79557a9af57f00
parentdb007fc5e20c00b356e9ffe2d0e007398c65c837
[SCSI] Support devices with protection information

Implement support for DMA of protection information for devices that
are data integrity capable.

 - Add support for mapping an extra scatter-gather list containing
   the protection information.

 - Allocate protection scsi_data_buffer if host is DIX (integrity DMA)
   capable.

 - Accessor function for checking whether a device has protection
   enabled.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi.c
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_priv.h
include/scsi/scsi_cmnd.h
include/scsi/scsi_device.h