diff options
author | Joshua Stein <jcs@cvs.openbsd.org> | 2020-08-14 18:14:12 +0000 |
---|---|---|
committer | Joshua Stein <jcs@cvs.openbsd.org> | 2020-08-14 18:14:12 +0000 |
commit | 271dc6fa42baca3befad7033990b1d6baa531f35 (patch) | |
tree | e7d80fd83191c7265cd9ce1a7303b51404c1d85d /gnu | |
parent | 7292e1937bb24bc129dee724f17f70ad3d3c5a30 (diff) |
Re-commit Exar XR17V35x serial port support previously backed out:
The Exar XR17V354 has 4 ports that have a 256-byte FIFO, use a
frequency of 125Mhz, and have a unique sleep register. A custom
interrupt handler is setup in puc for these ports so it can check a
register which reports which ports triggered the interrupt, rather
than having to run comintr for every port every time.
To avoid probing for these ports in com_attach_subr which requires
access to registers that may be reserved on certain platforms, pass
the sc_uarttype from com_puc_attach since the port type is already
known based on the puc device vendor/id.
Input from kettenis, tested in snaps
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions