aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-ohci.c
diff options
context:
space:
mode:
authorJustin T. Gibbs <gibbs@FreeBSD.org>2010-02-10 14:35:54 -0700
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-22 16:16:16 -0600
commit71e605f80313a632cc6714cde7bd240042dbdd95 (patch)
treeb6f8238005d9c3159ba9f3018b598d234f2c7e00 /hw/usb-ohci.c
parent98b8d951dc5bcb94eaa309fbd362d2bb438d3ed6 (diff)
Fix lost serial TX interrupts. Report receive overruns.
o Implement receive overrun status. The FreeBSD uart driver relies on this status in it's probe routine to determine the size of the FIFO supported. o As per the 16550 spec, do not overwrite the RX FIFO on an RX overrun. o Do not allow TX or RX FIFO overruns to increment the data valid count beyond the size of the FIFO. o For reads of the IIR register, only clear the "TX holding register emtpy interrupt" if the read reports this interrupt. This is required by the specification and avoids losing TX interrupts when other, higher priority interrupts (usually RX) are reported first. Signed-off-by: Justin T. Gibbs <gibbs@FreeBSD.org> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/usb-ohci.c')
0 files changed, 0 insertions, 0 deletions