aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2005-08-14 15:34:06 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-08-14 15:42:25 -0400
commit10c1b88987d618f4f89c10e11e574c76de73b5e7 (patch)
tree21b45648425c43f6a392afc0da800524608c7caf /include
parent3a4f5c60dbe1978580ea03c1aff353d1e63d1638 (diff)
[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.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 d8ef86006e0..6bdc4afb248 100644
--- a/include/scsi/scsi_transport_spi.h
+++ b/include/scsi/scsi_transport_spi.h
@@ -120,6 +120,7 @@ struct spi_function_template {
120 void (*set_hold_mcs)(struct scsi_target *, int); 120 void (*set_hold_mcs)(struct scsi_target *, int);
121 void (*get_signalling)(struct Scsi_Host *); 121 void (*get_signalling)(struct Scsi_Host *);
122 void (*set_signalling)(struct Scsi_Host *, enum spi_signal_type); 122 void (*set_signalling)(struct Scsi_Host *, enum spi_signal_type);
123 int (*deny_binding)(struct scsi_target *);
123 /* The driver sets these to tell the transport class it 124 /* The driver sets these to tell the transport class it
124 * wants the attributes displayed in sysfs. If the show_ flag 125 * wants the attributes displayed in sysfs. If the show_ flag
125 * is not set, the attribute will be private to the transport 126 * is not set, the attribute will be private to the transport