Skip to contentSkip to conversation

ahci: AHCI mode SATA patch for Intel ICH9

PATCH Superseded Jason Gaston 4 participants 4 messages Nov 21, 2006 – Nov 23, 2006 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ahci: AHCI mode SATA patch for Intel ICH9

This patch adds the Intel ICH9 AHCI controller DID's for SATA support.

--- linux-2.6.19-rc6/drivers/ata/ahci.c.orig 2006-11-20
04:56:51.000000000 -0800
+++ linux-2.6.19-rc6/drivers/ata/ahci.c 2006-11-20 04:58:30.000000000
-0800
@@ -314,6 +314,17 @@
{ PCI_VDEVICE(INTEL, 0x2824), board_ahci }, /* ICH8 */ { PCI_VDEVICE(INTEL, 0x2829), board_ahci }, /* ICH8M */ { PCI_VDEVICE(INTEL, 0x282a), board_ahci }, /* ICH8M */
+ { PCI_VDEVICE(INTEL, 0x2922), board_ahci }, /* ICH9 */
+ { PCI_VDEVICE(INTEL, 0x2923), board_ahci }, /* ICH9 */
+ { PCI_VDEVICE(INTEL, 0x2924), board_ahci }, /* ICH9 */
+ { PCI_VDEVICE(INTEL, 0x2925), board_ahci }, /* ICH9 */
+ { PCI_VDEVICE(INTEL, 0x2927), board_ahci }, /* ICH9 */
+ { PCI_VDEVICE(INTEL, 0x2929), board_ahci }, /* ICH9M */
+ { PCI_VDEVICE(INTEL, 0x292a), board_ahci }, /* ICH9M */
+ { PCI_VDEVICE(INTEL, 0x292b), board_ahci }, /* ICH9M */
+ { PCI_VDEVICE(INTEL, 0x292f), board_ahci }, /* ICH9M */
+ { PCI_VDEVICE(INTEL, 0x294d), board_ahci }, /* ICH9 */
+ { PCI_VDEVICE(INTEL, 0x294e), board_ahci }, /* ICH9M */

/* JMicron */
{ PCI_VDEVICE(JMICRON, 0x2360), board_ahci }, /* JMicron JMB360 */

#1 lore raw
Quoted 8 lines · Jason Gaston

This patch adds the Intel ICH9 AHCI controller DID's for SATA support.

--- linux-2.6.19-rc6/drivers/ata/ahci.c.orig 2006-11-20
04:56:51.000000000 -0800
+++ linux-2.6.19-rc6/drivers/ata/ahci.c 2006-11-20 04:58:30.000000000
-0800

Again, wrapped.

Quoted 8 lines
(quoted diff) +4 -0
@@ -314,6 +314,17 @@
 	{ PCI_VDEVICE(INTEL, 0x2824), board_ahci }, /* ICH8 */
 	{ PCI_VDEVICE(INTEL, 0x2829), board_ahci }, /* ICH8M */
 	{ PCI_VDEVICE(INTEL, 0x282a), board_ahci }, /* ICH8M */
+	{ PCI_VDEVICE(INTEL, 0x2922), board_ahci }, /* ICH9 */
+	{ PCI_VDEVICE(INTEL, 0x2923), board_ahci }, /* ICH9 */
+	{ PCI_VDEVICE(INTEL, 0x2924), board_ahci }, /* ICH9 */
+	{ PCI_VDEVICE(INTEL, 0x2925), board_ahci }, /* ICH9 */

Review line 330

Quoted 10 lines
(quoted diff) +7 -0
+	{ PCI_VDEVICE(INTEL, 0x2927), board_ahci }, /* ICH9 */
+	{ PCI_VDEVICE(INTEL, 0x2929), board_ahci }, /* ICH9M */
+	{ PCI_VDEVICE(INTEL, 0x292a), board_ahci }, /* ICH9M */
+	{ PCI_VDEVICE(INTEL, 0x292b), board_ahci }, /* ICH9M */
+	{ PCI_VDEVICE(INTEL, 0x292f), board_ahci }, /* ICH9M */
+	{ PCI_VDEVICE(INTEL, 0x294d), board_ahci }, /* ICH9 */
+	{ PCI_VDEVICE(INTEL, 0x294e), board_ahci }, /* ICH9M */
 
 	/* JMicron */
 	{ PCI_VDEVICE(JMICRON, 0x2360), board_ahci }, /* JMicron JMB360 */

Other than that, looks fine.

Signature · 1 line
tejun
#2 lore raw
In reply to Jason Gaston
Quoted 3 lines · Jason Gaston

This patch adds the Intel ICH9 AHCI controller DID's for SATA support.

there was some discussion about a generic class match for ahci... would these devices be matched by that?

Signature · 2 lines
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org
#3 lore raw
Quoted 7 lines · Arjan van de Ven
Quoted 3 lines · Jason Gaston

This patch adds the Intel ICH9 AHCI controller DID's for SATA support.

there was some discussion about a generic class match for ahci... would these devices be matched by that?

AHCI class yes, RAID class no.

But vendors would probably /love/ that we didn't match the RAID class, even though we can drive it...

Jeff