[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1278957612-13326-1-git-send-email-fbriere@fbriere.net>
Date: Mon, 12 Jul 2010 14:00:12 -0400
From: Frédéric Brière <fbriere@...iere.net>
To: linux-kernel@...r.kernel.org
Cc: linux-parport@...ts.infradead.org
Subject: [PATCH] parport_serial: Use the PCI IRQ if offered
Commit 51dcdfe 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: Frédéric Brière <fbriere@...iere.net>
---
drivers/parport/parport_serial.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/parport/parport_serial.c b/drivers/parport/parport_serial.c
index a64b275..60c191d 100644
--- a/drivers/parport/parport_serial.c
+++ b/drivers/parport/parport_serial.c
@@ -505,7 +505,6 @@ static int __devinit parport_register (struct pci_dev *dev,
dev_dbg(&dev->dev,
"PCI parallel port detected: I/O at %#lx(%#lx), IRQ %d\n",
io_lo, io_hi, irq);
- irq = PARPORT_IRQ_NONE;
}
port = parport_pc_probe_port (io_lo, io_hi, irq,
PARPORT_DMA_NONE, &dev->dev, IRQF_SHARED);
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists