CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2021/06/13 03:19:14

Modified files:
        sys/arch/riscv64/dev: sfuart.c 

Log message:
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.

Reply via email to