提交 832ccf6f 编写于 作者: F Fr?d?ric Bri?re 提交者: Linus Torvalds

parport_serial: use the PCI IRQ if offered

Commit 51dcdfec ("parport: Use the PCI IRQ if offered") added IRQ support
for PCI parallel port devices handled by parport_pc, but turned it off for
parport_serial, despite a printk() message to the contrary.
Signed-off-by: NFr?d?ric Bri?re <fbriere@fbriere.net>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 863a6049
...@@ -342,7 +342,6 @@ static int __devinit parport_register (struct pci_dev *dev, ...@@ -342,7 +342,6 @@ static int __devinit parport_register (struct pci_dev *dev,
dev_dbg(&dev->dev, dev_dbg(&dev->dev,
"PCI parallel port detected: I/O at %#lx(%#lx), IRQ %d\n", "PCI parallel port detected: I/O at %#lx(%#lx), IRQ %d\n",
io_lo, io_hi, irq); io_lo, io_hi, irq);
irq = PARPORT_IRQ_NONE;
} }
port = parport_pc_probe_port (io_lo, io_hi, irq, port = parport_pc_probe_port (io_lo, io_hi, irq,
PARPORT_DMA_NONE, &dev->dev, IRQF_SHARED); PARPORT_DMA_NONE, &dev->dev, IRQF_SHARED);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册