tree 0f9b4d31027e8cfeb26c9d391f9f27e2f0bfcedf
parent 9c2c38a122cc23d6a09b8004d60a33913683eedf
author Linus Torvalds <[EMAIL PROTECTED]> Sat, 27 Aug 2005 00:40:10 -0700
committer Linus Torvalds <[EMAIL PROTECTED]> Sat, 27 Aug 2005 00:40:10 -0700

Only pre-allocate 256 bytes of cardbio IO range

It may seem small, but most cards need much less, if any, and this not
only makes the code adhere to the comment, it seems to fix a boot-time
lockup on a ThinkPad 380XD laptop reported by Tero Roponen <[EMAIL PROTECTED]>

Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>

 drivers/pci/setup-bus.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c
--- a/drivers/pci/setup-bus.c
+++ b/drivers/pci/setup-bus.c
@@ -40,7 +40,7 @@
  * FIXME: IO should be max 256 bytes.  However, since we may
  * have a P2P bridge below a cardbus bridge, we need 4K.
-#define CARDBUS_IO_SIZE                (4096)
+#define CARDBUS_IO_SIZE                (256)
 #define CARDBUS_MEM_SIZE       (32*1024*1024)
 static void __devinit
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

Reply via email to