Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2c838197751db19d08a00e633e33dce23a69fb0c
Commit:     2c838197751db19d08a00e633e33dce23a69fb0c
Parent:     c68cb23dde29fb107575656effa46f7b9440ac04
Author:     Len Brown <[EMAIL PROTECTED]>
AuthorDate: Thu Dec 27 23:55:13 2007 -0500
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Thu Dec 27 23:55:13 2007 -0500

    increase PNP_MAX_PORT to 40 from 24
    
    a7839e960675b549f06209d18283d5cee2ce9261
    (PNP: increase the maximum number of resources)
    increased PNP_MAX_PORT to 24 from 8.
    It also added a test and a complaint when a
    machine exceeded the limit, causing:
    
    pnpacpi: exceeded the max number of IO resources: 24
    
    http://bugzilla.kernel.org/show_bug.cgi?id=9535
    
    We should have been squawking about this all along,
    as this is a potentially serious issue.
    
    For now, simply burn some dynamic bytes and
    increase the limit by another 16 to 40.
    There is no guarantee that this will satisfy
    every system on Earth.  It probably will not,
    but it should be an improvement.
    
    In the future, PNPACPI should allocate resource
    structures as needed, rather than max-sized arrays.
    
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
 include/linux/pnp.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/pnp.h b/include/linux/pnp.h
index 0a0426c..2a6d62c 100644
--- a/include/linux/pnp.h
+++ b/include/linux/pnp.h
@@ -13,7 +13,7 @@
 #include <linux/errno.h>
 #include <linux/mod_devicetable.h>
 
-#define PNP_MAX_PORT           24
+#define PNP_MAX_PORT           40
 #define PNP_MAX_MEM            12
 #define PNP_MAX_IRQ            2
 #define PNP_MAX_DMA            2
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to