ahci: Enable SB600 64bit DMA on Asus M3A
authorMark Nelson <mdnelson8@gmail.com>
Mon, 27 Jun 2011 06:33:44 +0000 (16:33 +1000)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 23 Jul 2011 22:03:16 +0000 (18:03 -0400)
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>
drivers/ata/ahci.c

index fd318ac364320bcc3110c8ba0d446decba19f0d7..389f670ee7c6fa0c2f362dd1a1672383c44f0f92 100644 (file)
@@ -753,6 +753,18 @@ static bool ahci_sb600_enable_64bit(struct pci_dev *pdev)
                                DMI_MATCH(DMI_BOARD_NAME, "MS-7376"),
                        },
                },
+               /*
+                * All BIOS versions for the Asus M3A support 64bit DMA.
+                * (all release versions from 0301 to 1206 were tested)
+                */
+               {
+                       .ident = "ASUS M3A",
+                       .matches = {
+                               DMI_MATCH(DMI_BOARD_VENDOR,
+                                         "ASUSTeK Computer INC."),
+                               DMI_MATCH(DMI_BOARD_NAME, "M3A"),
+                       },
+               },
                { }
        };
        const struct dmi_system_id *match;