Make sure we program the baud rate divisor register. Without this,
authorkettenis <kettenis@openbsd.org>
Sun, 20 Jun 2021 17:55:37 +0000 (17:55 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 20 Jun 2021 17:55:37 +0000 (17:55 +0000)
commit6e934c4d648544f5c965fdc5f5990b9242ab020a
tree6535b047ebcb45d623a5c671aa7bb14c45f478cb
parentb4ec57b8eb38d803025af23fa81f029627994b0a
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@
sys/arch/riscv64/dev/sfuart.c