[SCSI] iscsi class: add endpoint class
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 21 May 2008 20:54:13 +0000 (15:54 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jul 2008 13:22:20 +0000 (08:22 -0500)
commitd82ff9be733a2e6da4f6c2ab4e9216f3f536503d
treeec02aa5148e8d9739683fb703732b7edbaf3b3ac
parent7970634b81a6e3561954517bca42615542c4535b
[SCSI] iscsi class: add endpoint class

Add sysfs representation for the endpoint, so userspace can match the
host and session to the endpoint. This will allow us to set the host's
parent correctly at host creation time.

The next patches will convert tcp and iser, and fix iser's dma_mask
bug.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/scsi_transport_iscsi.c
include/scsi/iscsi_if.h
include/scsi/scsi_transport_iscsi.h