Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02c1f32f authored by Mark Lord's avatar Mark Lord Committed by Jeff Garzik
Browse files

sata_mv fix SOC flags, enable NCQ on SOC



The System-On-Chip (SOC) core supports all of the same
features as the other recent Marvell chips,
including NCQ and IRQ coalescing.

Fix the chip_soc flags to enable these capabilities
(note that the driver currently does nothing special
for IRQ coalescing, though).

Signed-off-by: default avatarMark Lord <mlord@pobox.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 40f0bc2d
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -626,7 +626,8 @@ static const struct ata_port_info mv_port_info[] = {
		.port_ops	= &mv_iie_ops,
		.port_ops	= &mv_iie_ops,
	},
	},
	{  /* chip_soc */
	{  /* chip_soc */
		.flags		= MV_COMMON_FLAGS | MV_FLAG_SOC,
		.flags		= MV_COMMON_FLAGS | MV_6XXX_FLAGS |
				  ATA_FLAG_NCQ | MV_FLAG_SOC,
		.pio_mask	= 0x1f,	/* pio0-4 */
		.pio_mask	= 0x1f,	/* pio0-4 */
		.udma_mask	= ATA_UDMA6,
		.udma_mask	= ATA_UDMA6,
		.port_ops	= &mv_iie_ops,
		.port_ops	= &mv_iie_ops,