ahci: make ahci_asus_m2a_vm_32bit_only() quirk more generic
authorTejun Heo <htejun@gmail.com>
Sun, 16 Aug 2009 12:04:02 +0000 (21:04 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 9 Sep 2009 01:17:57 +0000 (21:17 -0400)
commit03d783bf5573ff316a8c703eed811a9a97901a8b
treea792099a0f21efcbd94f9c35ed2e11c2c2ed9d82
parent3e5cd1f2576c720f1d0705fdd7ba64f27e8836b7
ahci: make ahci_asus_m2a_vm_32bit_only() quirk more generic

It turns out ASUS M2A-VM isn't the only one with the 32bit DMA
problem.  Make ahci_asus_m2a_vm_32bit_only() more generic using the
new dmi_get_date() and rename it to ahci_sb600_32bit_only().  Cut off
date is now pointed to by dmi_system_id->driver_data in "yyyymmdd"
format and it's now also allowed to be omitted.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Sandor Bodo-Merle <sbodomerle@gmail.com>
Cc: Shane Huang <shane.huang@amd.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci.c