]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PNP: increase the maximum number of resources
authorZhao Yakui <yakui.zhao@intel.com>
Thu, 29 Nov 2007 00:21:21 +0000 (16:21 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 14 Dec 2007 17:51:00 +0000 (09:51 -0800)
commitfc175adc1c935ea8679d76a78d7a58df34af16eb
tree9d2467a86ba2917bc251bfcf940c0ea9fa3b249e
parenta6eda373a0fe1c4d169d0ec081518d68323428ab
PNP: increase the maximum number of resources

patch a7839e960675b549f06209d18283d5cee2ce9261 in mainline.

On some systems the number of resources(IO,MEM) returnedy by PNP device is
greater than the PNP constant, for example motherboard devices.  It brings
that some resources can't be reserved and resource confilicts.  This will
cause PCI resources are assigned wrongly in some systems, and cause hang.
This is a regression since we deleted ACPI motherboard driver and use PNP
system driver.

[akpm@linux-foundation.org: fix text and coding-style a bit]
Signed-off-by: Li Shaohua <shaohua.li@intel.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Thomas Renninger <trenn@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pnp/pnpacpi/rsparser.c
include/linux/pnp.h