]> err.no Git - linux-2.6/commit
PNPACPI: extend irq_flags() to set IORESOURCE_IRQ_SHAREABLE when appropriate
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 28 Apr 2008 22:34:02 +0000 (16:34 -0600)
committerLen Brown <len.brown@intel.com>
Tue, 29 Apr 2008 07:22:18 +0000 (03:22 -0400)
commitcd7ec927d9cd3d2001cbbdce872bd73f6e49c986
tree33ed9035c8404b21848a8fff9e4cf8a70d791f3a
parentbb84b41d1a1e3ad1ebe7f91a7c97d3b6ca242e9d
PNPACPI: extend irq_flags() to set IORESOURCE_IRQ_SHAREABLE when appropriate

This simplifies IRQ resource parsing slightly by computing all the
IORESOURCE_IRQ_* flags at the same time.

This also keeps track of shareability information when parsing options
from _PRS.  Previously we ignored shareability in _PRS.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-By: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/pnp/pnpacpi/rsparser.c