All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian P. Schmidt" <schmidt@digadd.de>
To: linux-ide@vger.kernel.org
Subject: Support for Marvel 6141 in ahci.c
Date: Sat, 10 Jan 2009 12:31:20 +0300	[thread overview]
Message-ID: <49686AE8.1050209@digadd.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 2806 bytes --]

Hi all,

The Marvell 6141
08:00.0 SATA controller: Marvell Technology Group Ltd. 88SE614x SATA II PCI-E controller (rev 01)
08:00.0 0106: 11ab:6141 (rev 01)
seems to work with the ahci driver with the attached patch:

[17988264.905007] ahci 0000:08:00.0: version 3.0
[17988264.905029] ACPI: PCI Interrupt 0000:08:00.0[A] -> Link [APC7] -> GSI 16 (level, low) -> IRQ 16
[17988264.905054] ahci 0000:08:00.0: controller can't do NCQ, turning off CAP_NCQ
[17988264.905056] ahci 0000:08:00.0: MV_AHCI HACK: port_map 1f -> f
[17988266.267187] ahci 0000:08:00.0: AHCI 0001.0000 32 slots 5 ports 3 Gbps 0xf impl SATA mode
[17988266.267194] ahci 0000:08:00.0: flags: 64bit stag nz only pmp slum part
[17988266.267198] PCI: Setting latency timer of device 0000:08:00.0 to 64
[17988266.268188] scsi12 : ahci
[17988266.268760] scsi13 : ahci
[17988266.268770] scsi14 : ahci
[17988266.268770] scsi15 : ahci
[17988266.268770] scsi16 : ahci
[17988266.268770] ata13: SATA max UDMA/133 abar m1024@0xfdbff000 port 0xfdbff100 irq 16
[17988266.268770] ata14: SATA max UDMA/133 abar m1024@0xfdbff000 port 0xfdbff180 irq 16
[17988266.268770] ata15: SATA max UDMA/133 abar m1024@0xfdbff000 port 0xfdbff200 irq 16
[17988266.268770] ata16: SATA max UDMA/133 abar m1024@0xfdbff000 port 0xfdbff280 irq 16
[17988266.268770] ata17: DUMMY
[14472041.032859] ata13: SATA link up 1.5 Gbps (SStatus 113 SControl 113)
[17988267.192200] ata13.00: ATA-7: ST3500641AS, 3.AAJ, max UDMA/133
[17988267.192200] ata13.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 0/32)
[17988267.289287] ata13.00: configured for UDMA/133
[14472041.486215] ata14: SATA link down (SStatus 0 SControl 0)
[17988268.150351] ata15: SATA link down (SStatus 0 SControl 0)
[14472042.140943] ata16: SATA link down (SStatus 0 SControl 0)
[17988268.564933] scsi 12:0:0:0: Direct-Access     ATA      ST3500641AS      3.AA PQ: 0 ANSI: 5
[17988268.565456] sd 12:0:0:0: [sdg] 976773168 512-byte hardware sectors (500108 MB)
[17988268.565472] sd 12:0:0:0: [sdg] Write Protect is off
[17988268.565474] sd 12:0:0:0: [sdg] Mode Sense: 00 3a 00 00
[17988268.565494] sd 12:0:0:0: [sdg] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[17988268.565579] sd 12:0:0:0: [sdg] 976773168 512-byte hardware sectors (500108 MB)
[17988268.565590] sd 12:0:0:0: [sdg] Write Protect is off
[17988268.565592] sd 12:0:0:0: [sdg] Mode Sense: 00 3a 00 00
[17988268.565611] sd 12:0:0:0: [sdg] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[17988268.565614]  sdg: sdg1
[17988268.585221] sd 12:0:0:0: [sdg] Attached SCSI disk
[17988268.585221] sd 12:0:0:0: Attached scsi generic sg6 type 0

The patch was done on top of Gentoo's 2.6.25-r6, and before that on some 2.6.24 release.

I'm not subscribed, so please CC: me directly on follow-ups.

Regards,
Chris

[-- Attachment #2: 6141.patch --]
[-- Type: text/plain, Size: 341 bytes --]

--- ahci.c.orig	2009-01-10 11:44:28.000000000 +0300
+++ ahci.c	2009-01-10 11:45:18.000000000 +0300
@@ -597,6 +597,7 @@
 
 	/* Marvell */
 	{ PCI_VDEVICE(MARVELL, 0x6145), board_ahci_mv },	/* 6145 */
+	{ PCI_VDEVICE(MARVELL, 0x6141), board_ahci_mv },	/* 6141 */
 	{ PCI_VDEVICE(MARVELL, 0x6121), board_ahci_mv },	/* 6121 */
 
 	/* Promise */

             reply	other threads:[~2009-01-10 10:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-10  9:31 Christian P. Schmidt [this message]
2009-01-10 12:24 ` Support for Marvel 6141 in ahci.c Alan Cox
2009-01-10 12:54   ` Christian P. Schmidt
2009-01-10 14:55     ` Brad Campbell
2009-01-10 15:41       ` Jeff Garzik
2009-01-10 15:45         ` Alan Cox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49686AE8.1050209@digadd.de \
    --to=schmidt@digadd.de \
    --cc=linux-ide@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.