xref: /OK3568_Linux_fs/kernel/Documentation/scsi/aic79xx.rst (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun.. SPDX-License-Identifier: GPL-2.0
2*4882a593Smuzhiyun.. include:: <isonum.txt>
3*4882a593Smuzhiyun
4*4882a593Smuzhiyun===================================
5*4882a593SmuzhiyunAdaptec Ultra320 Family Manager Set
6*4882a593Smuzhiyun===================================
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunREADME for The Linux Operating System
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun.. The following information is available in this file:
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun  1. Supported Hardware
13*4882a593Smuzhiyun  2. Version History
14*4882a593Smuzhiyun  3. Command Line Options
15*4882a593Smuzhiyun  4. Additional Notes
16*4882a593Smuzhiyun  5. Contacting Adaptec
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun1. Supported Hardware
20*4882a593Smuzhiyun=====================
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun   The following Adaptec SCSI Host Adapters are supported by this
23*4882a593Smuzhiyun   driver set.
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun   =============              =========================================
26*4882a593Smuzhiyun   Ultra320 ASIC              Description
27*4882a593Smuzhiyun   =============              =========================================
28*4882a593Smuzhiyun   AIC-7901A                  Single Channel 64-bit PCI-X 133MHz to
29*4882a593Smuzhiyun                              Ultra320 SCSI ASIC
30*4882a593Smuzhiyun   AIC-7901B                  Single Channel 64-bit PCI-X 133MHz to
31*4882a593Smuzhiyun                              Ultra320 SCSI ASIC with Retained Training
32*4882a593Smuzhiyun   AIC-7902A4                 Dual Channel 64-bit PCI-X 133MHz to
33*4882a593Smuzhiyun                              Ultra320 SCSI ASIC
34*4882a593Smuzhiyun   AIC-7902B                  Dual Channel 64-bit PCI-X 133MHz to
35*4882a593Smuzhiyun                              Ultra320 SCSI ASIC with Retained Training
36*4882a593Smuzhiyun   =============              =========================================
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun   ========================== ===================================== ============
39*4882a593Smuzhiyun   Ultra320 Adapters          Description                              ASIC
40*4882a593Smuzhiyun   ========================== ===================================== ============
41*4882a593Smuzhiyun   Adaptec SCSI Card 39320    Dual Channel 64-bit PCI-X 133MHz to   7902A4/7902B
42*4882a593Smuzhiyun                              Ultra320 SCSI Card (one external
43*4882a593Smuzhiyun                              68-pin, two internal 68-pin)
44*4882a593Smuzhiyun   Adaptec SCSI Card 39320A   Dual Channel 64-bit PCI-X 133MHz to      7902B
45*4882a593Smuzhiyun                              Ultra320 SCSI Card (one external
46*4882a593Smuzhiyun                              68-pin, two internal 68-pin)
47*4882a593Smuzhiyun   Adaptec SCSI Card 39320D   Dual Channel 64-bit PCI-X 133MHz to      7902A4
48*4882a593Smuzhiyun                              Ultra320 SCSI Card (two external VHDC
49*4882a593Smuzhiyun                              and one internal 68-pin)
50*4882a593Smuzhiyun   Adaptec SCSI Card 39320D   Dual Channel 64-bit PCI-X 133MHz to      7902A4
51*4882a593Smuzhiyun                              Ultra320 SCSI Card (two external VHDC
52*4882a593Smuzhiyun                              and one internal 68-pin) based on the
53*4882a593Smuzhiyun                              AIC-7902B ASIC
54*4882a593Smuzhiyun   Adaptec SCSI Card 29320    Single Channel 64-bit PCI-X 133MHz to    7901A
55*4882a593Smuzhiyun                              Ultra320 SCSI Card (one external
56*4882a593Smuzhiyun                              68-pin, two internal 68-pin, one
57*4882a593Smuzhiyun                              internal 50-pin)
58*4882a593Smuzhiyun   Adaptec SCSI Card 29320A   Single Channel 64-bit PCI-X 133MHz to    7901B
59*4882a593Smuzhiyun                              Ultra320 SCSI Card (one external
60*4882a593Smuzhiyun                              68-pin, two internal 68-pin, one
61*4882a593Smuzhiyun                              internal 50-pin)
62*4882a593Smuzhiyun   Adaptec SCSI Card 29320LP  Single Channel 64-bit Low Profile        7901A
63*4882a593Smuzhiyun                              PCI-X 133MHz to Ultra320 SCSI Card
64*4882a593Smuzhiyun                              (One external VHDC, one internal
65*4882a593Smuzhiyun                              68-pin)
66*4882a593Smuzhiyun   Adaptec SCSI Card 29320ALP Single Channel 64-bit Low Profile        7901B
67*4882a593Smuzhiyun                              PCI-X 133MHz to Ultra320 SCSI Card
68*4882a593Smuzhiyun                              (One external VHDC, one internal
69*4882a593Smuzhiyun                              68-pin)
70*4882a593Smuzhiyun   ========================== ===================================== ============
71*4882a593Smuzhiyun
72*4882a593Smuzhiyun2. Version History
73*4882a593Smuzhiyun==================
74*4882a593Smuzhiyun
75*4882a593Smuzhiyun
76*4882a593Smuzhiyun * 3.0	  (December 1st, 2005)
77*4882a593Smuzhiyun	- Updated driver to use SCSI transport class infrastructure
78*4882a593Smuzhiyun	- Upported sequencer and core fixes from adaptec released
79*4882a593Smuzhiyun	  version 2.0.15 of the driver.
80*4882a593Smuzhiyun
81*4882a593Smuzhiyun * 1.3.11 (July 11, 2003)
82*4882a593Smuzhiyun        - Fix several deadlock issues.
83*4882a593Smuzhiyun        - Add 29320ALP and 39320B Id's.
84*4882a593Smuzhiyun
85*4882a593Smuzhiyun * 1.3.10 (June 3rd, 2003)
86*4882a593Smuzhiyun        - Align the SCB_TAG field on a 16byte boundary.  This avoids
87*4882a593Smuzhiyun          SCB corruption on some PCI-33 busses.
88*4882a593Smuzhiyun        - Correct non-zero luns on Rev B. hardware.
89*4882a593Smuzhiyun        - Update for change in 2.5.X SCSI proc FS interface.
90*4882a593Smuzhiyun        - When negotiation async via an 8bit WDTR message, send
91*4882a593Smuzhiyun          an SDTR with an offset of 0 to be sure the target
92*4882a593Smuzhiyun          knows we are async.  This works around a firmware defect
93*4882a593Smuzhiyun          in the Quantum Atlas 10K.
94*4882a593Smuzhiyun        - Implement controller suspend and resume.
95*4882a593Smuzhiyun        - Clear PCI error state during driver attach so that we
96*4882a593Smuzhiyun          don't disable memory mapped I/O due to a stray write
97*4882a593Smuzhiyun          by some other driver probe that occurred before we
98*4882a593Smuzhiyun          claimed the controller.
99*4882a593Smuzhiyun
100*4882a593Smuzhiyun * 1.3.9 (May 22nd, 2003)
101*4882a593Smuzhiyun        - Fix compiler errors.
102*4882a593Smuzhiyun        - Remove S/G splitting for segments that cross a 4GB boundary.
103*4882a593Smuzhiyun          This is guaranteed not to happen in Linux.
104*4882a593Smuzhiyun        - Add support for scsi_report_device_reset() found in
105*4882a593Smuzhiyun          2.5.X kernels.
106*4882a593Smuzhiyun        - Add 7901B support.
107*4882a593Smuzhiyun        - Simplify handling of the packetized lun Rev A workaround.
108*4882a593Smuzhiyun        - Correct and simplify handling of the ignore wide residue
109*4882a593Smuzhiyun          message.  The previous code would fail to report a residual
110*4882a593Smuzhiyun          if the transaction data length was even and we received
111*4882a593Smuzhiyun          an IWR message.
112*4882a593Smuzhiyun
113*4882a593Smuzhiyun * 1.3.8 (April 29th, 2003)
114*4882a593Smuzhiyun        - Fix types accessed via the command line interface code.
115*4882a593Smuzhiyun        - Perform a few firmware optimizations.
116*4882a593Smuzhiyun        - Fix "Unexpected PKT busfree" errors.
117*4882a593Smuzhiyun        - Use a sequencer interrupt to notify the host of
118*4882a593Smuzhiyun          commands with bad status.  We defer the notification
119*4882a593Smuzhiyun          until there are no outstanding selections to ensure
120*4882a593Smuzhiyun          that the host is interrupted for as short a time as
121*4882a593Smuzhiyun          possible.
122*4882a593Smuzhiyun        - Remove pre-2.2.X support.
123*4882a593Smuzhiyun        - Add support for new 2.5.X interrupt API.
124*4882a593Smuzhiyun        - Correct big-endian architecture support.
125*4882a593Smuzhiyun
126*4882a593Smuzhiyun * 1.3.7 (April 16th, 2003)
127*4882a593Smuzhiyun        - Use del_timer_sync() to ensure that no timeouts
128*4882a593Smuzhiyun          are pending during controller shutdown.
129*4882a593Smuzhiyun        - For pre-2.5.X kernels, carefully adjust our segment
130*4882a593Smuzhiyun          list size to avoid SCSI malloc pool fragmentation.
131*4882a593Smuzhiyun        - Cleanup channel display in our /proc output.
132*4882a593Smuzhiyun        - Workaround duplicate device entries in the mid-layer
133*4882a593Smuzhiyun          device list during add-single-device.
134*4882a593Smuzhiyun
135*4882a593Smuzhiyun * 1.3.6 (March 28th, 2003)
136*4882a593Smuzhiyun        - Correct a double free in the Domain Validation code.
137*4882a593Smuzhiyun        - Correct a reference to free'ed memory during controller
138*4882a593Smuzhiyun          shutdown.
139*4882a593Smuzhiyun        - Reset the bus on an SE->LVD change.  This is required
140*4882a593Smuzhiyun          to reset our transceivers.
141*4882a593Smuzhiyun
142*4882a593Smuzhiyun * 1.3.5 (March 24th, 2003)
143*4882a593Smuzhiyun        - Fix a few register window mode bugs.
144*4882a593Smuzhiyun        - Include read streaming in the PPR flags we display in
145*4882a593Smuzhiyun          diagnostics as well as /proc.
146*4882a593Smuzhiyun        - Add PCI hot plug support for 2.5.X kernels.
147*4882a593Smuzhiyun        - Correct default precompensation value for RevA hardware.
148*4882a593Smuzhiyun        - Fix Domain Validation thread shutdown.
149*4882a593Smuzhiyun        - Add a firmware workaround to make the LED blink
150*4882a593Smuzhiyun          brighter during packetized operations on the H2A4.
151*4882a593Smuzhiyun        - Correct /proc display of user read streaming settings.
152*4882a593Smuzhiyun        - Simplify driver locking by releasing the io_request_lock
153*4882a593Smuzhiyun          upon driver entry from the mid-layer.
154*4882a593Smuzhiyun        - Cleanup command line parsing and move much of this code
155*4882a593Smuzhiyun          to aiclib.
156*4882a593Smuzhiyun
157*4882a593Smuzhiyun * 1.3.4 (February 28th, 2003)
158*4882a593Smuzhiyun        - Correct a race condition in our error recovery handler.
159*4882a593Smuzhiyun        - Allow Test Unit Ready commands to take a full 5 seconds
160*4882a593Smuzhiyun          during Domain Validation.
161*4882a593Smuzhiyun
162*4882a593Smuzhiyun * 1.3.2 (February 19th, 2003)
163*4882a593Smuzhiyun        - Correct a Rev B. regression due to the GEM318
164*4882a593Smuzhiyun          compatibility fix included in 1.3.1.
165*4882a593Smuzhiyun
166*4882a593Smuzhiyun * 1.3.1 (February 11th, 2003)
167*4882a593Smuzhiyun        - Add support for the 39320A.
168*4882a593Smuzhiyun        - Improve recovery for certain PCI-X errors.
169*4882a593Smuzhiyun        - Fix handling of LQ/DATA/LQ/DATA for the
170*4882a593Smuzhiyun          same write transaction that can occur without
171*4882a593Smuzhiyun          interveining training.
172*4882a593Smuzhiyun        - Correct compatibility issues with the GEM318
173*4882a593Smuzhiyun          enclosure services device.
174*4882a593Smuzhiyun        - Correct data corruption issue that occurred under
175*4882a593Smuzhiyun          high tag depth write loads.
176*4882a593Smuzhiyun        - Adapt to a change in the 2.5.X daemonize() API.
177*4882a593Smuzhiyun        - Correct a "Missing case in ahd_handle_scsiint" panic.
178*4882a593Smuzhiyun
179*4882a593Smuzhiyun * 1.3.0 (January 21st, 2003)
180*4882a593Smuzhiyun        - Full regression testing for all U320 products completed.
181*4882a593Smuzhiyun        - Added abort and target/lun reset error recovery handler and
182*4882a593Smuzhiyun          interrupt coalescing.
183*4882a593Smuzhiyun
184*4882a593Smuzhiyun * 1.2.0 (November 14th, 2002)
185*4882a593Smuzhiyun        - Added support for Domain Validation
186*4882a593Smuzhiyun        - Add support for the Hewlett-Packard version of the 39320D
187*4882a593Smuzhiyun          and AIC-7902 adapters.
188*4882a593Smuzhiyun
189*4882a593Smuzhiyun        Support for previous adapters has not been fully tested and should
190*4882a593Smuzhiyun        only be used at the customer's own risk.
191*4882a593Smuzhiyun
192*4882a593Smuzhiyun * 1.1.1 (September 24th, 2002)
193*4882a593Smuzhiyun        - Added support for the Linux 2.5.X kernel series
194*4882a593Smuzhiyun
195*4882a593Smuzhiyun * 1.1.0 (September 17th, 2002)
196*4882a593Smuzhiyun        - Added support for four additional SCSI products:
197*4882a593Smuzhiyun          ASC-39320, ASC-29320, ASC-29320LP, AIC-7901.
198*4882a593Smuzhiyun
199*4882a593Smuzhiyun * 1.0.0 (May 30th, 2002)
200*4882a593Smuzhiyun        - Initial driver release.
201*4882a593Smuzhiyun
202*4882a593Smuzhiyun * 2.1. Software/Hardware Features
203*4882a593Smuzhiyun        - Support for the SPI-4 "Ultra320" standard:
204*4882a593Smuzhiyun          - 320MB/s transfer rates
205*4882a593Smuzhiyun          - Packetized SCSI Protocol at 160MB/s and 320MB/s
206*4882a593Smuzhiyun          - Quick Arbitration Selection (QAS)
207*4882a593Smuzhiyun          - Retained Training Information (Rev B. ASIC only)
208*4882a593Smuzhiyun        - Interrupt Coalescing
209*4882a593Smuzhiyun        - Initiator Mode (target mode not currently
210*4882a593Smuzhiyun          supported)
211*4882a593Smuzhiyun        - Support for the PCI-X standard up to 133MHz
212*4882a593Smuzhiyun        - Support for the PCI v2.2 standard
213*4882a593Smuzhiyun        - Domain Validation
214*4882a593Smuzhiyun
215*4882a593Smuzhiyun * 2.2. Operating System Support:
216*4882a593Smuzhiyun        - Redhat Linux 7.2, 7.3, 8.0, Advanced Server 2.1
217*4882a593Smuzhiyun        - SuSE Linux 7.3, 8.0, 8.1, Enterprise Server 7
218*4882a593Smuzhiyun        - only Intel and AMD x86 supported at this time
219*4882a593Smuzhiyun        - >4GB memory configurations supported.
220*4882a593Smuzhiyun
221*4882a593Smuzhiyun     Refer to the User's Guide for more details on this.
222*4882a593Smuzhiyun
223*4882a593Smuzhiyun3. Command Line Options
224*4882a593Smuzhiyun=======================
225*4882a593Smuzhiyun
226*4882a593Smuzhiyun    .. Warning::
227*4882a593Smuzhiyun
228*4882a593Smuzhiyun	         ALTERING OR ADDING THESE DRIVER PARAMETERS
229*4882a593Smuzhiyun                 INCORRECTLY CAN RENDER YOUR SYSTEM INOPERABLE.
230*4882a593Smuzhiyun                 USE THEM WITH CAUTION.
231*4882a593Smuzhiyun
232*4882a593Smuzhiyun   Put a .conf file in the /etc/modprobe.d/ directory and add/edit a
233*4882a593Smuzhiyun   line containing ``options aic79xx aic79xx=[command[,command...]]`` where
234*4882a593Smuzhiyun   ``command`` is one or more of the following:
235*4882a593Smuzhiyun
236*4882a593Smuzhiyun
237*4882a593Smuzhiyunverbose
238*4882a593Smuzhiyun    :Definition: enable additional informative messages during driver operation.
239*4882a593Smuzhiyun    :Possible Values: This option is a flag
240*4882a593Smuzhiyun    :Default Value: disabled
241*4882a593Smuzhiyun
242*4882a593Smuzhiyundebug:[value]
243*4882a593Smuzhiyun    :Definition: Enables various levels of debugging information
244*4882a593Smuzhiyun                 The bit definitions for the debugging mask can
245*4882a593Smuzhiyun                 be found in drivers/scsi/aic7xxx/aic79xx.h under
246*4882a593Smuzhiyun                 the "Debug" heading.
247*4882a593Smuzhiyun    :Possible Values: 0x0000 = no debugging, 0xffff = full debugging
248*4882a593Smuzhiyun    :Default Value: 0x0000
249*4882a593Smuzhiyun
250*4882a593Smuzhiyunno_reset
251*4882a593Smuzhiyun    :Definition: Do not reset the bus during the initial probe
252*4882a593Smuzhiyun                 phase
253*4882a593Smuzhiyun    :Possible Values: This option is a flag
254*4882a593Smuzhiyun    :Default Value: disabled
255*4882a593Smuzhiyun
256*4882a593Smuzhiyunextended
257*4882a593Smuzhiyun    :Definition: Force extended translation on the controller
258*4882a593Smuzhiyun    :Possible Values: This option is a flag
259*4882a593Smuzhiyun    :Default Value: disabled
260*4882a593Smuzhiyun
261*4882a593Smuzhiyunperiodic_otag
262*4882a593Smuzhiyun    :Definition: Send an ordered tag periodically to prevent
263*4882a593Smuzhiyun                 tag starvation.  Needed for some older devices
264*4882a593Smuzhiyun    :Possible Values: This option is a flag
265*4882a593Smuzhiyun    :Default Value: disabled
266*4882a593Smuzhiyun
267*4882a593Smuzhiyunreverse_scan
268*4882a593Smuzhiyun    :Definition: Probe the scsi bus in reverse order, starting with target 15
269*4882a593Smuzhiyun    :Possible Values: This option is a flag
270*4882a593Smuzhiyun    :Default Value: disabled
271*4882a593Smuzhiyun
272*4882a593Smuzhiyunglobal_tag_depth
273*4882a593Smuzhiyun    :Definition: Global tag depth for all targets on all busses.
274*4882a593Smuzhiyun		 This option sets the default tag depth which
275*4882a593Smuzhiyun		 may be selectively overridden vi the tag_info
276*4882a593Smuzhiyun		 option.
277*4882a593Smuzhiyun
278*4882a593Smuzhiyun    :Possible Values: 1 - 253
279*4882a593Smuzhiyun    :Default Value: 32
280*4882a593Smuzhiyun
281*4882a593Smuzhiyuntag_info:{{value[,value...]}[,{value[,value...]}...]}
282*4882a593Smuzhiyun    :Definition: Set the per-target tagged queue depth on a
283*4882a593Smuzhiyun                 per controller basis.  Both controllers and targets
284*4882a593Smuzhiyun                 may be omitted indicating that they should retain
285*4882a593Smuzhiyun                 the default tag depth.
286*4882a593Smuzhiyun
287*4882a593Smuzhiyun    :Possible Values: 1 - 253
288*4882a593Smuzhiyun    :Default Value: 32
289*4882a593Smuzhiyun
290*4882a593Smuzhiyun    Examples:
291*4882a593Smuzhiyun
292*4882a593Smuzhiyun
293*4882a593Smuzhiyun	::
294*4882a593Smuzhiyun
295*4882a593Smuzhiyun	    tag_info:{{16,32,32,64,8,8,,32,32,32,32,32,32,32,32,32}
296*4882a593Smuzhiyun
297*4882a593Smuzhiyun	On Controller 0
298*4882a593Smuzhiyun
299*4882a593Smuzhiyun	    - specifies a tag depth of 16 for target 0
300*4882a593Smuzhiyun	    - specifies a tag depth of 64 for target 3
301*4882a593Smuzhiyun	    - specifies a tag depth of 8 for targets 4 and 5
302*4882a593Smuzhiyun	    - leaves target 6 at the default
303*4882a593Smuzhiyun	    - specifies a tag depth of 32 for targets 1,2,7-15
304*4882a593Smuzhiyun
305*4882a593Smuzhiyun	All other targets retain the default depth.
306*4882a593Smuzhiyun
307*4882a593Smuzhiyun	::
308*4882a593Smuzhiyun
309*4882a593Smuzhiyun	    tag_info:{{},{32,,32}}
310*4882a593Smuzhiyun
311*4882a593Smuzhiyun	On Controller 1
312*4882a593Smuzhiyun
313*4882a593Smuzhiyun	    - specifies a tag depth of 32 for targets 0 and 2
314*4882a593Smuzhiyun
315*4882a593Smuzhiyun	All other targets retain the default depth.
316*4882a593Smuzhiyun
317*4882a593Smuzhiyun
318*4882a593Smuzhiyunrd_strm: {rd_strm_bitmask[,rd_strm_bitmask...]}
319*4882a593Smuzhiyun    :Definition: Enable read streaming on a per target basis.
320*4882a593Smuzhiyun		 The rd_strm_bitmask is a 16 bit hex value in which
321*4882a593Smuzhiyun		 each bit represents a target.  Setting the target's
322*4882a593Smuzhiyun		 bit to '1' enables read streaming for that
323*4882a593Smuzhiyun		 target.  Controllers may be omitted indicating that
324*4882a593Smuzhiyun		 they should retain the default read streaming setting.
325*4882a593Smuzhiyun
326*4882a593Smuzhiyun    Examples:
327*4882a593Smuzhiyun
328*4882a593Smuzhiyun	    ::
329*4882a593Smuzhiyun
330*4882a593Smuzhiyun		rd_strm:{0x0041}
331*4882a593Smuzhiyun
332*4882a593Smuzhiyun	    On Controller 0
333*4882a593Smuzhiyun
334*4882a593Smuzhiyun		- enables read streaming for targets 0 and 6.
335*4882a593Smuzhiyun		- disables read streaming for targets 1-5,7-15.
336*4882a593Smuzhiyun
337*4882a593Smuzhiyun	    All other targets retain the default read
338*4882a593Smuzhiyun	    streaming setting.
339*4882a593Smuzhiyun
340*4882a593Smuzhiyun	    ::
341*4882a593Smuzhiyun
342*4882a593Smuzhiyun		rd_strm:{0x0023,,0xFFFF}
343*4882a593Smuzhiyun
344*4882a593Smuzhiyun	    On Controller 0
345*4882a593Smuzhiyun
346*4882a593Smuzhiyun		- enables read streaming for targets 1,2, and 5.
347*4882a593Smuzhiyun		- disables read streaming for targets 3,4,6-15.
348*4882a593Smuzhiyun
349*4882a593Smuzhiyun	    On Controller 2
350*4882a593Smuzhiyun
351*4882a593Smuzhiyun		- enables read streaming for all targets.
352*4882a593Smuzhiyun
353*4882a593Smuzhiyun	    All other targets retain the default read
354*4882a593Smuzhiyun	    streaming setting.
355*4882a593Smuzhiyun
356*4882a593Smuzhiyun    :Possible Values: 0x0000 - 0xffff
357*4882a593Smuzhiyun    :Default Value: 0x0000
358*4882a593Smuzhiyun
359*4882a593Smuzhiyundv: {value[,value...]}
360*4882a593Smuzhiyun    :Definition: Set Domain Validation Policy on a per-controller basis.
361*4882a593Smuzhiyun                 Controllers may be omitted indicating that
362*4882a593Smuzhiyun                 they should retain the default read streaming setting.
363*4882a593Smuzhiyun
364*4882a593Smuzhiyun     :Possible Values:
365*4882a593Smuzhiyun
366*4882a593Smuzhiyun		      ==== ===============================
367*4882a593Smuzhiyun		       < 0 Use setting from serial EEPROM.
368*4882a593Smuzhiyun                         0 Disable DV
369*4882a593Smuzhiyun		       > 0 Enable DV
370*4882a593Smuzhiyun		      ==== ===============================
371*4882a593Smuzhiyun
372*4882a593Smuzhiyun    :Default Value: DV Serial EEPROM configuration setting.
373*4882a593Smuzhiyun
374*4882a593Smuzhiyun    Example:
375*4882a593Smuzhiyun
376*4882a593Smuzhiyun	::
377*4882a593Smuzhiyun
378*4882a593Smuzhiyun	    dv:{-1,0,,1,1,0}
379*4882a593Smuzhiyun
380*4882a593Smuzhiyun	- On Controller 0 leave DV at its default setting.
381*4882a593Smuzhiyun	- On Controller 1 disable DV.
382*4882a593Smuzhiyun	- Skip configuration on Controller 2.
383*4882a593Smuzhiyun	- On Controllers 3 and 4 enable DV.
384*4882a593Smuzhiyun	- On Controller 5 disable DV.
385*4882a593Smuzhiyun
386*4882a593Smuzhiyunseltime:[value]
387*4882a593Smuzhiyun    :Definition: Specifies the selection timeout value
388*4882a593Smuzhiyun    :Possible Values: 0 = 256ms, 1 = 128ms, 2 = 64ms, 3 = 32ms
389*4882a593Smuzhiyun    :Default Value: 0
390*4882a593Smuzhiyun
391*4882a593Smuzhiyun.. Warning:
392*4882a593Smuzhiyun
393*4882a593Smuzhiyun    The following three options should only be changed at
394*4882a593Smuzhiyun    the direction of a technical support representative.
395*4882a593Smuzhiyun
396*4882a593Smuzhiyun
397*4882a593Smuzhiyunprecomp: {value[,value...]}
398*4882a593Smuzhiyun    :Definition: Set IO Cell precompensation value on a per-controller basis.
399*4882a593Smuzhiyun                 Controllers may be omitted indicating that
400*4882a593Smuzhiyun                 they should retain the default precompensation setting.
401*4882a593Smuzhiyun
402*4882a593Smuzhiyun    :Possible Values: 0 - 7
403*4882a593Smuzhiyun    :Default Value: Varies based on chip revision
404*4882a593Smuzhiyun
405*4882a593Smuzhiyun    Examples:
406*4882a593Smuzhiyun
407*4882a593Smuzhiyun	::
408*4882a593Smuzhiyun
409*4882a593Smuzhiyun	    precomp:{0x1}
410*4882a593Smuzhiyun
411*4882a593Smuzhiyun	On Controller 0 set precompensation to 1.
412*4882a593Smuzhiyun
413*4882a593Smuzhiyun	::
414*4882a593Smuzhiyun
415*4882a593Smuzhiyun	    precomp:{1,,7}
416*4882a593Smuzhiyun
417*4882a593Smuzhiyun	- On Controller 0 set precompensation to 1.
418*4882a593Smuzhiyun	- On Controller 2 set precompensation to 8.
419*4882a593Smuzhiyun
420*4882a593Smuzhiyunslewrate: {value[,value...]}
421*4882a593Smuzhiyun    :Definition: Set IO Cell slew rate on a per-controller basis.
422*4882a593Smuzhiyun                      Controllers may be omitted indicating that
423*4882a593Smuzhiyun                      they should retain the default slew rate setting.
424*4882a593Smuzhiyun
425*4882a593Smuzhiyun    :Possible Values: 0 - 15
426*4882a593Smuzhiyun    :Default Value: Varies based on chip revision
427*4882a593Smuzhiyun
428*4882a593Smuzhiyun    Examples:
429*4882a593Smuzhiyun
430*4882a593Smuzhiyun	::
431*4882a593Smuzhiyun
432*4882a593Smuzhiyun	    slewrate:{0x1}
433*4882a593Smuzhiyun
434*4882a593Smuzhiyun	- On Controller 0 set slew rate to 1.
435*4882a593Smuzhiyun
436*4882a593Smuzhiyun	::
437*4882a593Smuzhiyun
438*4882a593Smuzhiyun	    slewrate :{1,,8}
439*4882a593Smuzhiyun
440*4882a593Smuzhiyun	- On Controller 0 set slew rate to 1.
441*4882a593Smuzhiyun	- On Controller 2 set slew rate to 8.
442*4882a593Smuzhiyun
443*4882a593Smuzhiyunamplitude: {value[,value...]}
444*4882a593Smuzhiyun    :Definition: Set IO Cell signal amplitude on a per-controller basis.
445*4882a593Smuzhiyun                 Controllers may be omitted indicating that
446*4882a593Smuzhiyun                 they should retain the default read streaming setting.
447*4882a593Smuzhiyun
448*4882a593Smuzhiyun    :Possible Values: 1 - 7
449*4882a593Smuzhiyun    :Default Value: Varies based on chip revision
450*4882a593Smuzhiyun
451*4882a593Smuzhiyun    Examples:
452*4882a593Smuzhiyun
453*4882a593Smuzhiyun    ::
454*4882a593Smuzhiyun
455*4882a593Smuzhiyun	amplitude:{0x1}
456*4882a593Smuzhiyun
457*4882a593Smuzhiyun    On Controller 0 set amplitude to 1.
458*4882a593Smuzhiyun
459*4882a593Smuzhiyun    ::
460*4882a593Smuzhiyun
461*4882a593Smuzhiyun	amplitude :{1,,7}
462*4882a593Smuzhiyun
463*4882a593Smuzhiyun    - On Controller 0 set amplitude to 1.
464*4882a593Smuzhiyun    - On Controller 2 set amplitude to 7.
465*4882a593Smuzhiyun
466*4882a593SmuzhiyunExample::
467*4882a593Smuzhiyun
468*4882a593Smuzhiyun    options aic79xx aic79xx=verbose,rd_strm:{{0x0041}}
469*4882a593Smuzhiyun
470*4882a593Smuzhiyunenables verbose output in the driver and turns read streaming on
471*4882a593Smuzhiyunfor targets 0 and 6 of Controller 0.
472*4882a593Smuzhiyun
473*4882a593Smuzhiyun4. Additional Notes
474*4882a593Smuzhiyun===================
475*4882a593Smuzhiyun
476*4882a593Smuzhiyun4.1. Known/Unresolved or FYI Issues
477*4882a593Smuzhiyun-----------------------------------
478*4882a593Smuzhiyun
479*4882a593Smuzhiyun        * Under SuSE Linux Enterprise 7, the driver may fail to operate
480*4882a593Smuzhiyun          correctly due to a problem with PCI interrupt routing in the
481*4882a593Smuzhiyun          Linux kernel.  Please contact SuSE for an updated Linux
482*4882a593Smuzhiyun          kernel.
483*4882a593Smuzhiyun
484*4882a593Smuzhiyun4.2. Third-Party Compatibility Issues
485*4882a593Smuzhiyun-------------------------------------
486*4882a593Smuzhiyun
487*4882a593Smuzhiyun        * Adaptec only supports Ultra320 hard drives running
488*4882a593Smuzhiyun          the latest firmware available. Please check with
489*4882a593Smuzhiyun          your hard drive manufacturer to ensure you have the
490*4882a593Smuzhiyun          latest version.
491*4882a593Smuzhiyun
492*4882a593Smuzhiyun4.3. Operating System or Technology Limitations
493*4882a593Smuzhiyun-----------------------------------------------
494*4882a593Smuzhiyun
495*4882a593Smuzhiyun        * PCI Hot Plug is untested and may cause the operating system
496*4882a593Smuzhiyun          to stop responding.
497*4882a593Smuzhiyun        * Luns that are not numbered contiguously starting with 0 might not
498*4882a593Smuzhiyun          be automatically probed during system startup.  This is a limitation
499*4882a593Smuzhiyun          of the OS.  Please contact your Linux vendor for instructions on
500*4882a593Smuzhiyun          manually probing non-contiguous luns.
501*4882a593Smuzhiyun        * Using the Driver Update Disk version of this package during OS
502*4882a593Smuzhiyun          installation under RedHat might result in two versions of this
503*4882a593Smuzhiyun          driver being installed into the system module directory.  This
504*4882a593Smuzhiyun          might cause problems with the /sbin/mkinitrd program and/or
505*4882a593Smuzhiyun          other RPM packages that try to install system modules.  The best
506*4882a593Smuzhiyun          way to correct this once the system is running is to install
507*4882a593Smuzhiyun          the latest RPM package version of this driver, available from
508*4882a593Smuzhiyun          http://www.adaptec.com.
509*4882a593Smuzhiyun
510*4882a593Smuzhiyun
511*4882a593Smuzhiyun5. Adaptec Customer Support
512*4882a593Smuzhiyun===========================
513*4882a593Smuzhiyun
514*4882a593Smuzhiyun   A Technical Support Identification (TSID) Number is required for
515*4882a593Smuzhiyun   Adaptec technical support.
516*4882a593Smuzhiyun
517*4882a593Smuzhiyun    - The 12-digit TSID can be found on the white barcode-type label
518*4882a593Smuzhiyun      included inside the box with your product.  The TSID helps us
519*4882a593Smuzhiyun      provide more efficient service by accurately identifying your
520*4882a593Smuzhiyun      product and support status.
521*4882a593Smuzhiyun
522*4882a593Smuzhiyun   Support Options
523*4882a593Smuzhiyun    - Search the Adaptec Support Knowledgebase (ASK) at
524*4882a593Smuzhiyun      http://ask.adaptec.com for articles, troubleshooting tips, and
525*4882a593Smuzhiyun      frequently asked questions about your product.
526*4882a593Smuzhiyun    - For support via Email, submit your question to Adaptec's
527*4882a593Smuzhiyun      Technical Support Specialists at http://ask.adaptec.com/.
528*4882a593Smuzhiyun
529*4882a593Smuzhiyun   North America
530*4882a593Smuzhiyun    - Visit our Web site at http://www.adaptec.com/.
531*4882a593Smuzhiyun    - For information about Adaptec's support options, call
532*4882a593Smuzhiyun      408-957-2550, 24 hours a day, 7 days a week.
533*4882a593Smuzhiyun    - To speak with a Technical Support Specialist,
534*4882a593Smuzhiyun
535*4882a593Smuzhiyun      * For hardware products, call 408-934-7274,
536*4882a593Smuzhiyun        Monday to Friday, 3:00 am to 5:00 pm, PDT.
537*4882a593Smuzhiyun      * For RAID and Fibre Channel products, call 321-207-2000,
538*4882a593Smuzhiyun        Monday to Friday, 3:00 am to 5:00 pm, PDT.
539*4882a593Smuzhiyun
540*4882a593Smuzhiyun      To expedite your service, have your computer with you.
541*4882a593Smuzhiyun    - To order Adaptec products, including accessories and cables,
542*4882a593Smuzhiyun      call 408-957-7274.  To order cables online go to
543*4882a593Smuzhiyun      http://www.adaptec.com/buy-cables/.
544*4882a593Smuzhiyun
545*4882a593Smuzhiyun   Europe
546*4882a593Smuzhiyun    - Visit our Web site at http://www.adaptec.com/en-US/_common/world_index.
547*4882a593Smuzhiyun    - To speak with a Technical Support Specialist, call, or email,
548*4882a593Smuzhiyun
549*4882a593Smuzhiyun      * German:  +49 89 4366 5522, Monday-Friday, 9:00-17:00 CET,
550*4882a593Smuzhiyun        http://ask-de.adaptec.com/.
551*4882a593Smuzhiyun      * French:  +49 89 4366 5533, Monday-Friday, 9:00-17:00 CET,
552*4882a593Smuzhiyun	http://ask-fr.adaptec.com/.
553*4882a593Smuzhiyun      * English: +49 89 4366 5544, Monday-Friday, 9:00-17:00 GMT,
554*4882a593Smuzhiyun	http://ask.adaptec.com/.
555*4882a593Smuzhiyun
556*4882a593Smuzhiyun    - You can order Adaptec cables online at
557*4882a593Smuzhiyun      http://www.adaptec.com/buy-cables/.
558*4882a593Smuzhiyun
559*4882a593Smuzhiyun   Japan
560*4882a593Smuzhiyun    - Visit our web site at http://www.adaptec.co.jp/.
561*4882a593Smuzhiyun    - To speak with a Technical Support Specialist, call
562*4882a593Smuzhiyun      +81 3 5308 6120, Monday-Friday, 9:00 a.m. to 12:00 p.m.,
563*4882a593Smuzhiyun      1:00 p.m. to 6:00 p.m.
564*4882a593Smuzhiyun
565*4882a593SmuzhiyunCopyright |copy| 2003 Adaptec Inc. 691 S. Milpitas Blvd., Milpitas CA 95035 USA.
566*4882a593SmuzhiyunAll rights reserved.
567*4882a593Smuzhiyun
568*4882a593SmuzhiyunYou are permitted to redistribute, use and modify this README file in whole
569*4882a593Smuzhiyunor in part in conjunction with redistribution of software governed by the
570*4882a593SmuzhiyunGeneral Public License, provided that the following conditions are met:
571*4882a593Smuzhiyun
572*4882a593Smuzhiyun1. Redistributions of README file must retain the above copyright
573*4882a593Smuzhiyun   notice, this list of conditions, and the following disclaimer,
574*4882a593Smuzhiyun   without modification.
575*4882a593Smuzhiyun2. The name of the author may not be used to endorse or promote products
576*4882a593Smuzhiyun   derived from this software without specific prior written permission.
577*4882a593Smuzhiyun3. Modifications or new contributions must be attributed in a copyright
578*4882a593Smuzhiyun   notice identifying the author ("Contributor") and added below the
579*4882a593Smuzhiyun   original copyright notice. The copyright notice is for purposes of
580*4882a593Smuzhiyun   identifying contributors and should not be deemed as permission to alter
581*4882a593Smuzhiyun   the permissions given by Adaptec.
582*4882a593Smuzhiyun
583*4882a593SmuzhiyunTHIS README FILE IS PROVIDED BY ADAPTEC AND CONTRIBUTORS ``AS IS`` AND
584*4882a593SmuzhiyunANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, ANY
585*4882a593SmuzhiyunWARRANTIES OF NON-INFRINGEMENT OR THE IMPLIED WARRANTIES OF MERCHANTABILITY
586*4882a593SmuzhiyunAND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
587*4882a593SmuzhiyunADAPTEC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
588*4882a593SmuzhiyunSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
589*4882a593SmuzhiyunTO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
590*4882a593SmuzhiyunPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
591*4882a593SmuzhiyunLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
592*4882a593SmuzhiyunNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS README
593*4882a593SmuzhiyunFILE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
594