Device Tree vs. Device drivers

Bruce Dawson jbd at codemeta.com
Fri Jul 18 16:22:35 EDT 2014


Thanks again Thomas! I'll look at that in a bit more detail... But I
didn't see how it interfaced with the device tables logic. (To know
interrupt/addresses assigned to the port.)

--Bruce

On Fri, 2014-07-18 at 16:13 -0400, Thomas Charron wrote:
> On Fri, Jul 18, 2014 at 4:01 PM, Bruce Dawson <jbd at codemeta.com>
> wrote:
>         Thanks for replying Thomas!
>         
>         Basically, I need to store the time (to the sub-nanosecond) on
>         the first
>         serial interrupt. (Don't need it for every byte, just the
>         first in a
>         stream.)
>         
>         I'm not really interested in speeding up the UART code or
>         serial
>         transfer; I just need to know *exactly* when the first byte
>         comes in (or
>         goes out).
> 
> 
>   Oh, in that case, it's much easier.  The UART drivers allow for 'sub
> drivers'.
> 
> 
>   I actually had an example I used for such a thing bookmarked:
> 
> http://www.cs.fsu.edu/~baker/devices/lxr/http/source/linux/drivers/serial/uartlite.c
> 
> 
>   I don't know if you'll find it helpfull, but it's a functioning
> example which is relatively strait forward.
> 




More information about the gnhlug-discuss mailing list