summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/support.c
diff options
context:
space:
mode:
authorBjorn Helgaas2008-06-28 00:57:16 +0200
committerAndi Kleen2008-07-16 23:27:07 +0200
commitbbe413b4fc7f791248c7ee00ce7b3778491a3700 (patch)
tree5225313f499012fa30419092ad8532a458531dc2 /drivers/pnp/support.c
parentPNP: remove extra 0x100 bit from option priority (diff)
downloadkernel-qcow2-linux-bbe413b4fc7f791248c7ee00ce7b3778491a3700.tar.gz
kernel-qcow2-linux-bbe413b4fc7f791248c7ee00ce7b3778491a3700.tar.xz
kernel-qcow2-linux-bbe413b4fc7f791248c7ee00ce7b3778491a3700.zip
ISAPNP: handle independent options following dependent ones
The ISAPNP spec recommends that independent options precede dependent ones, but this is not actually required. The current ISAPNP code incorrectly puts such trailing independent options at the end of the last dependent option list. This patch fixes that bug by resetting the current option list to the independent list when we see an "End Dependent Functions" tag. PNPBIOS and PNPACPI handle this the same way. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Andi Kleen <ak@linux.intel.com> Acked-by: Rene Herman <rene.herman@gmail.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/pnp/support.c')
0 files changed, 0 insertions, 0 deletions