projects
/
platform
/
kernel
/
linux-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1317f7
)
ide cs5520: Initialize second port's interrupt number.
author
David S. Miller
<davem@davemloft.net>
Wed, 24 Jun 2009 09:36:17 +0000
(
02:36
-0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 24 Jun 2009 09:36:17 +0000
(
02:36
-0700)
In
86ccf37c6acd74cf7e4b7751ee045de19943c5a0
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>
drivers/ide/cs5520.c
patch
|
blob
|
history
diff --git
a/drivers/ide/cs5520.c
b/drivers/ide/cs5520.c
index
bd066bb
..
09f98ed
100644
(file)
--- a/
drivers/ide/cs5520.c
+++ b/
drivers/ide/cs5520.c
@@
-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);
}