cvs commit: src/sys/dev/ic ns16550.h src/sys/dev/uart
uart_dev_ns8250.c
Benno Rice
benno at FreeBSD.org
Mon May 22 17:42:00 PDT 2006
benno 2006-05-23 00:41:12 UTC
FreeBSD src repository
Modified files:
sys/dev/ic ns16550.h
sys/dev/uart uart_dev_ns8250.c
Log:
Allow uart(4)'s ns8250 driver to work with devices whose regshift is > 0.
- Rename REG_DL to REG_DLL and REG_DLH.
- Always treat DLL and DLH as two separate 8-bit registers instead of one
16-bit register.
Additionally, remove the probe for the high 4 bits of IER being 0 and don't
assume we can always read/write 0 to/from those bits.
These changes allow uart(4) to drive the UARTs on the Intel XScale PXA255.
Reviewed by: marcel
Revision Changes Path
1.17 +2 -1 src/sys/dev/ic/ns16550.h
1.22 +16 -24 src/sys/dev/uart/uart_dev_ns8250.c
More information about the cvs-src
mailing list