Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4196c3af authored by Linus Torvalds's avatar Linus Torvalds
Browse files

cardbus: limit IO windows to 256 bytes



That's what we've always historically done, and bigger windows seem to
confuse some cardbus bridges. Or something.

Alan reports that this makes the ThinkPad 600x series work properly
again: the 4kB IO window for some reason made IDE DMA not work, which
makes IDE painfully slow even if it works after DMA timeouts.

Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9092b208
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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		(4*1024)
#define CARDBUS_IO_SIZE		(256)
#define CARDBUS_MEM_SIZE	(32*1024*1024)

static void __devinit