Skip to content

Commit

Permalink
PNP: increase the number of PnP memory resources from 12 to 24
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Darren Salt authored and Linus Torvalds committed Mar 23, 2008
1 parent 245073f commit 03c086a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/pnp.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 03c086a

Please sign in to comment.