From: Meelis Roos <mroos@linux.ee>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Lava dual parallel PCI card IRQ problem
Date: Thu, 19 Mar 2009 15:33:14 +0200 (EET) [thread overview]
Message-ID: <Pine.SOC.4.64.0903191525001.26750@math.ut.ee> (raw)
In-Reply-To: <20090319131002.4040b4dd@lxorguk.ukuu.org.uk>
> You may need to stick a few printks in the port registration path to see
> why it made that decision.
Got it - it's a simple copypaste mistake:
+ irq = dev->irq;
+ if (irq == IRQ_NONE) {
+ printk (KERN_DEBUG
+ "PCI parallel port detected: %04x:%04x, I/O at %#lx(%#lx)\n",
+ parport_pc_pci_tbl[i + last_sio].vendor,
+ parport_pc_pci_tbl[i + last_sio].device,
+ io_lo, io_hi);
+ irq = PARPORT_IRQ_NONE;
+ } else {
+ printk (KERN_DEBUG
+ "PCI parallel port detected: %04x:%04x, I/O at %#lx(%#lx), IRQ %d\n",
+ parport_pc_pci_tbl[i + last_sio].vendor,
+ parport_pc_pci_tbl[i + last_sio].device,
+ io_lo, io_hi, irq);
+ irq = PARPORT_IRQ_NONE;
+ }
If I remove the second "irq = PARPORT_IRQ_NONE;" it starts to load fine.
Will test later with a rela printer attached.
--
Meelis Roos (mroos@linux.ee)
next prev parent reply other threads:[~2009-03-19 13:33 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20090318143921.22B5B13A4B0@koiott.tartu-labor>
2009-03-19 13:04 ` Meelis Roos
2009-03-19 13:10 ` Alan Cox
2009-03-19 13:33 ` Meelis Roos [this message]
2009-03-19 13:49 ` Meelis Roos
2009-03-20 7:36 ` Meelis Roos
2009-03-13 4:51 Gabor Kovacs
2009-03-16 10:57 ` Alan Cox
2009-03-17 22:52 ` Gabor Kovacs
2009-03-18 11:35 ` Alan Cox
2009-03-19 20:41 ` Gabor Kovacs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.SOC.4.64.0903191525001.26750@math.ut.ee \
--to=mroos@linux.ee \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®