From: Oliver Neukum Subject: [PATCH]improve Documentation for DC395 Date: Fri, 23 May 2003 23:02:04 +0200 Sender: linux-scsi-owner@vger.kernel.org Message-ID: <200305232302.04907.oliver@neukum.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Return-path: Received: from Mail1.KONTENT.De ([81.88.34.36]:20703 "EHLO Mail1.KONTENT.De") by vger.kernel.org with ESMTP id S264185AbTEWUsi (ORCPT ); Fri, 23 May 2003 16:48:38 -0400 Content-Disposition: inline List-Id: linux-scsi@vger.kernel.org To: James Bottomley Cc: linux-scsi@vger.kernel.org, dc395x@twibble.org Hi, this improves the Documentation for the DC395 driver for 2.5. James, if nobody objects, could you send it onwards? Regards Oliver You can import this changeset into BK by piping this whole message to: '| bk receive [path to repository]' or apply the patch as usual. =================================================================== ChangeSet@1.1211, 2003-05-23 22:52:28+02:00, oliver@oenone.homelinux.org dc395-doku.diff dc395x.txt | 94 ++++++++++++++++++++++++++++++++++++++++--------------------- 1 files changed, 62 insertions(+), 32 deletions(-) diff -Nru a/Documentation/scsi/dc395x.txt b/Documentation/scsi/dc395x.txt --- a/Documentation/scsi/dc395x.txt Fri May 23 22:57:18 2003 +++ b/Documentation/scsi/dc395x.txt Fri May 23 22:57:18 2003 @@ -23,40 +23,70 @@ Both can be overriden by command line parameters (module or kernel parameters). -The syntax is as follows: - dc395x = AdapterID, SpeedIdx, DevMode, AdaptMode, Tags, DelayReset +The following parameters are available: -AdapterID : Host Adapter SCSI ID -SpeedIdx : 0,1,...7 = 20,13.3,10,8,6.7,5.8,5,4 MHz [ 7] -DevMode : Bitmap for Dev Cfg [63] -AdaptMode : Bitmap for Adapter Cfg [47] -Tags : The number of tags is 1<= 1. - -If you set AdapterID to -1, the adapter will use conservative -("safe") default settings instead; more precisely, dc395x=-1 is a -shortcut for dc395x=7,4,9,15,2,10 + - safe + Default: 0, Acceptable values: 0 or 1 + + If safe is set to 1 then the adapter will use conservative + ("safe") default settings. This sets: + + shortcut for dc395x=7,4,9,15,2,10 + + - adapter_id + Default: 7, Acceptable values: 0 to 15 + + Sets the host adapter SCSI ID. + + - max_speed + Default: 1, Acceptable value: 0 to 7 + 0 = 20 Mhz + 1 = 12.2 Mhz + 2 = 10 Mhz + 3 = 8 Mhz + 4 = 6.7 Mhz + 5 = 5.8 Hhz + 6 = 5 Mhz + 7 = 4 Mhz + + - dev_mode + Bitmap for device configuration + + DevMode bit definition: + Bit Val(hex) Val(dec) Meaning + *0 0x01 1 Parity check + *1 0x02 2 Synchronous Negotiation + *2 0x04 4 Disconnection + *3 0x08 8 Send Start command on startup. (Not used) + *4 0x10 16 Tagged Command Queueing + *5 0x20 32 Wide Negotiation + + - adapter_mode + Bitmap for adapter configuration + + AdaptMode bit definition + Bit Val(hex) Val(dec) Meaning + *0 0x01 1 Support more than two drives. (Not used) + *1 0x02 2 Use DOS compatible mapping for HDs greater than 1GB. + *2 0x04 4 Reset SCSI Bus on startup. + *3 0x08 8 Active Negation: Improves SCSI Bus noise immunity. + 4 0x10 16 Immediate return on BIOS seek command. (Not used) + (*)5 0x20 32 Check for LUNs >= 1. + + - tags + Default: 3, Acceptable values: 0-5 + + The number of tags is 1<\F&=/>E,QG% M%EA3VV(LF9`=?OP>R28E4YJ=[;0$8HYTKM\Y^L0S^*1%/3Y2A5R+VGL&;Y4V M*(I*5<+/52D*634;7]5+W+Q2"C<'=GG06@RN:R'T0&=B[:'")3=I#KBNQT?4 M#QY6S/U*C(^N?G_SZ=W9E>=-)G"1\VHIYL+`9.(95:]YD>G?N,D+5?FFYI4N MA>%^JLKM@^J6$<+P+Z))0*)X2V,2)MN49I3RD(J,L'`8AUZ;V6^':GCL"YTP M1N(H"H=;$B2$>5.@/F64`@D&)!JP`!@;1VS,AB\(&Q,"3_B&%Q3ZQ#N'GUO- MA9="E@:CJ)^I+XV?R<7"^P."*!IZEU]1]/K_\^5YA!/OU5,%;:Y3[;A,`@#-W&L&SM`'S1?" M`X"I6/"F,&,@/3A+4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