]> err.no Git - linux-2.6/commit
[SCSI] transport_srp: add rport roles attribute
authorFUJITA Tomonori <tomof@acm.org>
Wed, 11 Jul 2007 06:08:15 +0000 (15:08 +0900)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:37:46 +0000 (14:37 -0400)
commitaebd5e476ecc8ceb53577b20f2a352ff4ceffd8d
tree43103d35db1aa80440515db3fc968b0d96dd1d5e
parent3236822b1c9b67ad10745d965515b528818f1120
[SCSI] transport_srp: add rport roles attribute

This adds a 'roles' attribute to rport like transport_fc. The role can
be initiator or target. That is, the initiator driver creates target
remote ports and the target driver creates initiator remote ports.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/infiniband/ulp/srp/ib_srp.c
drivers/scsi/ibmvscsi/ibmvscsi.c
drivers/scsi/scsi_transport_srp.c
include/scsi/scsi_transport_srp.h