ata_piix: Fix DVD not dectected at some Haswell platforms
authorYouquan Song <youquan.song@intel.com>
Wed, 6 Mar 2013 15:49:05 +0000 (10:49 -0500)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 25 Apr 2013 19:25:32 +0000 (20:25 +0100)
commite319383b658350417b577d24d9be84533b25a170
tree82a9a5c1f0f92ffe6095a1533a153b64ff082cd2
parent2c10a283e50f80ae008a130f64079719f95651c0
ata_piix: Fix DVD not dectected at some Haswell platforms

commit b55f84e2d527182e7c611d466cd0bb6ddce201de upstream.

There is a quirk patch 5e5a4f5d5a08c9c504fe956391ac3dae2c66556d
"ata_piix: make DVD Drive recognisable on systems with Intel Sandybridge
 chipsets(v2)" fixing the 4 ports IDE controller 32bit PIO mode.

We've hit a problem with DVD not recognized on Haswell Desktop platform which
includes Lynx Point 2-port SATA controller.

This quirk patch disables 32bit PIO on this controller in IDE mode.

v2: Change spelling error in statememnt pointed by Sergei Shtylyov.
v3: Change comment statememnt and spliting line over 80 characters pointed by
    Libor Pechacek and also rebase the patch against 3.8-rc7 kernel.

Tested-by: Lee, Chun-Yi <jlee@suse.com>
Signed-off-by: Youquan Song <youquan.song@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/ata/ata_piix.c