kern/152926: HiPoint Rocket Raid 622 AHCI driver patch
mike tancsa
mike at sentex.net
Wed Dec 8 15:10:09 UTC 2010
>Number: 152926
>Category: kern
>Synopsis: HiPoint Rocket Raid 622 AHCI driver patch
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 08 15:10:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: mike tancsa
>Release: RELENG_8
>Organization:
Sentex Communications
>Environment:
8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #3: Thu Dec 2 19:57:55
>Description:
This small patch adds support for the highpoint 622 controller
http://www.highpoint-tech.com/USA_new/series_r600.htm
It work well as a PMP with a drive cage attached to its external eSATA port
none5 at pci0:1:0:0: class=0x010400 card=0x00011103 chip=0x06221b4b rev=0x11 hdr=0x00
class = mass storage
subclass = RAID
cap 01[40] = powerspec 3 supports D0 D3 current D0
cap 05[50] = MSI supports 1 message
cap 10[70] = PCI-Express 2 legacy endpoint max data 128(512) link x1(x1)
ecap 0001[100] = AER 1 0 fatal 0 non-fatal 4 corrected
With patch,
ahci1 at pci0:1:0:0: class=0x010400 card=0x00011103 chip=0x06221b4b rev=0x11 hdr=0x00
class = mass storage
subclass = RAID
cap 01[40] = powerspec 3 supports D0 D3 current D0
cap 05[50] = MSI supports 1 message enabled with 1 message
cap 10[70] = PCI-Express 2 legacy endpoint max data 128(512) link x1(x1)
ecap 0001[100] = AER 1 0 fatal 0 non-fatal 4 corrected
ahci1: <HiPoint 622-88SE9128 AHCI SATA controller> port 0xe090-0xe097,0xe080-0xe083,0xe070-0xe077,0xe060-0xe063,0xe050-0xe05f mem 0xfe521000-0xfe5217ff irq 16 at device 0.0 on pci1
ahci1: [ITHREAD]
ahci1: AHCI v1.00 with 2 6Gbps ports, Port Multiplier supported with FBS
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich0: [ITHREAD]
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich1: [ITHREAD]
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich2: [ITHREAD]
ahcich3: <AHCI channel> at channel 3 on ahci0
ahcich3: [ITHREAD]
ahcich4: <AHCI channel> at channel 4 on ahci0
ahcich4: [ITHREAD]
ahcich5: <AHCI channel> at channel 5 on ahci0
ahcich5: [ITHREAD]
ahcich6: <AHCI channel> at channel 0 on ahci1
ahcich6: [ITHREAD]
ahcich7: <AHCI channel> at channel 1 on ahci1
ahcich7: [ITHREAD]
pmp0 at ahcich6 bus 0 scbus6 target 15 lun 0
pmp0: <Port Multiplier 0325197b 000e> ATA-0 device
pmp0: 300.000MB/s transfers (SATA 2.x, NONE, PIO 8192bytes)
pmp0: 15 fan-out ports
ada0 at ahcich6 bus 0 scbus6 target 0 lun 0
ada0: <ST380811AS 0956> ATA-7 SATA 2.x device
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 512bytes)
ada0: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C)
ada1 at ahcich6 bus 0 scbus6 target 2 lun 0
ada1: <ST380811AS 3.AAE> ATA-7 SATA 2.x device
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C)
ada2 at ahcich6 bus 0 scbus6 target 1 lun 0
ada2: <WDC WD5002ABYS-02B1B0 02.03B03> ATA-8 SATA 2.x device
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C)
>How-To-Repeat:
>Fix:
# diff -u sys/dev/ahci/ahci.c sys/dev/ahci/ahci.c.p
--- sys/dev/ahci/ahci.c 2010-11-19 04:14:53.000000000 -0500
+++ sys/dev/ahci/ahci.c.p 2010-12-08 09:52:20.000000000 -0500
@@ -170,6 +170,7 @@
{0x612111ab, 0x00, "Marvell 88SX6121", AHCI_Q_NOFORCE|AHCI_Q_2CH|AHCI_Q_EDGEIS},
{0x614111ab, 0x00, "Marvell 88SX6141", AHCI_Q_NOFORCE|AHCI_Q_4CH|AHCI_Q_EDGEIS},
{0x614511ab, 0x00, "Marvell 88SX6145", AHCI_Q_NOFORCE|AHCI_Q_4CH|AHCI_Q_EDGEIS},
+ {0x06221b4b, 0x00, "HiPoint 622-88SE9128", AHCI_Q_NOBSYRES},
{0x91231b4b, 0x11, "Marvell 88SE912x", AHCI_Q_NOBSYRES},
{0x91231b4b, 0x00, "Marvell 88SE912x", AHCI_Q_EDGEIS|AHCI_Q_SATA2|AHCI_Q_NOBSYRES},
{0x044c10de, 0x00, "NVIDIA MCP65", AHCI_Q_NOAA},
Patch attached with submission follows:
--- sys/dev/ahci/ahci.c 2010-11-19 04:14:53.000000000 -0500
+++ sys/dev/ahci/ahci.c.p 2010-12-08 09:52:20.000000000 -0500
@@ -170,6 +170,7 @@
{0x612111ab, 0x00, "Marvell 88SX6121", AHCI_Q_NOFORCE|AHCI_Q_2CH|AHCI_Q_EDGEIS},
{0x614111ab, 0x00, "Marvell 88SX6141", AHCI_Q_NOFORCE|AHCI_Q_4CH|AHCI_Q_EDGEIS},
{0x614511ab, 0x00, "Marvell 88SX6145", AHCI_Q_NOFORCE|AHCI_Q_4CH|AHCI_Q_EDGEIS},
+ {0x06221b4b, 0x00, "HiPoint 622-88SE9128", AHCI_Q_NOBSYRES},
{0x91231b4b, 0x11, "Marvell 88SE912x", AHCI_Q_NOBSYRES},
{0x91231b4b, 0x00, "Marvell 88SE912x", AHCI_Q_EDGEIS|AHCI_Q_SATA2|AHCI_Q_NOBSYRES},
{0x044c10de, 0x00, "NVIDIA MCP65", AHCI_Q_NOAA},
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list