2020-03-02 03:15:46 -05:00
|
|
|
.. SPDX-License-Identifier: GPL-2.0
|
|
|
|
|
2023-05-18 17:27:43 -04:00
|
|
|
==================
|
|
|
|
dc395x SCSI driver
|
|
|
|
==================
|
2005-04-16 18:20:36 -04:00
|
|
|
|
|
|
|
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.
|
|
|
|
|
2023-05-10 05:39:33 -04:00
|
|
|
This driver is evolved from `the original 2.4 driver
|
|
|
|
<https://web.archive.org/web/20140129181343/http://www.garloff.de/kurt/linux/dc395/>`_.
|
2023-05-10 05:39:32 -04:00
|
|
|
Problems, questions and patches should be submitted to the `Linux SCSI
|
|
|
|
mailing list <linux-scsi@vger.kernel.org>`_.
|
2005-04-16 18:20:36 -04:00
|
|
|
|
|
|
|
Parameters
|
|
|
|
----------
|
2020-03-02 03:15:46 -05:00
|
|
|
The driver uses the settings from the EEPROM set in the SCSI BIOS
|
2005-04-16 18:20:36 -04:00
|
|
|
setup. If there is no EEPROM, the driver uses default values.
|
2006-10-03 16:52:05 -04:00
|
|
|
Both can be overridden by command line parameters (module or kernel
|
2005-04-16 18:20:36 -04:00
|
|
|
parameters).
|
|
|
|
|
|
|
|
The following parameters are available:
|
|
|
|
|
2020-03-02 03:15:46 -05:00
|
|
|
safe
|
2005-04-16 18:20:36 -04:00
|
|
|
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
|
|
|
|
|
2020-03-02 03:15:46 -05:00
|
|
|
adapter_id
|
2005-04-16 18:20:36 -04:00
|
|
|
Default: 7, Acceptable values: 0 to 15
|
|
|
|
|
|
|
|
Sets the host adapter SCSI ID.
|
|
|
|
|
2020-03-02 03:15:46 -05:00
|
|
|
max_speed
|
2005-04-16 18:20:36 -04:00
|
|
|
Default: 1, Acceptable value: 0 to 7
|
2020-03-02 03:15:46 -05:00
|
|
|
|
|
|
|
== ========
|
|
|
|
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
|
2005-04-16 18:20:36 -04:00
|
|
|
Bitmap for device configuration
|
|
|
|
|
|
|
|
DevMode bit definition:
|
2020-03-02 03:15:46 -05:00
|
|
|
|
|
|
|
=== ======== ======== =========================================
|
2005-04-16 18:20:36 -04:00
|
|
|
Bit Val(hex) Val(dec) Meaning
|
2020-03-02 03:15:46 -05:00
|
|
|
=== ======== ======== =========================================
|
|
|
|
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
|
2005-04-16 18:20:36 -04:00
|
|
|
Bitmap for adapter configuration
|
|
|
|
|
|
|
|
AdaptMode bit definition
|
2020-03-02 03:15:46 -05:00
|
|
|
|
|
|
|
===== ======== ======== ====================================================
|
2005-04-16 18:20:36 -04:00
|
|
|
Bit Val(hex) Val(dec) Meaning
|
2020-03-02 03:15:46 -05:00
|
|
|
===== ======== ======== ====================================================
|
|
|
|
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.
|
2005-04-16 18:20:36 -04:00
|
|
|
4 0x10 16 Immediate return on BIOS seek command. (Not used)
|
|
|
|
(*)5 0x20 32 Check for LUNs >= 1.
|
2020-03-02 03:15:46 -05:00
|
|
|
===== ======== ======== ====================================================
|
2005-04-16 18:20:36 -04:00
|
|
|
|
2020-03-02 03:15:46 -05:00
|
|
|
tags
|
2005-04-16 18:20:36 -04:00
|
|
|
Default: 3, Acceptable values: 0-5
|
2020-03-02 03:15:46 -05:00
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
The number of tags is 1<<x, if x has been specified
|
|
|
|
|
2020-03-02 03:15:46 -05:00
|
|
|
reset_delay
|
2005-04-16 18:20:36 -04:00
|
|
|
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.
|
2020-03-02 03:15:46 -05:00
|
|
|
|
|
|
|
Note: The GNU GPL says also something about warranty and liability.
|
2005-04-16 18:20:36 -04:00
|
|
|
Please be aware the following: While we do my best to provide a working and
|
2020-03-02 03:15:46 -05:00
|
|
|
reliable driver, there is a chance, that it will kill your valuable data.
|
2005-04-16 18:20:36 -04:00
|
|
|
We refuse to take any responsibility for that. The driver is provided as-is
|
|
|
|
and YOU USE IT AT YOUR OWN RESPONSIBILITY.
|