mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-26 11:47:31 +00:00
eced428604
not as a pending interrupt status, but as a matter of status quo. Consequently, when there's no data to be transmitted the condition is not cleared and uart_intr() is stuck in an infinite loop trying to clear the UART_IPEND_TXIDLE status. The z8530_bus_ipend() function is changed to return idle only once after having sent any data. The root cause for this problem is that we cannot use the interrupt status bits of the SCC itself. The register that holds the interrupt status can only be accessed by channel A and holds the status for both channels. Using the interrupt status register would complicate the driver because we need to synchronize access to the SCC between the channels. Elementary testing: marius |
||
---|---|---|
.. | ||
uart_bus_acpi.c | ||
uart_bus_ebus.c | ||
uart_bus_isa.c | ||
uart_bus_pccard.c | ||
uart_bus_pci.c | ||
uart_bus_puc.c | ||
uart_bus.h | ||
uart_core.c | ||
uart_cpu_alpha.c | ||
uart_cpu_amd64.c | ||
uart_cpu_i386.c | ||
uart_cpu_ia64.c | ||
uart_cpu_pc98.c | ||
uart_cpu_sparc64.c | ||
uart_cpu.h | ||
uart_dev_i8251.c | ||
uart_dev_i8251.h | ||
uart_dev_ns8250.c | ||
uart_dev_ns8250.h | ||
uart_dev_sab82532.c | ||
uart_dev_sab82532.h | ||
uart_dev_z8530.c | ||
uart_dev_z8530.h | ||
uart_if.m | ||
uart_kbd_sun_tables.h | ||
uart_kbd_sun.c | ||
uart_kbd_sun.h | ||
uart_subr.c | ||
uart_tty.c | ||
uart.h |