lkml.org 
[lkml]   [2002]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux v2.5.40 - and a feature freeze reminder

On 6 Oct 2002, Peter Osterlund wrote:
>
> My PCMCIA network card no longer works. During boot, I see this
> message:
>
> ds: no socket drivers loaded
>
> It worked in 2.5.39. Also this patch helps, although I don't
> understand why it is now needed:

The PCMCIA code does initializations in the wrong order, and
asynchronously (ie from multiple different threads). And init_pcmcia_ds()
really depends on the actual low-level drivers having had time to
register, since the PCMCIA code never had any sane way to inform the DS
layer that a new client driver had registered.

Thus the delay by init_pcmcia_ds() - to give time for drivers to
initialize. And the yenta driver needs some time.. That time apparently
went up a bit, probably due to the tq/work changes.

The _right_ thing to do is to not have init_pcmcia_ds() depend on
low-level drivers being initialized, but instead do that DS thing
_early_, and then when each driver initializes it would tell the DS layer.
But that's not how the PCMCIA code was organized..

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.105 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site