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
This commit is contained in:
Stanislaw Gruszka
2008-04-04 12:02:20 +00:00
parent c4c19fa17f
commit 5523441b4b

View File

@@ -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