diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2005-08-14 14:34:06 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-08-14 14:42:25 -0500 |
commit | 10c1b88987d618f4f89c10e11e574c76de73b5e7 (patch) | |
tree | 21b45648425c43f6a392afc0da800524608c7caf /include | |
parent | 3a4f5c60dbe1978580ea03c1aff353d1e63d1638 (diff) | |
download | blackbird-op-linux-10c1b88987d618f4f89c10e11e574c76de73b5e7.tar.gz blackbird-op-linux-10c1b88987d618f4f89c10e11e574c76de73b5e7.zip |
[SCSI] add ability to deny binding to SPI transport class
This patch is necessary if we begin exposing underlying physical disks
(which can attach to the SPI transport class) of the hardware RAID
cards, since we don't want any SPI parameters binding to the RAID
devices.
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/scsi/scsi_transport_spi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport_spi.h b/include/scsi/scsi_transport_spi.h index d8ef86006e02..6bdc4afb2483 100644 --- a/include/scsi/scsi_transport_spi.h +++ b/include/scsi/scsi_transport_spi.h @@ -120,6 +120,7 @@ struct spi_function_template { void (*set_hold_mcs)(struct scsi_target *, int); void (*get_signalling)(struct Scsi_Host *); void (*set_signalling)(struct Scsi_Host *, enum spi_signal_type); + int (*deny_binding)(struct scsi_target *); /* The driver sets these to tell the transport class it * wants the attributes displayed in sysfs. If the show_ flag * is not set, the attribute will be private to the transport |