summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2008-03-13 15:35:49 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2008-03-22 17:00:57 -0700
commit03c086a747d0b242878eb881971ec61c1555869d (patch)
tree3c62cea53458775d5fad8871bfa9fcf0ba1f3c6b
parent245073f0b3a8b8b626f3222dacb483695bf46419 (diff)
downloadop-kernel-dev-03c086a747d0b242878eb881971ec61c1555869d.zip
op-kernel-dev-03c086a747d0b242878eb881971ec61c1555869d.tar.gz
PNP: increase the number of PnP memory resources from 12 to 24
Increase the number of PnP memory resources from 12 to 24. This removes an "exceeded the max num of mem resources" warning on boot. I also noticed the reservation of two more iomem ranges on the computer on which this was tested. Signed-off-by: Darren Salt <linux@youmustbejoking.demon.co.uk> Signed-off-by: Ingo Molnar <mingo@elte.hu> Acked-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/linux/pnp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pnp.h b/include/linux/pnp.h
index cd6332b..29dd558 100644
--- a/include/linux/pnp.h
+++ b/include/linux/pnp.h
@@ -14,7 +14,7 @@
#include <linux/mod_devicetable.h>
#define PNP_MAX_PORT 40
-#define PNP_MAX_MEM 12
+#define PNP_MAX_MEM 24
#define PNP_MAX_IRQ 2
#define PNP_MAX_DMA 2
#define PNP_NAME_LEN 50
OpenPOWER on IntegriCloud