]> Pileus Git - ~andy/linux/commit
[SCSI] iscsi: fixup set/get param functions
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 28 Jun 2006 17:00:23 +0000 (12:00 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Thu, 29 Jun 2006 15:07:14 +0000 (11:07 -0400)
commita54a52caad4bd6166cb7fa64e4e93031fa2fda5d
tree728672fae35fd344619129e78213043dabacf099
parent01cb225dad8da2e717356fab03240e2f4a8d01bf
[SCSI] iscsi: fixup set/get param functions

Reduce duplication in the software iscsi_transport modules by
adding a libiscsi function to handle the common grunt work.

This also has the drivers return specifc -EXXX values for different
errors so userspace can finally handle them in a sane way.

Also just pass the sysfs buffers to the drivers so HW iscsi can
get/set its string values, like targetname, and initiatorname.

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