From 5523441b4bc2137a7592ad7c61652a474df055d1 Mon Sep 17 00:00:00 2001 From: Stanislaw Gruszka Date: Fri, 4 Apr 2008 12:02:20 +0000 Subject: [PATCH] Document changes about how to enable/disable target. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@329 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla_isp/README.scst | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/qla_isp/README.scst b/qla_isp/README.scst index d5bbca4b3..9f4ea71d2 100644 --- a/qla_isp/README.scst +++ b/qla_isp/README.scst @@ -56,16 +56,15 @@ $ modprobe isp_mod Now anytime the system boot and QLA card is plugged, modules will load automatically. -When driver is loaded, enable all logical units for each channel to work in -target mode. You need to write string in form "channel:enable" to procfs -configuration file, ie: +When driver is loaded, enable all logical units for each HBA to work in +target mode. You need to write string "1" to procfs configuration file, ie: -$ echo 0:1 > /proc/scsi_tgt/qla_isp/0 +$ echo 1 > /proc/scsi_tgt/qla_isp/0 -To unload isp_mod.ko module you must disable target mode for all channels ie: +To unload isp_mod.ko module you must disable target mode for all cards ie: -$ echo 0:0 > /proc/scsi_tgt/qla_isp/0 -$ echo 1:0 > /proc/scsi_tgt/qla_isp/0 +$ echo 0 > /proc/scsi_tgt/qla_isp/0 +$ echo 0 > /proc/scsi_tgt/qla_isp/1 Enable/disable target mode is not the same as switching target/initiator role. If you have more then one device, role of each you can set using isp_roles