sata_mv HighPoint 2310 support (88SX7042)

With the following patch, my HighPoint 2310 with a Marvell 88SX7042 on
it seems to work OK.

The controller only has 4 ports, with MV_FLAG_DUAL_HC it seems to init 8
ports and fails miserably at probe time. There are no other devices mapped
to that chip, maybe it was just incorrectly specified in the first place?

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

authored by Olof Johansson and committed by Jeff Garzik e93f09dc 79a55b72

+3 -2
+3 -2
drivers/ata/sata_mv.c
··· 523 }, 524 { /* chip_7042 */ 525 .sht = &mv_sht, 526 - .flags = (MV_COMMON_FLAGS | MV_6XXX_FLAGS | 527 - MV_FLAG_DUAL_HC), 528 .pio_mask = 0x1f, /* pio0-4 */ 529 .udma_mask = 0x7f, /* udma0-6 */ 530 .port_ops = &mv_iie_ops, ··· 543 { PCI_VDEVICE(MARVELL, 0x6081), chip_608x }, 544 545 { PCI_VDEVICE(ADAPTEC2, 0x0241), chip_604x }, 546 547 { } /* terminate list */ 548 };
··· 523 }, 524 { /* chip_7042 */ 525 .sht = &mv_sht, 526 + .flags = (MV_COMMON_FLAGS | MV_6XXX_FLAGS), 527 .pio_mask = 0x1f, /* pio0-4 */ 528 .udma_mask = 0x7f, /* udma0-6 */ 529 .port_ops = &mv_iie_ops, ··· 544 { PCI_VDEVICE(MARVELL, 0x6081), chip_608x }, 545 546 { PCI_VDEVICE(ADAPTEC2, 0x0241), chip_604x }, 547 + 548 + { PCI_VDEVICE(TTI, 0x2310), chip_7042 }, 549 550 { } /* terminate list */ 551 };