mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 2.6.24] Increase the number of PnP memory resources from 12 to 24
@ 2008-03-13 15:35 Darren Salt
  0 siblings, 0 replies; only message in thread
From: Darren Salt @ 2008-03-13 15:35 UTC (permalink / raw)
  To: linux-kernel; +Cc: ambx1, stable

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>

diff -u ./include/linux/pnp.h~ ./include/linux/pnp.h
--- ./include/linux/pnp.h~	2008-03-13 14:41:19.000000000 +0000
+++ ./include/linux/pnp.h	2008-03-13 14:41:19.000000000 +0000
@@ -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

-- 
| Darren Salt    | linux or ds at              | nr. Ashington, | Toon
| RISC OS, Linux | youmustbejoking,demon,co,uk | Northumberland | Army
| + Output less CO2 => avoid massive flooding.    TIME IS RUNNING OUT *FAST*.

Seafood diet: see food, eat it.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-13 16:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-13 15:35 [PATCH 2.6.24] Increase the number of PnP memory resources from 12 to 24 Darren Salt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®