linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ahci: Enable SB600 64bit DMA on MSI K9A2 Platinum
@ 2009-10-26  5:03 Mark Nelson
  2009-10-26 13:25 ` Tejun Heo
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Nelson @ 2009-10-26  5:03 UTC (permalink / raw)
  To: linux-ide, Tejun Heo, jeff

Like the Asus M2A-VM, MSI's K9A2 Platinum (MS-7376) can also support 64bit
DMA. According to MSI tech support, 64bit DMA is known to work with BIOS
versions 1.7 and later.

Earlier BIOSs most likey work also, but we'll be safe here and just enable
64bit DMA on 1.7 and newer.

Signed-off-by: Mark Nelson <mdnelson8@gmail.com>
---
 drivers/ata/ahci.c |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

Index: upstream/drivers/ata/ahci.c
===================================================================
--- upstream.orig/drivers/ata/ahci.c
+++ upstream/drivers/ata/ahci.c
@@ -2718,6 +2718,20 @@ static bool ahci_sb600_enable_64bit(stru
 			},
 			.driver_data = "20071026",	/* yyyymmdd */
 		},
+		/*
+		 * BIOS version 1.7 and up are known to support 64bit DMA
+		 * 1.7 was released on 2009-01-13.
+		 * Enable 64bit DMA on 1.7 and anything newer.
+		 */
+		{
+			.ident = "MSI K9A2 Platinum",
+			.matches = {
+				DMI_MATCH(DMI_BOARD_VENDOR,
+					  "MICRO-STAR INTERNATIONAL CO.,LTD"),
+				DMI_MATCH(DMI_BOARD_NAME, "MS-7376"),
+			},
+			.driver_data = "20090113",	/* yyyymmdd */
+		},
 		{ }
 	};
 	const struct dmi_system_id *match;

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-11-03  8:57 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-26  5:03 [PATCH] ahci: Enable SB600 64bit DMA on MSI K9A2 Platinum Mark Nelson
2009-10-26 13:25 ` Tejun Heo
     [not found]   ` <65a6ef750910261605q45a08791h53cc2afd5d006bb3@mail.gmail.com>
     [not found]     ` <4AE7382F.20302@kernel.org>
2009-10-27 22:51       ` Mark Nelson
2009-10-28 11:49         ` Mark Nelson
2009-10-28 12:14           ` Tejun Heo
2009-10-28 22:30             ` Mark Nelson
2009-10-29  8:32             ` Mark Nelson
2009-11-03  8:57               ` Mark Nelson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).