Subject: Re: solution to printk() blocking interrupts?

From: Benjamin Herrenschmidt <[email-masked]>
Date: Tue, 23 Sep 2008 07:27:03 +1000

On Mon, 2008-09-22 at 15:11 +0400, Sergei Shtylyov wrote:
> Hello, I wrote:
> 
> >>> What controls this? "carrier detect appears untrustworthy, waiting 4 
> >>> seconds"
> >>> Get that fixed and this patch could be useful,
> >>>     
> >>
> >> Does the driver properly uses netif_carrier_on/off to signal the
> >> system when the link is up/down ?
> >>   
> >  Implementing the poll_controller() method in the network driver is 
> > usually
> >
> >   Looks like the answer is "no"...
> 
>    Hm... it uses phylib, so probably it does that. That message and a 4 
> s pause appears if the carrier is seen in <10 ms after opening the 
> device. Maybe this threshold needs to be changed?

This sounds fishy, some devices can setup the carrier before open...

Ben.