diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2010-01-18 12:16:03 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-03-01 14:58:45 -0500 |
commit | 73e2e3d0e9d4b5781c66eca8a901e6478c25ae7d (patch) | |
tree | 1e425d3c7aad4fcd9b50072cd11fafeb18526d90 /drivers/ata/pata_efar.c | |
parent | 3403c24529ddfb4a47f5cfe8496370997f1b0758 (diff) |
pata_efar: fix secondary port support
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_efar.c')
-rw-r--r-- | drivers/ata/pata_efar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_efar.c b/drivers/ata/pata_efar.c index b2e71e6473ed..89076d58111b 100644 --- a/drivers/ata/pata_efar.c +++ b/drivers/ata/pata_efar.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * pata_efar.c - EFAR PIIX clone controller driver | 2 | * pata_efar.c - EFAR PIIX clone controller driver |
3 | * | 3 | * |
4 | * (C) 2005 Red Hat | 4 | * (C) 2005 Red Hat |
5 | * (C) 2009 Bartlomiej Zolnierkiewicz | 5 | * (C) 2009-2010 Bartlomiej Zolnierkiewicz |
6 | * | 6 | * |
7 | * Some parts based on ata_piix.c by Jeff Garzik and others. | 7 | * Some parts based on ata_piix.c by Jeff Garzik and others. |
8 | * | 8 | * |
@@ -256,7 +256,7 @@ static int efar_init_one (struct pci_dev *pdev, const struct pci_device_id *ent) | |||
256 | .udma_mask = ATA_UDMA4, | 256 | .udma_mask = ATA_UDMA4, |
257 | .port_ops = &efar_ops, | 257 | .port_ops = &efar_ops, |
258 | }; | 258 | }; |
259 | const struct ata_port_info *ppi[] = { &info, NULL }; | 259 | const struct ata_port_info *ppi[] = { &info, &info }; |
260 | 260 | ||
261 | if (!printed_version++) | 261 | if (!printed_version++) |
262 | dev_printk(KERN_DEBUG, &pdev->dev, | 262 | dev_printk(KERN_DEBUG, &pdev->dev, |