Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: docs: convert aha152x.txt to ReST

Link: https://lore.kernel.org/r/097cfcc7f25343676a1fedcefed7e3b91b41b4df.1583136624.git.mchehab+huawei@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

Mauro Carvalho Chehab and committed by
Martin K. Petersen
94b5530f cb322408

+53 -31
+48 -27
Documentation/scsi/aha152x.txt Documentation/scsi/aha152x.rst
··· 1 - $Id: README.aha152x,v 1.2 1999/12/25 15:32:30 fischer Exp fischer $ 2 - Adaptec AHA-1520/1522 SCSI driver for Linux (aha152x) 1 + .. SPDX-License-Identifier: GPL-2.0 2 + .. include:: <isonum.txt> 3 3 4 - Copyright 1993-1999 Jürgen Fischer <fischer@norbit.de> 4 + ===================================================== 5 + Adaptec AHA-1520/1522 SCSI driver for Linux (aha152x) 6 + ===================================================== 7 + 8 + Copyright |copy| 1993-1999 Jürgen Fischer <fischer@norbit.de> 9 + 5 10 TC1550 patches by Luuk van Dijk (ldz@xs4all.nl) 6 11 7 12 ··· 19 14 least on my ancient test box; a i486/33Mhz/20MB). 20 15 21 16 22 - CONFIGURATION ARGUMENTS: 17 + Configuration Arguments 18 + ======================= 23 19 20 + ============ ======================================== ====================== 24 21 IOPORT base io address (0x340/0x140) 25 22 IRQ interrupt level (9-12; default 11) 26 23 SCSI_ID scsi id of controller (0-7; default 7) ··· 32 25 DELAY: bus reset delay (default 100) 33 26 EXT_TRANS: enable extended translation (0/1: default 0 [off]) 34 27 (see NOTES) 28 + ============ ======================================== ====================== 35 29 36 - COMPILE TIME CONFIGURATION (go into AHA152X in drivers/scsi/Makefile): 30 + Compile Time Configuration 31 + ========================== 37 32 38 - -DAUTOCONF 39 - use configuration the controller reports (AHA-152x only) 33 + (go into AHA152X in drivers/scsi/Makefile): 40 34 41 - -DSKIP_BIOSTEST 42 - Don't test for BIOS signature (AHA-1510 or disabled BIOS) 35 + - DAUTOCONF 36 + use configuration the controller reports (AHA-152x only) 43 37 44 - -DSETUP0="{ IOPORT, IRQ, SCSI_ID, RECONNECT, PARITY, SYNCHRONOUS, DELAY, EXT_TRANS }" 45 - override for the first controller 38 + - DSKIP_BIOSTEST 39 + Don't test for BIOS signature (AHA-1510 or disabled BIOS) 46 40 47 - -DSETUP1="{ IOPORT, IRQ, SCSI_ID, RECONNECT, PARITY, SYNCHRONOUS, DELAY, EXT_TRANS }" 48 - override for the second controller 41 + - DSETUP0="{ IOPORT, IRQ, SCSI_ID, RECONNECT, PARITY, SYNCHRONOUS, DELAY, EXT_TRANS }" 42 + override for the first controller 49 43 50 - -DAHA152X_DEBUG 51 - enable debugging output 44 + - DSETUP1="{ IOPORT, IRQ, SCSI_ID, RECONNECT, PARITY, SYNCHRONOUS, DELAY, EXT_TRANS }" 45 + override for the second controller 52 46 53 - -DAHA152X_STAT 54 - enable some statistics 47 + - DAHA152X_DEBUG 48 + enable debugging output 49 + 50 + - DAHA152X_STAT 51 + enable some statistics 55 52 56 53 57 - LILO COMMAND LINE OPTIONS: 54 + LILO Command Line Options 55 + ========================= 58 56 59 - aha152x=<IOPORT>[,<IRQ>[,<SCSI-ID>[,<RECONNECT>[,<PARITY>[,<SYNCHRONOUS>[,<DELAY> [,<EXT_TRANS]]]]]]] 57 + :: 58 + 59 + aha152x=<IOPORT>[,<IRQ>[,<SCSI-ID>[,<RECONNECT>[,<PARITY>[,<SYNCHRONOUS>[,<DELAY> [,<EXT_TRANS]]]]]]] 60 60 61 61 The normal configuration can be overridden by specifying a command line. 62 62 When you do this, the BIOS test is skipped. Entered values have to be ··· 72 58 For two controllers use the aha152x statement twice. 73 59 74 60 75 - SYMBOLS FOR MODULE CONFIGURATION: 61 + Symbols for Module Configuration 62 + ================================ 76 63 77 64 Choose from 2 alternatives: 78 65 79 - 1. specify everything (old) 66 + 1. specify everything (old):: 80 67 81 - aha152x=IOPORT,IRQ,SCSI_ID,RECONNECT,PARITY,SYNCHRONOUS,DELAY,EXT_TRANS 68 + aha152x=IOPORT,IRQ,SCSI_ID,RECONNECT,PARITY,SYNCHRONOUS,DELAY,EXT_TRANS 69 + 82 70 configuration override for first controller 83 71 72 + :: 84 73 85 - aha152x1=IOPORT,IRQ,SCSI_ID,RECONNECT,PARITY,SYNCHRONOUS,DELAY,EXT_TRANS 74 + aha152x1=IOPORT,IRQ,SCSI_ID,RECONNECT,PARITY,SYNCHRONOUS,DELAY,EXT_TRANS 75 + 86 76 configuration override for second controller 87 77 88 78 2. specify only what you need to (irq or io is required; new) ··· 119 101 If you use both alternatives the first will be taken. 120 102 121 103 122 - NOTES ON EXT_TRANS: 104 + Notes on EXT_TRANS 105 + ================== 123 106 124 107 SCSI uses block numbers to address blocks/sectors on a device. 125 108 The BIOS uses a cylinder/head/sector addressing scheme (C/H/S) ··· 169 150 - for disks<1GB: use default translation (C/32/64) 170 151 171 152 - for disks>1GB: 153 + 172 154 - take current geometry from the partition table 173 - (using scsicam_bios_param and accept only `valid' geometries, 155 + (using scsicam_bios_param and accept only 'valid' geometries, 174 156 ie. either (C/32/64) or (C/63/255)). This can be extended translation 175 157 even if it's not enabled in the driver. 176 158 ··· 181 161 disks. 182 162 183 163 184 - REFERENCES USED: 164 + References Used 165 + =============== 185 166 186 167 "AIC-6260 SCSI Chip Specification", Adaptec Corporation. 187 168 ··· 198 177 199 178 Drew Eckhardt (drew@cs.colorado.edu) 200 179 201 - Eric Youngdale (eric@andante.org) 180 + Eric Youngdale (eric@andante.org) 202 181 203 182 special thanks to Eric Youngdale for the free(!) supplying the 204 183 documentation on the chip.
+1
Documentation/scsi/index.rst
··· 10 10 53c700 11 11 aacraid 12 12 advansys 13 + aha152x 13 14 14 15 scsi_transport_srp/figures
+1 -1
Documentation/scsi/scsi-parameters.txt
··· 16 16 See header of drivers/scsi/advansys.c. 17 17 18 18 aha152x= [HW,SCSI] 19 - See Documentation/scsi/aha152x.txt. 19 + See Documentation/scsi/aha152x.rst. 20 20 21 21 aha1542= [HW,SCSI] 22 22 Format: <portbase>[,<buson>,<busoff>[,<dmaspeed>]]
+1 -1
drivers/scsi/Kconfig
··· 383 383 384 384 It is explained in section 3.3 of the SCSI-HOWTO, available from 385 385 <http://www.tldp.org/docs.html#howto>. You might also want to 386 - read the file <file:Documentation/scsi/aha152x.txt>. 386 + read the file <file:Documentation/scsi/aha152x.rst>. 387 387 388 388 To compile this driver as a module, choose M here: the 389 389 module will be called aha152x.
+2 -2
drivers/scsi/aha152x.c
··· 220 220 * 221 221 ************************************************************************** 222 222 223 - see Documentation/scsi/aha152x.txt for configuration details 223 + see Documentation/scsi/aha152x.rst for configuration details 224 224 225 225 **************************************************************************/ 226 226 ··· 1249 1249 "aha152x: unable to verify geometry for disk with >1GB.\n" 1250 1250 " Using default translation. Please verify yourself.\n" 1251 1251 " Perhaps you need to enable extended translation in the driver.\n" 1252 - " See Documentation/scsi/aha152x.txt for details.\n"); 1252 + " See Documentation/scsi/aha152x.rst for details.\n"); 1253 1253 } 1254 1254 } else { 1255 1255 info_array[0] = info[0];