summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/utils.h
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-04-05 00:26:06 +0000
committeradrian <adrian@FreeBSD.org>2013-04-05 00:26:06 +0000
commit2558987b708612ef20e0a95df89c443cb5edeb95 (patch)
tree3ce27bb6ad92b3ed48537cb25018bdc4696311c4 /lib/libc/regex/utils.h
parenteed0ddb40ec886ec3cf62641ed35f796240252c9 (diff)
downloadFreeBSD-src-2558987b708612ef20e0a95df89c443cb5edeb95.zip
FreeBSD-src-2558987b708612ef20e0a95df89c443cb5edeb95.tar.gz
Implement the AR933x interrupt driven UART code.
* Enable RX and host interrupts during bus probe/attach * Disable all interrupts (+ host ISR) during bus detach * Enable TX DONE interrupt only when we start transmitting; clear it when we're done. * The RX/TX FIFO depth is still conjecture on my part. I'll fix this shortly. * The TX FIFO interrupt isn't an "empty" interrupt, it's an "almost empty" interrupt. Sigh. So.. * .. in ar933x_bus_transmit(), wait for the FIFO to drain before continuing. I dislike having to wait for the FIFO to drain, alas. Tested: * Atheros AP121 board, AR9331 SoC. TODO: * RX/TX overflow, RX error, BREAK support, etc. * Figure out the true RX/TX FIFO depth.
Diffstat (limited to 'lib/libc/regex/utils.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud