cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
902 Views
Registered: ‎07-29-2009

UART16550 - Linux driver

We've finally gotten the UART16550 driver to produce a device in /dev in linux. I was wondering: Is there a way to access the MSR,  MCR, and LCR registers through the driver using something like a read from /proc? Otherwise, how is the user supposed to write code to access those registers? Do we have to resort to low-level memmap or the low-level example code which directly talks to memory?

Kurt

Tags (2)
0 Kudos
1 Reply
Highlighted
Voyager
Voyager
878 Views
Registered: ‎06-24-2013

Hey Kurt,

 

The Linux driver for the 16550 UART should handle those registers for the user.

The usespace program then uses IOCTLs to query status and configure the UART.

 

Hope this clarifies,

Herbert

-------------- Yes, I do this for fun!
0 Kudos