From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Mon, 29 Sep 2014 20:16:05 +0200 Subject: [PATCH] ata: ahci_platform: Add ACPI support for AMD Seattle SATA controller In-Reply-To: <542882E3.2050908@amd.com> References: <1410295035-14471-1-git-send-email-suravee.suthikulpanit@amd.com> <542882E3.2050908@amd.com> Message-ID: <4070982.j4ECbq7XE2@wuerfel> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Sunday 28 September 2014 16:51:31 Suravee Suthikulpanit wrote: > >> @@ -87,6 +90,13 @@ static const struct of_device_id ahci_of_match[] = { > >> }; > >> MODULE_DEVICE_TABLE(of, ahci_of_match); > >> > >> +#ifdef CONFIG_ATA_ACPI > >> +static const struct acpi_device_id ahci_acpi_match[] = { > >> + { "AMDI0600", 0 }, /* AMD Seattle AHCI */ > >> + { }, > >> +}; > >> +#endif > >> + I just noticed this patch and stumbled over this hack. Since SBSA requires any SATA support to be compatible with AHCI and not vendor specific, I think this needs to be a more generic compatibility string that can be used by all vendors, while the current one looks very AMD specific for hardware that is not. Arnc