aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-sff.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/libata-sff.c')
-rw-r--r--drivers/ata/libata-sff.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/libata-sff.c b/drivers/ata/libata-sff.c
index 688bb55e197a..08b3a407473e 100644
--- a/drivers/ata/libata-sff.c
+++ b/drivers/ata/libata-sff.c
@@ -881,7 +881,7 @@ static struct ata_probe_ent *ata_pci_init_legacy_port(struct pci_dev *pdev,
881 probe_ent->private_data = port[0]->private_data; 881 probe_ent->private_data = port[0]->private_data;
882 882
883 if (port_mask & ATA_PORT_PRIMARY) { 883 if (port_mask & ATA_PORT_PRIMARY) {
884 probe_ent->irq = 14; 884 probe_ent->irq = ATA_PRIMARY_IRQ;
885 probe_ent->port[0].cmd_addr = ATA_PRIMARY_CMD; 885 probe_ent->port[0].cmd_addr = ATA_PRIMARY_CMD;
886 probe_ent->port[0].altstatus_addr = 886 probe_ent->port[0].altstatus_addr =
887 probe_ent->port[0].ctl_addr = ATA_PRIMARY_CTL; 887 probe_ent->port[0].ctl_addr = ATA_PRIMARY_CTL;
@@ -896,9 +896,9 @@ static struct ata_probe_ent *ata_pci_init_legacy_port(struct pci_dev *pdev,
896 896
897 if (port_mask & ATA_PORT_SECONDARY) { 897 if (port_mask & ATA_PORT_SECONDARY) {
898 if (probe_ent->irq) 898 if (probe_ent->irq)
899 probe_ent->irq2 = 15; 899 probe_ent->irq2 = ATA_SECONDARY_IRQ;
900 else 900 else
901 probe_ent->irq = 15; 901 probe_ent->irq = ATA_SECONDARY_IRQ;
902 probe_ent->port[1].cmd_addr = ATA_SECONDARY_CMD; 902 probe_ent->port[1].cmd_addr = ATA_SECONDARY_CMD;
903 probe_ent->port[1].altstatus_addr = 903 probe_ent->port[1].altstatus_addr =
904 probe_ent->port[1].ctl_addr = ATA_SECONDARY_CTL; 904 probe_ent->port[1].ctl_addr = ATA_SECONDARY_CTL;