dc395x.rst 3.7 KB

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