Chinaunix首页 | 论坛 | 博客
  • 博客访问: 92201151
  • 博文数量: 19283
  • 博客积分: 9968
  • 博客等级: 上将
  • 技术积分: 196062
  • 用 户 组: 普通用户
  • 注册时间: 2007-02-07 14:28
文章分类

全部博文(19283)

文章存档

2011年(1)

2009年(125)

2008年(19094)

2007年(63)

分类:

2008-04-27 13:39:49

出处:51CTO论坛 
 
阅读提示:本文介绍如何在Solaris系统中调试SCSI设备相关的参数配置。

先看看 /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_TAG 0x80 /* " 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(你的数值)。

阅读(628) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~