]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
PNP: increase the number of PnP memory resources from 12 to 24
authorDarren Salt <linux@youmustbejoking.demon.co.uk>
Thu, 13 Mar 2008 15:35:49 +0000 (15:35 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 23 Mar 2008 00:00:57 +0000 (17:00 -0700)
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>
include/linux/pnp.h

index cd6332b88829e1fdf7d1f8e25356993905953ea4..29dd55838e84c5e4c13f681473859eeb8dccdf30 100644 (file)
@@ -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