电脑技术学习

Solaris 中调整 SCSI 参数的方法

dn001
先看看;/usr/include/sys/scsi/autoconf.h;中有关;SCSI_OPTION;的参数;:

#define;SCSI_OPTIONS_DR;0x8;;;;;/*;Global;disconnect/reconnect;;*/
#define;SCSI_OPTIONS_LINK;;;;;;;0x10;;;;/*;Global;linked;commands;*/
#define;SCSI_OPTIONS_SYNC;;;;;;;0x20;;;;/*;Global;synchronous;xfer;capability;*
#define;SCSI_OPTIONS_PARITY;;;;;0x40;;;;/*;Global;parity;support;*/
#define;SCSI_OPTIONS_TAG0x80;;;;/*;;;";;;;tagged;command;support;*/
#define;SCSI_OPTIONS_FAST;;;;;;;0x100;;;/*;;;";;;;FAST;scsi;support;*/
#define;SCSI_OPTIONS_WIDE;;;;;;;0x200;;;/*;;;";;;;WIDE;scsi;support;*/
#define;SCSI_OPTIONS_FAST20;;;;;0x400;;;/*;;;";;;;FAST20;scsi;support;*/

看到了吧,;如果你想;enable;某个;function,;那就把它;add;起来(注意是
HEX;!),;然後在;/etc/system;中加一行;:

set;scsi_options;=;0x(你的数值),
reboot;就行啦;;:)

标签: