History log of /openbsd-current/sys/arch/riscv64/dev/sfuart.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.6 12-Jul-2022 jca

Use db_rint() in sfuart(4)

This lets me enter ddb(4) even when the riscv64 machines I manage get
unusable because of NFS.

Suggested by miod@, ok miod@ kettenis@


# 1.5 06-Apr-2022 naddy

constify struct cfattach


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.4 31-Aug-2021 jan

Using suser() instead of doing it manually.

ok patrick@


# 1.3 20-Jun-2021 kettenis

Make sure we program the baud rate divisor register. Without this,
opening the tty corresponding to a non-console device will hang the
machine.

ok deraadt@


# 1.2 13-Jun-2021 kettenis

Clean this up a bit. Use register names that match the documentation, and
fix some register number. Drop reading the Interrupt Pending register
in the interrupt handler as this was actually reading the Interrupt Enable
register and the bits that were checked were always true. Fix bogus
code in sfuartcnputc() and simplyfy sfuartcngetc(). Throw in some
style fixes for good measure.


# 1.1 12-Jun-2021 drahn

Serial driver for SiFive Unmatched (U74) based on dev/fdt/amluart.c
console input and output working, userland input and output at least
partially working.
'commit that driver, further improvements can happen in-tree' deraadt@


# 1.5 06-Apr-2022 naddy

constify struct cfattach


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.4 31-Aug-2021 jan

Using suser() instead of doing it manually.

ok patrick@


# 1.3 20-Jun-2021 kettenis

Make sure we program the baud rate divisor register. Without this,
opening the tty corresponding to a non-console device will hang the
machine.

ok deraadt@


# 1.2 13-Jun-2021 kettenis

Clean this up a bit. Use register names that match the documentation, and
fix some register number. Drop reading the Interrupt Pending register
in the interrupt handler as this was actually reading the Interrupt Enable
register and the bits that were checked were always true. Fix bogus
code in sfuartcnputc() and simplyfy sfuartcngetc(). Throw in some
style fixes for good measure.


# 1.1 12-Jun-2021 drahn

Serial driver for SiFive Unmatched (U74) based on dev/fdt/amluart.c
console input and output working, userland input and output at least
partially working.
'commit that driver, further improvements can happen in-tree' deraadt@


# 1.4 31-Aug-2021 jan

Using suser() instead of doing it manually.

ok patrick@


# 1.3 20-Jun-2021 kettenis

Make sure we program the baud rate divisor register. Without this,
opening the tty corresponding to a non-console device will hang the
machine.

ok deraadt@


# 1.2 13-Jun-2021 kettenis

Clean this up a bit. Use register names that match the documentation, and
fix some register number. Drop reading the Interrupt Pending register
in the interrupt handler as this was actually reading the Interrupt Enable
register and the bits that were checked were always true. Fix bogus
code in sfuartcnputc() and simplyfy sfuartcngetc(). Throw in some
style fixes for good measure.


# 1.1 12-Jun-2021 drahn

Serial driver for SiFive Unmatched (U74) based on dev/fdt/amluart.c
console input and output working, userland input and output at least
partially working.
'commit that driver, further improvements can happen in-tree' deraadt@


# 1.3 20-Jun-2021 kettenis

Make sure we program the baud rate divisor register. Without this,
opening the tty corresponding to a non-console device will hang the
machine.

ok deraadt@


# 1.2 13-Jun-2021 kettenis

Clean this up a bit. Use register names that match the documentation, and
fix some register number. Drop reading the Interrupt Pending register
in the interrupt handler as this was actually reading the Interrupt Enable
register and the bits that were checked were always true. Fix bogus
code in sfuartcnputc() and simplyfy sfuartcngetc(). Throw in some
style fixes for good measure.


# 1.1 12-Jun-2021 drahn

Serial driver for SiFive Unmatched (U74) based on dev/fdt/amluart.c
console input and output working, userland input and output at least
partially working.
'commit that driver, further improvements can happen in-tree' deraadt@


# 1.2 13-Jun-2021 kettenis

Clean this up a bit. Use register names that match the documentation, and
fix some register number. Drop reading the Interrupt Pending register
in the interrupt handler as this was actually reading the Interrupt Enable
register and the bits that were checked were always true. Fix bogus
code in sfuartcnputc() and simplyfy sfuartcngetc(). Throw in some
style fixes for good measure.


# 1.1 12-Jun-2021 drahn

Serial driver for SiFive Unmatched (U74) based on dev/fdt/amluart.c
console input and output working, userland input and output at least
partially working.
'commit that driver, further improvements can happen in-tree' deraadt@