Re: Why does printk helps PCMCIA card to initialise?

From: Russell King
Date: Mon Feb 21 2005 - 04:19:23 EST


On Sun, Feb 20, 2005 at 12:38:17PM +0000, Russell King wrote:
> The first thing that needs solving is why you're getting the "odd IO
> request" crap. That may explain why the resource can't be allocated.

In cs.c, alloc_io_space(), find the line:

if (*base & ~(align-1)) {

delete the ~ and rebuild. This may resolve your problem.

This looks like a long standing bug in the PCMCIA code, going back to
2.4 kernels.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/