]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
sata_mv: add the Gen IIE flag to the SoC devices.
authorSaeed Bishara <saeed@marvell.com>
Mon, 4 Aug 2008 11:52:55 +0000 (00:52 -1100)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 22 Aug 2008 06:19:36 +0000 (02:19 -0400)
The SoC sata port is based on the 7042/6042 devices (Gen IIE). This patch
will fix various issues when working with PMP and/or NCQ.

Signed-off-by: Saeed Bishara <saeed@marvell.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_mv.c

index 80c655f85bc85f4d18d5b0bd6aa3d1c10a266fb0..13c1d2af18ac3e0ff02ef35b926df40955ac3006 100644 (file)
@@ -3022,7 +3022,8 @@ static int mv_chip_id(struct ata_host *host, unsigned int board_idx)
                break;
        case chip_soc:
                hpriv->ops = &mv_soc_ops;
-               hp_flags |= MV_HP_FLAG_SOC | MV_HP_ERRATA_60X1C0;
+               hp_flags |= MV_HP_FLAG_SOC | MV_HP_GEN_IIE |
+                       MV_HP_ERRATA_60X1C0;
                break;
 
        default: