diff options
author | Olof Johansson <olof@lixom.net> | 2007-01-18 19:39:59 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-01-19 19:24:36 -0500 |
commit | e93f09dc2d49d8e98818a93ad17f3ede91533738 (patch) | |
tree | 43385c5b9a7f3852fa2773bb73edf71d8fcf34a9 /drivers/ata | |
parent | 79a55b72a1996f77e9d23c7a5282e5839d45beb3 (diff) |
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>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/sata_mv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c index 1b8e0eb9e032..aae0b5201c1e 100644 --- a/drivers/ata/sata_mv.c +++ b/drivers/ata/sata_mv.c | |||
@@ -523,8 +523,7 @@ static const struct ata_port_info mv_port_info[] = { | |||
523 | }, | 523 | }, |
524 | { /* chip_7042 */ | 524 | { /* chip_7042 */ |
525 | .sht = &mv_sht, | 525 | .sht = &mv_sht, |
526 | .flags = (MV_COMMON_FLAGS | MV_6XXX_FLAGS | | 526 | .flags = (MV_COMMON_FLAGS | MV_6XXX_FLAGS), |
527 | MV_FLAG_DUAL_HC), | ||
528 | .pio_mask = 0x1f, /* pio0-4 */ | 527 | .pio_mask = 0x1f, /* pio0-4 */ |
529 | .udma_mask = 0x7f, /* udma0-6 */ | 528 | .udma_mask = 0x7f, /* udma0-6 */ |
530 | .port_ops = &mv_iie_ops, | 529 | .port_ops = &mv_iie_ops, |
@@ -545,6 +544,8 @@ static const struct pci_device_id mv_pci_tbl[] = { | |||
545 | 544 | ||
546 | { PCI_VDEVICE(ADAPTEC2, 0x0241), chip_604x }, | 545 | { PCI_VDEVICE(ADAPTEC2, 0x0241), chip_604x }, |
547 | 546 | ||
547 | { PCI_VDEVICE(TTI, 0x2310), chip_7042 }, | ||
548 | |||
548 | { } /* terminate list */ | 549 | { } /* terminate list */ |
549 | }; | 550 | }; |
550 | 551 | ||