From: Olaf Hering <olaf@aepfle.de>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linuxppc-dev@ozlabs.org, paulus@samba.org
Subject: Re: [PATCH] Use check_legacy_ioport() for ISAPnP
Date: Wed, 27 Sep 2006 10:18:38 +0200 [thread overview]
Message-ID: <20060927081838.GA5984@aepfle.de> (raw)
In-Reply-To: <1159341535.3309.108.camel@pmac.infradead.org>
On Wed, Sep 27, David Woodhouse wrote:
> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
>
> diff --git a/drivers/pnp/isapnp/core.c b/drivers/pnp/isapnp/core.c
> index f2e0179..3ac5b12 100644
> --- a/drivers/pnp/isapnp/core.c
> +++ b/drivers/pnp/isapnp/core.c
> @@ -1049,6 +1049,10 @@ static int __init isapnp_init(void)
> printk(KERN_INFO "isapnp: ISA Plug & Play support disabled\n");
> return 0;
> }
> +#ifdef CONFIG_PPC_MERGE
> + if (check_legacy_ioport(_PIDXR) || check_legacy_ioport(_PNPWRP))
> + return -EINVAL;
> +#endif
> #ifdef ISAPNP_REGION_OK
> if (!request_region(_PIDXR, 1, "isapnp index")) {
> printk(KERN_ERR "isapnp: Index Register 0x%x already used\n", _PIDXR);
Isnt that fixed by my other patch which was merged into -mm today?
next prev parent reply other threads:[~2006-09-27 8:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-27 7:18 [PATCH] Use check_legacy_ioport() for ISAPnP David Woodhouse
2006-09-27 8:18 ` Olaf Hering [this message]
2006-09-27 12:49 ` David Woodhouse
2006-09-27 13:05 ` Olaf Hering
2006-10-02 9:38 ` Olaf Hering
2006-10-02 9:42 ` David Woodhouse
2006-10-02 10:00 ` Olaf Hering
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=20060927081838.GA5984@aepfle.de \
--to=olaf@aepfle.de \
--cc=dwmw2@infradead.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=paulus@samba.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;
as well as URLs for NNTP newsgroup(s).