Re: why this 1ms delay in mdio_read? (cont'd from "are ioctl calls supposed to take this long?")

From: Chris Friesen (cfriesen@nortelnetworks.com)
Date: Fri Jul 06 2001 - 14:35:42 EST


"Richard B. Johnson" wrote:
>
> On Fri, 6 Jul 2001, Chris Friesen wrote:

> > mdelay(1); /* One ms delay... */
> >
> > ...rest of code...
> >
>
> What? What kernel version?
> The code here says:
> /* Establish sync by sending at least 32 logic ones */
> for (i = 32; i >=0; i--) {..........}

I had assumed that it was part of the normal drivers, but now after digging into
it some more it appears to have been added as part of a patch from Motorola for
a compact PCI board. I can't see why they would have done this but I'm trying
to track it down now.

Thanks for all your help,

Chris

-- 
Chris Friesen                    | MailStop: 043/33/F10  
Nortel Networks                  | work: (613) 765-0557
3500 Carling Avenue              | fax:  (613) 765-2986
Nepean, ON K2H 8E9 Canada        | email: cfriesen@nortelnetworks.com
-
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/



This archive was generated by hypermail 2b29 : Sat Jul 07 2001 - 21:00:19 EST