History log of /openbsd-src/sys/arch/riscv64/dev/sfuart.c (Results 1 – 6 of 6)
Revision Date Author Comments
# 5b3eaf58 12-Jul-2022 jca <jca@openbsd.org>

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@


# 471aeecf 06-Apr-2022 naddy <naddy@openbsd.org>

constify struct cfattach


# 9ca4957b 31-Aug-2021 jan <jan@openbsd.org>

Using suser() instead of doing it manually.

ok patrick@


# 6e934c4d 20-Jun-2021 kettenis <kettenis@openbsd.org>

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@


# 86351610 13-Jun-2021 kettenis <kettenis@openbsd.org>

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

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.

show more ...


# 0ee6b148 12-Jun-2021 drahn <drahn@openbsd.org>

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 c

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@

show more ...