| 1 |
.. SPDX-License-Identifier: GPL-2.0 |
| 2 |
|
| 3 |
================== |
| 4 |
dc395x SCSI driver |
| 5 |
================== |
| 6 |
|
| 7 |
Status |
| 8 |
------ |
| 9 |
The driver has been tested with CD-R and CD-R/W drives. These should |
| 10 |
be safe to use. Testing with hard disks has not been done to any |
| 11 |
great degree and caution should be exercised if you want to attempt |
| 12 |
to use this driver with hard disks. |
| 13 |
|
| 14 |
This driver is evolved from `the original 2.4 driver |
| 15 |
<https://web.archive.org/web/20140129181343/http://www.garloff.de/kurt/linux/dc395/>`_. |
| 16 |
Problems, questions and patches should be submitted to the `Linux SCSI |
| 17 |
mailing list <[email protected]>`_. |
| 18 |
|
| 19 |
Parameters |
| 20 |
---------- |
| 21 |
The driver uses the settings from the EEPROM set in the SCSI BIOS |
| 22 |
setup. If there is no EEPROM, the driver uses default values. |
| 23 |
Both can be overridden by command line parameters (module or kernel |
| 24 |
parameters). |
| 25 |
|
| 26 |
The following parameters are available: |
| 27 |
|
| 28 |
safe |
| 29 |
Default: 0, Acceptable values: 0 or 1 |
| 30 |
|
| 31 |
If safe is set to 1 then the adapter will use conservative |
| 32 |
("safe") default settings. This sets: |
| 33 |
|
| 34 |
shortcut for dc395x=7,4,9,15,2,10 |
| 35 |
|
| 36 |
adapter_id |
| 37 |
Default: 7, Acceptable values: 0 to 15 |
| 38 |
|
| 39 |
Sets the host adapter SCSI ID. |
| 40 |
|
| 41 |
max_speed |
| 42 |
Default: 1, Acceptable value: 0 to 7 |
| 43 |
|
| 44 |
== ======== |
| 45 |
0 20 Mhz |
| 46 |
1 12.2 Mhz |
| 47 |
2 10 Mhz |
| 48 |
3 8 Mhz |
| 49 |
4 6.7 Mhz |
| 50 |
5 5.8 Hhz |
| 51 |
6 5 Mhz |
| 52 |
7 4 Mhz |
| 53 |
== ======== |
| 54 |
|
| 55 |
dev_mode |
| 56 |
Bitmap for device configuration |
| 57 |
|
| 58 |
DevMode bit definition: |
| 59 |
|
| 60 |
=== ======== ======== ========================================= |
| 61 |
Bit Val(hex) Val(dec) Meaning |
| 62 |
=== ======== ======== ========================================= |
| 63 |
0 0x01 1 Parity check |
| 64 |
1 0x02 2 Synchronous Negotiation |
| 65 |
2 0x04 4 Disconnection |
| 66 |
3 0x08 8 Send Start command on startup. (Not used) |
| 67 |
4 0x10 16 Tagged Command Queueing |
| 68 |
5 0x20 32 Wide Negotiation |
| 69 |
=== ======== ======== ========================================= |
| 70 |
|
| 71 |
adapter_mode |
| 72 |
Bitmap for adapter configuration |
| 73 |
|
| 74 |
AdaptMode bit definition |
| 75 |
|
| 76 |
===== ======== ======== ==================================================== |
| 77 |
Bit Val(hex) Val(dec) Meaning |
| 78 |
===== ======== ======== ==================================================== |
| 79 |
0 0x01 1 Support more than two drives. (Not used) |
| 80 |
1 0x02 2 Use DOS compatible mapping for HDs greater than 1GB. |
| 81 |
2 0x04 4 Reset SCSI Bus on startup. |
| 82 |
3 0x08 8 Active Negation: Improves SCSI Bus noise immunity. |
| 83 |
4 0x10 16 Immediate return on BIOS seek command. (Not used) |
| 84 |
(*)5 0x20 32 Check for LUNs >= 1. |
| 85 |
===== ======== ======== ==================================================== |
| 86 |
|
| 87 |
tags |
| 88 |
Default: 3, Acceptable values: 0-5 |
| 89 |
|
| 90 |
The number of tags is 1<<x, if x has been specified |
| 91 |
|
| 92 |
reset_delay |
| 93 |
Default: 1, Acceptable values: 0-180 |
| 94 |
|
| 95 |
The seconds to not accept commands after a SCSI Reset |
| 96 |
|
| 97 |
|
| 98 |
For the built in driver the parameters should be prefixed with |
| 99 |
dc395x. (eg "dc395x.safe=1") |
| 100 |
|
| 101 |
|
| 102 |
Copyright |
| 103 |
--------- |
| 104 |
The driver is free software. It is protected by the GNU General Public |
| 105 |
License (GPL). Please read it, before using this driver. It should be |
| 106 |
included in your kernel sources and with your distribution. It carries the |
| 107 |
filename COPYING. If you don't have it, please ask me to send you one by |
| 108 |
email. |
| 109 |
|
| 110 |
Note: The GNU GPL says also something about warranty and liability. |
| 111 |
Please be aware the following: While we do my best to provide a working and |
| 112 |
reliable driver, there is a chance, that it will kill your valuable data. |
| 113 |
We refuse to take any responsibility for that. The driver is provided as-is |
| 114 |
and YOU USE IT AT YOUR OWN RESPONSIBILITY. |