From: Bjorn Helgaas Date: Fri, 27 Jun 2008 22:57:16 +0000 (-0600) Subject: ISAPNP: handle independent options following dependent ones X-Git-Tag: v2.6.27-rc1~1050^2~6 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbe413b4fc7f791248c7ee00ce7b3778491a3700;p=pandora-kernel.git 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 Signed-off-by: Andi Kleen Acked-by: Rene Herman Signed-off-by: Len Brown --- Reading git-diff-tree failed