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
38Controller 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
2536For 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
4054For 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
5878For 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
81107I/O Request Workflow of Not Marvell Frey
82- ------------------------------------------
108+ ----------------------------------------
83109
84110All queued requests are handled via inbound/outbound queue port.
85111A request packet can be allocated in either IOP or host memory.
@@ -124,7 +150,7 @@ of an inbound message.
124150
125151
126152I/O Request Workflow of Marvell Frey
127- --------------------------------------
153+ ------------------------------------
128154
129155All queued requests are handled via inbound/outbound list.
130156
@@ -167,18 +193,23 @@ User-level Interface
167193
168194The 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
0 commit comments