Skip to contentSkip to conversation

improve Documentation for DC395

PATCH New Oliver Neukum 1 participant 1 message May 23, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 improve Documentation for DC395

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.

===================================================================

[email protected], 2003-05-23 22:52:28+02:00, [email protected]
dc395-doku.diff

 dc395x.txt |   94 ++++++++++++++++++++++++++++++++++++++++---------------------
 1 files changed, 62 insertions(+), 32 deletions(-)
Documentation/scsi/dc395x.txt +62 -32
diff -Nru a/Documentation/scsi/dc395x.txt b/Documentation/scsi/dc395x.txt
@@ -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<<x, if x has been specified   [ 4]
-DelayReset: The seconds to not accept commands after a SCSI Reset [ 1]
-
-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
-
-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.
-
-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<<x, if x has been specified
+
+ - reset_delay
+   Default: 1, Acceptable values: 0-180
+
+   The seconds to not accept commands after a SCSI Reset
+
+
+For the built  in driver the parameters should be prefixed with
+dc395x. (eg "dc395x.safe=1")
 
-If you specify -2 for a value, it will be ignored. You don't need to
-specify all six parameters.
 
 Copyright
 ---------

===================================================================

This BitKeeper patch contains the following changesets:
1.1211
## Wrapped with gzip_uu ##

begin 664 bkpatch8940 M'XL(`"Z+SCX``[566W/:.!1^CG_%F?0E:<%(\@V8TMDD;%MF>\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,%;:<J;4I1&6ZD MJ@8ZU7+@,MGX9M,!&+(8X4I"3#^,DW@;,A&$*;U-@C#A(PXKV_X?]AZQ@)%P M%9;0J.N,%YTLP.TZ^MZ&>Y3[;A,@#-W&L&S<ZC(<!Z,Q&W7C]GWXX$7, MH!^P7S)OLW*E:M-&_V;X7D,PBF,:XA2ZIGR$?GWGWCA5ET_WYP?&=,IB8-Z, M)4"]ZUS0A6%NI/5$M.K.9:)9.\%L#77!;\MA!CM!D!&WJS*(:8>M'S1?" MX"I6/"F,&,@/3A+4[$RU@0OD9H7558YC/5G6V<%8@-6AD*:.@LE%9?\! MS_@*\.=+IHM(!45<BC:RQZ[0*='%OCXU/(VHC6A\&DM0_7>>M2CS'0T9'. M$>JT,5A8W6*]F22]L#?JT:C'>I38=/J[B#<R>U1'\ITZ;+I16PBV7KND<Z3V MA\SG%_,9S*9^Z[WDFQN]$N*Q<_JM\\YW8O4(3(1_/(^_\?*%&7*<)H[F5EY M;S]>0A?Y1#EV$\>Y`CER$>-MZT<6WE//T$Y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