diff options
author | HighPoint Linux Team <linux@highpoint-tech.com> | 2007-12-13 19:14:26 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-11 19:28:06 -0500 |
commit | 00f5970193e22c48f399a2430635d6416b51befe (patch) | |
tree | ccab0b0ba3e9c093e5edf16f2d23e9f979d2b6d4 /Documentation/scsi/hptiop.txt | |
parent | a7ed0448e28ce6154390bf690b8b5c37853732dc (diff) |
[SCSI] hptiop: add more adapter models and other fixes
Most code changes were made to support adapters based on Marvell IOP, plus some
other fixes.
- add more PCI device IDs
- support for adapters based on Marvell IOP
- fix a result code translation error on big-endian systems
- fix resource releasing bug when scsi_host_alloc() fail in hptiop_probe()
- update scsi_cmnd.resid when finishing a request
- correct some coding style issues
[akpm@linux-foundation.org: type fixes]
Signed-off-by: HighPoint Linux Team <linux@highpoint-tech.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'Documentation/scsi/hptiop.txt')
-rw-r--r-- | Documentation/scsi/hptiop.txt | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/Documentation/scsi/hptiop.txt b/Documentation/scsi/hptiop.txt index d28a31247d4c..a6eb4add1be6 100644 --- a/Documentation/scsi/hptiop.txt +++ b/Documentation/scsi/hptiop.txt | |||
@@ -1,9 +1,9 @@ | |||
1 | HIGHPOINT ROCKETRAID 3xxx RAID DRIVER (hptiop) | 1 | HIGHPOINT ROCKETRAID 3xxx/4xxx ADAPTER DRIVER (hptiop) |
2 | 2 | ||
3 | Controller Register Map | 3 | Controller Register Map |
4 | ------------------------- | 4 | ------------------------- |
5 | 5 | ||
6 | The controller IOP is accessed via PCI BAR0. | 6 | For Intel IOP based adapters, the controller IOP is accessed via PCI BAR0: |
7 | 7 | ||
8 | BAR0 offset Register | 8 | BAR0 offset Register |
9 | 0x10 Inbound Message Register 0 | 9 | 0x10 Inbound Message Register 0 |
@@ -18,6 +18,24 @@ The controller IOP is accessed via PCI BAR0. | |||
18 | 0x40 Inbound Queue Port | 18 | 0x40 Inbound Queue Port |
19 | 0x44 Outbound Queue Port | 19 | 0x44 Outbound Queue Port |
20 | 20 | ||
21 | For Marvell IOP based adapters, the IOP is accessed via PCI BAR0 and BAR1: | ||
22 | |||
23 | BAR0 offset Register | ||
24 | 0x20400 Inbound Doorbell Register | ||
25 | 0x20404 Inbound Interrupt Mask Register | ||
26 | 0x20408 Outbound Doorbell Register | ||
27 | 0x2040C Outbound Interrupt Mask Register | ||
28 | |||
29 | BAR1 offset Register | ||
30 | 0x0 Inbound Queue Head Pointer | ||
31 | 0x4 Inbound Queue Tail Pointer | ||
32 | 0x8 Outbound Queue Head Pointer | ||
33 | 0xC Outbound Queue Tail Pointer | ||
34 | 0x10 Inbound Message Register | ||
35 | 0x14 Outbound Message Register | ||
36 | 0x40-0x1040 Inbound Queue | ||
37 | 0x1040-0x2040 Outbound Queue | ||
38 | |||
21 | 39 | ||
22 | I/O Request Workflow | 40 | I/O Request Workflow |
23 | ---------------------- | 41 | ---------------------- |
@@ -73,15 +91,9 @@ The driver exposes following sysfs attributes: | |||
73 | driver-version R driver version string | 91 | driver-version R driver version string |
74 | firmware-version R firmware version string | 92 | firmware-version R firmware version string |
75 | 93 | ||
76 | The driver registers char device "hptiop" to communicate with HighPoint RAID | ||
77 | management software. Its ioctl routine acts as a general binary interface | ||
78 | between the IOP firmware and HighPoint RAID management software. New management | ||
79 | functions can be implemented in application/firmware without modification | ||
80 | in driver code. | ||
81 | |||
82 | 94 | ||
83 | ----------------------------------------------------------------------------- | 95 | ----------------------------------------------------------------------------- |
84 | Copyright (C) 2006 HighPoint Technologies, Inc. All Rights Reserved. | 96 | Copyright (C) 2006-2007 HighPoint Technologies, Inc. All Rights Reserved. |
85 | 97 | ||
86 | This file is distributed in the hope that it will be useful, | 98 | This file is distributed in the hope that it will be useful, |
87 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 99 | but WITHOUT ANY WARRANTY; without even the implied warranty of |