aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Nelson <mdnelson8@gmail.com>2011-06-27 02:33:44 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-16 17:14:54 -0400
commita1164796d1ed6196c037429d796db5ffdb2674e3 (patch)
tree979daf18c53f129b5c75169a701ca2eb9083ee84
parenta1b7ab0836a56fa4c9578f88ba1042398d7d9316 (diff)
ahci: Enable SB600 64bit DMA on Asus M3A
commit 3c4aa91f21f65b7b40bdfb015eacbcb8453ccae2 upstream. Like e65cc194f7628ecaa02462f22f42fb09b50dcd49 this patch enables 64bit DMA for the AHCI SATA controller of a board that has the SB600 southbridge. In this case though we're enabling 64bit DMA for the Asus M3A motherboard. It is a new enough board that all of the BIOS releases since the initial release (0301 from 2007-10-22) work correctly with 64bit DMA enabled. Signed-off-by: Mark Nelson <mdnelson8@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/ata/ahci.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c
index cab69605d1f..1e9ab9bf854 100644
--- a/drivers/ata/ahci.c
+++ b/drivers/ata/ahci.c
@@ -812,6 +812,18 @@ static bool ahci_sb600_enable_64bit(struct pci_dev *pdev)
812 DMI_MATCH(DMI_BOARD_NAME, "MS-7376"), 812 DMI_MATCH(DMI_BOARD_NAME, "MS-7376"),
813 }, 813 },
814 }, 814 },
815 /*
816 * All BIOS versions for the Asus M3A support 64bit DMA.
817 * (all release versions from 0301 to 1206 were tested)
818 */
819 {
820 .ident = "ASUS M3A",
821 .matches = {
822 DMI_MATCH(DMI_BOARD_VENDOR,
823 "ASUSTeK Computer INC."),
824 DMI_MATCH(DMI_BOARD_NAME, "M3A"),
825 },
826 },
815 { } 827 { }
816 }; 828 };
817 const struct dmi_system_id *match; 829 const struct dmi_system_id *match;