summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2005-08-14 21:34:06 +0200
committerJames Bottomley <jejb@mulgrave.(none)>2005-08-14 21:42:25 +0200
commit10c1b88987d618f4f89c10e11e574c76de73b5e7 (patch)
tree21b45648425c43f6a392afc0da800524608c7caf /include/scsi
parent[SCSI] aic7xxx: lost multifunction flags handling (diff)
downloadlinux-10c1b88987d618f4f89c10e11e574c76de73b5e7.tar.xz
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/scsi')
-rw-r--r--include/scsi/scsi_transport_spi.h1
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