[SCSI] Add spi_populate_*_msg functions
authorMatthew Wilcox <matthew@wil.cx>
Tue, 7 Feb 2006 14:54:46 +0000 (07:54 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 28 Feb 2006 04:55:09 +0000 (22:55 -0600)
commit6ea3c0b2dac0d6a857d6bc010e544f4c901fff78
tree0650d6e8b5be747eb192e558dd90e875ca7a13fb
parentb0dc1db15225d5801bf3105966c9ce12c5142013
[SCSI] Add spi_populate_*_msg functions

Introduce new helpers:
 - spi_populate_width_msg()
 - spi_populate_sync_msg()
 - spi_populate_ppr_msg()

and use them in drivers which already enable the SPI transport.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/53c700.c
drivers/scsi/aha152x.c
drivers/scsi/aic7xxx/aic79xx_core.c
drivers/scsi/aic7xxx/aic7xxx_core.c
drivers/scsi/ncr53c8xx.c
drivers/scsi/scsi_transport_spi.c
drivers/scsi/sym53c8xx_2/sym_hipd.c
include/scsi/scsi_transport_spi.h