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 should 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)) {
--
--
| Greg KH | Re: PCIE |
| Rafael J. Wysocki | [Bug #11237] corrupt PMD after resume |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Chuck Ebbert | Why do so many machines need "noapic"? |
git: | |
| Thomas Glanzmann | fatal: serious inflate inconsistency |
| Yossi Leybovich | corrupt object on git-gc |
| Johannes Schindelin | Re: What's in git.git (stable) |
| Alex Riesen | [PATCH] Allow git-diff exit with codes similar to diff(1) |
| Bertram Scharpf | First install: Grub doesn't find partitions |
| Renaud Allard | very weak bridge performance |
| Richard Stallman | Real men don't attack straw men |
| Wijnand Wiersma | Almost success: OpenBSD on Xen |
| Thor Lancelot Simon | Re: sysctl knob to let sugid processes dump core (pr 15994) |
| Nathan J. Williams | Re: Call for testing: ACPI standby/suspend support |
| matthew green | re: @booted_kernel magic symlink? |
| Greg A. Woods | Re: Fork bomb protection patch |
