diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-10 20:36:02 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-10 20:36:02 +0400 |
commit | 48d28fd55e7fd349fb16a50244379b4da3a4943c (patch) | |
tree | a6239419973b87c0560de36ab9e11516d45173e8 /include | |
parent | 86b3786078d63242d3194ffc58ae8dae1d1bbef3 (diff) | |
parent | 5bb8345db8f2aef367e0fddf99a42b7a6029b31f (diff) | |
download | linux-48d28fd55e7fd349fb16a50244379b4da3a4943c.tar.xz |
Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6
Diffstat (limited to 'include')
-rw-r--r-- | include/scsi/scsi_transport.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/scsi/scsi_transport.h b/include/scsi/scsi_transport.h index a4f1837a33b1..f6e0bb484c63 100644 --- a/include/scsi/scsi_transport.h +++ b/include/scsi/scsi_transport.h @@ -29,6 +29,14 @@ struct scsi_transport_template { struct transport_container target_attrs; struct transport_container device_attrs; + /* + * If set, call target_parent prior to allocating a scsi_target, + * so we get the appropriate parent for the target. This function + * is required for transports like FC and iSCSI that do not put the + * scsi_target under scsi_host. + */ + struct device *(*target_parent)(struct Scsi_Host *, int, uint); + /* The size of the specific transport attribute structure (a * space of this size will be left at the end of the * scsi_* structure */ |