Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   bouyer
Date:           Fri May 27 20:01:49 UTC 2016

Modified Files:
        src/sys/arch/arm/allwinner: files.awin
        src/sys/conf: files
        src/sys/dev/ic: com.c comreg.h comvar.h ns16550reg.h

Log Message:
The UART in the allwiner SoCs is not full-compatible with the 16550, and
it's not a 16750 either. Like the 16750 it has the IIR_BUSY interrupt,
which is triggered when writing to LCR while the chip
can't accept it. But unlike the 16750, it has a specific register,
HALT, to allow writing to the LCR and divisor registers, and then
commit the changes.
Tested on an A20 SoC, changing the baud rate while keeping the
tty device open and incoming data.


To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 src/sys/arch/arm/allwinner/files.awin
cvs rdiff -u -r1.1158 -r1.1159 src/sys/conf/files
cvs rdiff -u -r1.338 -r1.339 src/sys/dev/ic/com.c
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/ic/comreg.h
cvs rdiff -u -r1.81 -r1.82 src/sys/dev/ic/comvar.h
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/ic/ns16550reg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index