From: Matthew Wilcox Subject: New module parameters for sym2 Date: Sun, 10 Oct 2004 17:14:46 +0100 Sender: linux-scsi-owner@vger.kernel.org Message-ID: <20041010161446.GA16153@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from parcelfarce.linux.theplanet.co.uk ([195.92.249.252]:18131 "EHLO www.linux.org.uk") by vger.kernel.org with ESMTP id S268342AbUJJQOt (ORCPT ); Sun, 10 Oct 2004 12:14:49 -0400 Content-Disposition: inline List-Id: linux-scsi@vger.kernel.org To: linux-scsi@vger.kernel.org Cc: parisc-linux@parisc-linux.org This is advisory; I've already committed it to the parisc-linux tree and I'll send this to James as part of the changes for 2.6.10 in a few days. Anyone who wants to spot bugs in it is more than welcome ;-) - Bump version to 2.1.18m - Convert to new-style module parameters - Rename tags to cmd_per_lun (consistency!) - Split extended tags functionality into the new tag_ctrl parameter - Remove SYM_LINUX_BOOT_COMMAND_LINE_SUPPORT ifdef - Fix debug parameter support - Restructure sym_config_pqs() a little - Add myself as MODULE_AUTHOR - Add a MODULE_DESCRIPTION Index: Documentation/scsi/sym53c8xx_2.txt =================================================================== RCS file: /var/cvs/linux-2.6/Documentation/scsi/sym53c8xx_2.txt,v retrieving revision 1.3 diff -u -p -r1.3 sym53c8xx_2.txt --- Documentation/scsi/sym53c8xx_2.txt 28 Sep 2004 12:32:22 -0000 1.3 +++ Documentation/scsi/sym53c8xx_2.txt 10 Oct 2004 15:55:56 -0000 @@ -6,7 +6,7 @@ Written by Gerard Roudier -2004-09-28 +2004-10-09 =============================================================================== 1. Introduction @@ -43,7 +43,7 @@ Updated by Matthew Wilcox 1) tagged command queuing enabled + cmd_per_lun=0 (or cmd_per_lun=1) tagged command queuing disabled + cmd_per_lun=#tags (#tags > 1) tagged command queuing enabled #tags will be truncated to the max queued commands configuration parameter. - This option also allows to specify a command queue depth for each device - that support tagged command queueing. + +10.2.2 Detailed control of tagged commands + This option allows you to specify a command queue depth for each device + that supports tagged command queueing. Example: - sym53c8xx=tags:10/t2t3q16-t5q24/t1u2q32 - will set devices queue depth as follow: + tag_ctrl=10/t2t3q16-t5q24/t1u2q32 + will set devices queue depth as follow: - controller #0 target #2 and target #3 -> 16 commands, - controller #0 target #5 -> 24 commands, - controller #1 target #1 logical unit #2 -> 32 commands, - all other logical units (all targets, all controllers) -> 10 commands. -10.2.2 Burst max - burst:0 burst disabled - burst:255 get burst length from initial IO register settings. - burst:#x burst enabled (1<<#x burst transfers max) +10.2.3 Burst max + burst=0 burst disabled + burst=255 get burst length from initial IO register settings. + burst=#x burst enabled (1<<#x burst transfers max) #x is an integer value which is log base 2 of the burst transfers max. By default the driver uses the maximum value supported by the chip. -10.2.3 LED support - led:1 enable LED support - led:0 disable LED support +10.2.4 LED support + led=1 enable LED support + led=0 disable LED support Do not enable LED support if your scsi board does not use SDMS BIOS. (See 'Configuration parameters') 10.2.4 Differential mode - diff:0 never set up diff mode - diff:1 set up diff mode if BIOS set it - diff:2 always set up diff mode - diff:3 set diff mode if GPIO3 is not set + diff=0 never set up diff mode + diff=1 set up diff mode if BIOS set it + diff=2 always set up diff mode + diff=3 set diff mode if GPIO3 is not set 10.2.5 IRQ mode - irqm:0 always open drain - irqm:1 same as initial settings (assumed BIOS settings) - irqm:2 always totem pole + irqm=0 always open drain + irqm=1 same as initial settings (assumed BIOS settings) + irqm=2 always totem pole 10.2.6 Check SCSI BUS - buschk: