Re: Why does printk helps PCMCIA card to initialise?

From: Andrew Morton
Date: Mon Feb 21 2005 - 05:39:47 EST


Russell King <rmk+lkml@xxxxxxxxxxxxxxxx> wrote:
>
> 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.

That looks right to me - I'll queue up a fix for after 2.6.11.
-
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/