Blame view

Documentation/scsi/dc395x.rst 3.79 KB
62e3bfa4a   Mauro Carvalho Chehab   scsi: docs: conve...
1
2
3
  .. SPDX-License-Identifier: GPL-2.0
  
  ======================================
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
4
  README file for the dc395x SCSI driver
62e3bfa4a   Mauro Carvalho Chehab   scsi: docs: conve...
5
  ======================================
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  
  Status
  ------
  The driver has been tested with CD-R and CD-R/W drives. These should
  be safe to use. Testing with hard disks has not been done to any
  great degree and caution should be exercised if you want to attempt
  to use this driver with hard disks.
  
  This is a 2.5 only driver. For a 2.4 driver please see the original
  driver (which this driver started from) at
  http://www.garloff.de/kurt/linux/dc395/
  
  Problems, questions and patches should be submitted to the mailing
  list. Details on the list, including archives, are available at
  http://lists.twibble.org/mailman/listinfo/dc395x/
  
  Parameters
  ----------
62e3bfa4a   Mauro Carvalho Chehab   scsi: docs: conve...
24
  The driver uses the settings from the EEPROM set in the SCSI BIOS
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
25
  setup. If there is no EEPROM, the driver uses default values.
992caacf1   Matt LaPlante   Fix typos in Docu...
26
  Both can be overridden by command line parameters (module or kernel
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
27
28
29
  parameters).
  
  The following parameters are available:
62e3bfa4a   Mauro Carvalho Chehab   scsi: docs: conve...
30
  safe
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
31
32
33
34
35
36
     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
62e3bfa4a   Mauro Carvalho Chehab   scsi: docs: conve...
37
  adapter_id
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
38
39
40
     Default: 7, Acceptable values: 0 to 15
  
     Sets the host adapter SCSI ID.
62e3bfa4a   Mauro Carvalho Chehab   scsi: docs: conve...
41
  max_speed
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
42
     Default: 1, Acceptable value: 0 to 7
62e3bfa4a   Mauro Carvalho Chehab   scsi: docs: conve...
43
44
45
46
47
48
49
50
51
52
53
54
55
  
     ==  ========
     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
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
56
57
58
     Bitmap for device configuration
  
     DevMode bit definition:
62e3bfa4a   Mauro Carvalho Chehab   scsi: docs: conve...
59
60
  
        === ======== ========  =========================================
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
61
        Bit Val(hex) Val(dec)  Meaning
62e3bfa4a   Mauro Carvalho Chehab   scsi: docs: conve...
62
63
64
65
66
67
68
69
70
71
        === ======== ========  =========================================
         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
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
72
73
74
     Bitmap for adapter configuration
  
     AdaptMode bit definition
62e3bfa4a   Mauro Carvalho Chehab   scsi: docs: conve...
75
76
  
      ===== ======== ========  ====================================================
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
77
        Bit Val(hex) Val(dec)  Meaning
62e3bfa4a   Mauro Carvalho Chehab   scsi: docs: conve...
78
79
80
81
82
      ===== ======== ========  ====================================================
         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.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
83
84
         4    0x10      16     Immediate return on BIOS seek command. (Not used)
      (*)5    0x20      32     Check for LUNs >= 1.
62e3bfa4a   Mauro Carvalho Chehab   scsi: docs: conve...
85
      ===== ======== ========  ====================================================
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
86

62e3bfa4a   Mauro Carvalho Chehab   scsi: docs: conve...
87
  tags
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
88
     Default: 3, Acceptable values: 0-5
62e3bfa4a   Mauro Carvalho Chehab   scsi: docs: conve...
89

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
90
     The number of tags is 1<<x, if x has been specified
62e3bfa4a   Mauro Carvalho Chehab   scsi: docs: conve...
91
  reset_delay
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
     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")
  
  
  Copyright
  ---------
  The driver is free software. It is protected by the GNU General Public
  License (GPL). Please read it, before using this driver. It should be
  included in your kernel sources and with your distribution. It carries the
  filename COPYING. If you don't have it, please ask me to send you one by
  email.
62e3bfa4a   Mauro Carvalho Chehab   scsi: docs: conve...
108
109
  
  Note: The GNU GPL says also something about warranty and liability.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
110
  Please be aware the following: While we do my best to provide a working and
62e3bfa4a   Mauro Carvalho Chehab   scsi: docs: conve...
111
  reliable driver, there is a chance, that it will kill your valuable data.
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
112
113
  We refuse to take any responsibility for that. The driver is provided as-is
  and YOU USE IT AT YOUR OWN RESPONSIBILITY.