Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1283782
  • 博文数量: 554
  • 博客积分: 10425
  • 博客等级: 上将
  • 技术积分: 7555
  • 用 户 组: 普通用户
  • 注册时间: 2006-11-09 09:49
文章分类

全部博文(554)

文章存档

2012年(1)

2011年(1)

2009年(8)

2008年(544)

分类:

2008-04-07 19:45:22

先看看 /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(你的数值)。
阅读(374) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~