From: Rene Herman <rene.herman@keyaccess.nl>
To: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Len Brown <lenb@kernel.org>,
linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org,
Adam Belay <ambx1@neo.rr.com>, Adam M Belay <abelay@mit.edu>,
Li Shaohua <shaohua.li@intel.com>,
Matthieu Castet <castet.matthieu@free.fr>,
Thomas Renninger <trenn@suse.de>,
Jaroslav Kysela <perex@perex.cz>,
Andrew Morton <akpm@linux-foundation.org>
Subject: Re: PNP: set IRQ index in sysfs "set irq" interface
Date: Sun, 04 May 2008 15:47:45 +0200 [thread overview]
Message-ID: <481DBE81.8000608@keyaccess.nl> (raw)
In-Reply-To: <200805011539.58705.bjorn.helgaas@hp.com>
On 01-05-08 23:39, Bjorn Helgaas wrote:
> We have to set the ISAPNP register index when setting an IRQ via
> the sysfs interface. We already do it for IO, MEM, and DMA
> resources; I just missed the IRQ one.
>
> This needs to be in 2.6.26.
>
> Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
>
> Index: work10/drivers/pnp/interface.c
> ===================================================================
> --- work10.orig/drivers/pnp/interface.c 2008-05-01 15:26:28.000000000 -0600
> +++ work10/drivers/pnp/interface.c 2008-05-01 15:26:39.000000000 -0600
> @@ -424,7 +424,7 @@
> start = simple_strtoul(buf, &buf, 0);
> pnp_res = pnp_add_irq_resource(dev, start, 0);
> if (pnp_res)
> - nirq++;
> + pnp_res->index = nirq++;
> continue;
> }
> if (!strnicmp(buf, "dma", 3)) {
Ha, my ack wasn't on that one...
But what I wanted to ask -- judging from my .gitconfig (as opposed to my
memory) I haven't done anything special to get the -p (--show-c-function)
functionality from git-diff. Do you do anything special to not get it? It
really helps when looking at patches.
Rene.
next prev parent reply other threads:[~2008-05-04 13:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-01 21:39 PNP: set IRQ index in sysfs "set irq" interface Bjorn Helgaas
2008-05-04 13:47 ` Rene Herman [this message]
2008-05-05 15:00 ` Bjorn Helgaas
2008-05-06 14:29 ` Thomas Renninger
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=481DBE81.8000608@keyaccess.nl \
--to=rene.herman@keyaccess.nl \
--cc=abelay@mit.edu \
--cc=akpm@linux-foundation.org \
--cc=ambx1@neo.rr.com \
--cc=bjorn.helgaas@hp.com \
--cc=castet.matthieu@free.fr \
--cc=lenb@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=shaohua.li@intel.com \
--cc=trenn@suse.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.