Skip to content

Commit

Permalink
ide cs5520: Initialize second port's interrupt number.
Browse files Browse the repository at this point in the history
In 86ccf37 the driver was modified
to deal with the removal of the pciirq argument to ide_pci_setup_ports().

But in the conversion only the first port's IRQ gets setup.

Inspired by a patch by Bartlomiej Zolnierkiewicz., and with help from
Alan Cox.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jun 24, 2009
1 parent a1317f7 commit d7e2f36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/ide/cs5520.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ static int __devinit cs5520_init_one(struct pci_dev *dev, const struct pci_devic

ide_pci_setup_ports(dev, d, &hw[0], &hws[0]);
hw[0].irq = 14;
hw[1].irq = 15;

return ide_host_add(d, hws, 2, NULL);
}
Expand Down

0 comments on commit d7e2f36

Please sign in to comment.