OpenCloudOS-Kernel/drivers/pnp
Bjorn Helgaas bbe413b4fc 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>
2008-07-16 23:27:07 +02:00
..
isapnp ISAPNP: handle independent options following dependent ones 2008-07-16 23:27:07 +02:00
pnpacpi PNP: remove extra 0x100 bit from option priority 2008-07-16 23:27:07 +02:00
pnpbios PNP: remove extra 0x100 bit from option priority 2008-07-16 23:27:07 +02:00
Kconfig Use menuconfig objects: PNP 2007-07-16 09:05:40 -07:00
Makefile PNP: use dev_info(), dev_err(), etc in core 2007-10-17 08:43:04 -07:00
base.h PNP: centralize resource option allocations 2008-07-16 23:27:07 +02:00
card.c PNP: add pnp_alloc_card() 2008-04-29 03:22:17 -04:00
core.c PNP: replace pnp_resource_table with dynamically allocated resources 2008-07-16 23:27:05 +02:00
driver.c PNP: change pnp_add_id() to allocate its own pnp_id structures 2008-04-29 03:22:16 -04:00
interface.c PNP: support optional IRQ resources 2008-07-16 23:27:07 +02:00
manager.c PNP: support optional IRQ resources 2008-07-16 23:27:07 +02:00
quirks.c PNP: support optional IRQ resources 2008-07-16 23:27:07 +02:00
resource.c PNP: rename pnp_register_*_resource() local variables 2008-07-16 23:27:07 +02:00
support.c PNP: in debug resource dump, make empty list obvious 2008-07-16 23:27:06 +02:00
system.c PNP: replace pnp_resource_table with dynamically allocated resources 2008-07-16 23:27:05 +02:00