Skip to content

Commit ac69461

Browse files
mchehabmartinkpetersen
authored andcommitted
scsi: docs: convert hptiop.txt to ReST
Link: https://lore.kernel.org/r/d189a339bb360b7b397914ee3ddeb75d9a7fd788.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>
1 parent 1392de9 commit ac69461

3 files changed

Lines changed: 40 additions & 8 deletions

File tree

Lines changed: 38 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
1-
HIGHPOINT ROCKETRAID 3xxx/4xxx ADAPTER DRIVER (hptiop)
1+
.. SPDX-License-Identifier: GPL-2.0
2+
.. include:: <isonum.txt>
3+
4+
======================================================
5+
Highpoint RocketRAID 3xxx/4xxx Adapter Driver (hptiop)
6+
======================================================
27

38
Controller Register Map
4-
-------------------------
9+
-----------------------
510

6-
For RR44xx Intel IOP based adapters, the controller IOP is accessed via PCI BAR0 and BAR2:
11+
For RR44xx Intel IOP based adapters, the controller IOP is accessed via PCI BAR0 and BAR2
712

13+
============== ==================================
814
BAR0 offset Register
15+
============== ==================================
916
0x11C5C Link Interface IRQ Set
1017
0x11C60 Link Interface IRQ Clear
18+
============== ==================================
1119

20+
============== ==================================
1221
BAR2 offset Register
22+
============== ==================================
1323
0x10 Inbound Message Register 0
1424
0x14 Inbound Message Register 1
1525
0x18 Outbound Message Register 0
@@ -21,10 +31,13 @@ For RR44xx Intel IOP based adapters, the controller IOP is accessed via PCI BAR0
2131
0x34 Outbound Interrupt Mask Register
2232
0x40 Inbound Queue Port
2333
0x44 Outbound Queue Port
34+
============== ==================================
2435

2536
For Intel IOP based adapters, the controller IOP is accessed via PCI BAR0:
2637

38+
============== ==================================
2739
BAR0 offset Register
40+
============== ==================================
2841
0x10 Inbound Message Register 0
2942
0x14 Inbound Message Register 1
3043
0x18 Outbound Message Register 0
@@ -36,31 +49,43 @@ For Intel IOP based adapters, the controller IOP is accessed via PCI BAR0:
3649
0x34 Outbound Interrupt Mask Register
3750
0x40 Inbound Queue Port
3851
0x44 Outbound Queue Port
52+
============== ==================================
3953

4054
For Marvell not Frey IOP based adapters, the IOP is accessed via PCI BAR0 and BAR1:
4155

56+
============== ==================================
4257
BAR0 offset Register
58+
============== ==================================
4359
0x20400 Inbound Doorbell Register
4460
0x20404 Inbound Interrupt Mask Register
4561
0x20408 Outbound Doorbell Register
4662
0x2040C Outbound Interrupt Mask Register
63+
============== ==================================
4764

65+
============== ==================================
4866
BAR1 offset Register
67+
============== ==================================
4968
0x0 Inbound Queue Head Pointer
5069
0x4 Inbound Queue Tail Pointer
5170
0x8 Outbound Queue Head Pointer
5271
0xC Outbound Queue Tail Pointer
5372
0x10 Inbound Message Register
5473
0x14 Outbound Message Register
5574
0x40-0x1040 Inbound Queue
56-
0x1040-0x2040 Outbound Queue
75+
0x1040-0x2040 Outbound Queue
76+
============== ==================================
5777

5878
For Marvell Frey IOP based adapters, the IOP is accessed via PCI BAR0 and BAR1:
5979

80+
============== ==================================
6081
BAR0 offset Register
82+
============== ==================================
6183
0x0 IOP configuration information.
84+
============== ==================================
6285

86+
============== ===================================================
6387
BAR1 offset Register
88+
============== ===================================================
6489
0x4000 Inbound List Base Address Low
6590
0x4004 Inbound List Base Address High
6691
0x4018 Inbound List Write Pointer
@@ -76,10 +101,11 @@ For Marvell Frey IOP based adapters, the IOP is accessed via PCI BAR0 and BAR1:
76101
0x10420 CPU to PCIe Function 0 Message A
77102
0x10480 CPU to PCIe Function 0 Doorbell
78103
0x10484 CPU to PCIe Function 0 Doorbell Enable
104+
============== ===================================================
79105

80106

81107
I/O Request Workflow of Not Marvell Frey
82-
------------------------------------------
108+
----------------------------------------
83109

84110
All queued requests are handled via inbound/outbound queue port.
85111
A request packet can be allocated in either IOP or host memory.
@@ -124,7 +150,7 @@ of an inbound message.
124150

125151

126152
I/O Request Workflow of Marvell Frey
127-
--------------------------------------
153+
------------------------------------
128154

129155
All queued requests are handled via inbound/outbound list.
130156

@@ -167,18 +193,23 @@ User-level Interface
167193

168194
The driver exposes following sysfs attributes:
169195

196+
================== === ========================
170197
NAME R/W Description
198+
================== === ========================
171199
driver-version R driver version string
172200
firmware-version R firmware version string
201+
================== === ========================
173202

174203

175204
-----------------------------------------------------------------------------
176-
Copyright (C) 2006-2012 HighPoint Technologies, Inc. All Rights Reserved.
205+
206+
Copyright |copy| 2006-2012 HighPoint Technologies, Inc. All Rights Reserved.
177207

178208
This file is distributed in the hope that it will be useful,
179209
but WITHOUT ANY WARRANTY; without even the implied warranty of
180210
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
181211
GNU General Public License for more details.
182212

183213
linux@highpoint-tech.com
214+
184215
http://www.highpoint-tech.com

‎Documentation/scsi/index.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@ Linux SCSI Subsystem
2222
FlashPoint
2323
g_NCR5380
2424
hpsa
25+
hptiop
2526

2627
scsi_transport_srp/figures

‎MAINTAINERS‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7505,7 +7505,7 @@ HIGHPOINT ROCKETRAID 3xxx RAID DRIVER
75057505
M: HighPoint Linux Team <linux@highpoint-tech.com>
75067506
W: http://www.highpoint-tech.com
75077507
S: Supported
7508-
F: Documentation/scsi/hptiop.txt
7508+
F: Documentation/scsi/hptiop.rst
75097509
F: drivers/scsi/hptiop.c
75107510

75117511
HIPPI

0 commit comments

Comments
 (0)