Only pre-allocate 256 bytes of cardbio IO range
authorLinus Torvalds <torvalds@g5.osdl.org>
Fri, 26 Aug 2005 17:40:10 +0000 (10:40 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 26 Aug 2005 17:40:10 +0000 (10:40 -0700)
commit26aad69e3dd854abe9028ca873fb40b410a39dd7
tree0f9b4d31027e8cfeb26c9d391f9f27e2f0bfcedf
parent9c2c38a122cc23d6a09b8004d60a33913683eedf
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 <teanropo@cc.jyu.fi>

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pci/setup-bus.c