mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: Uwe Bugla <uwe.bugla@gmx.de>
Cc: akpm@osdl.org, perex@perex.cz, abelay@mit.edu,
	debian-kernel@lists.debian.org, linux-kernel@vger.kernel.org
Subject: Re: pnp bug in 2.6.27-rc1 (ad1816a / mpu401 / parport_pc issue)
Date: Tue, 12 Aug 2008 15:26:12 -0600	[thread overview]
Message-ID: <200808121526.12483.bjorn.helgaas@hp.com> (raw)
In-Reply-To: <200808121210.52589.bjorn.helgaas@hp.com>

On Tuesday 12 August 2008 12:10:51 pm Bjorn Helgaas wrote:
> On Tuesday 12 August 2008 05:17:26 am Uwe Bugla wrote:
> > Case C:
> > same preconditions as case B, but additionally:
> > 1. no IRQs reserved for ISA use only (in BIOS)
> > This option I would call "PNP pure"

> > ...
> > My only criticism within the desired case C (no additional screwing around 
> > done by user)
> > consists of two points:
> > 1. I'd prefer the second parport running with IRQ 5 instead of in polling 
> > mode.
> 
> Yes, that would be good.  But I think the only way to achieve this
> reliably is to use the "pnp_reserve_irq=5" kernel parameter and the
> "options parport_pc io=0x278 irq=5" module parameter.  Otherwise the
> kernel doesn't know how the jumpers on the ISA parport card are set.

One more thing: since you have a non-PNP ISA card, I don't think
you can reliably use a "pure PNP" approach.  In addition to the
kernel and module parameters, I think you need to configure the
BIOS to reserve IRQ 5 for ISA use.  Otherwise, the BIOS might put
some other device on IRQ 5.

Of course, if you are content to run the second parport in polling
mode, you wouldn't need the BIOS configuration.

Bjorn

  reply	other threads:[~2008-08-12 21:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200808041531.10557.uwe.bugla@gmx.de>
     [not found] ` <200808041419.21995.bjorn.helgaas@hp.com>
     [not found]   ` <200808052106.35610.uwe.bugla@gmx.de>
2008-08-11 18:40     ` Bjorn Helgaas
     [not found]       ` <200808121317.27323.uwe.bugla@gmx.de>
2008-08-12 18:10         ` Bjorn Helgaas
2008-08-12 21:26           ` Bjorn Helgaas [this message]
     [not found]             ` <200808131747.04798.uwe.bugla@gmx.de>
2008-08-13 16:54               ` Bjorn Helgaas

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=200808121526.12483.bjorn.helgaas@hp.com \
    --to=bjorn.helgaas@hp.com \
    --cc=abelay@mit.edu \
    --cc=akpm@osdl.org \
    --cc=debian-kernel@lists.debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=uwe.bugla@gmx.de \
    /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®