freebsd-nq/sys/dev/uart
Ed Schouten 9b866e4e8b Fix detaching of uart(4) devices.
With our new TTY layer we use a two step device destruction procedure.
The TTY first gets abandoned by the device driver. When the TTY layer
notices all threads have left the TTY layer, it deallocates the TTY.

This means that the device unit number should not be reused before a
callback from the TTY layer to the device driver has been made. newbus
doesn't seem to support this concept (yet), so right now just add a
destructor with a big comment in it. It's not ideal, but at least it's
better than panicing.

Reported by:	rnoland
2008-10-23 19:11:44 +00:00
..
uart_bus_acpi.c
uart_bus_ebus.c
uart_bus_isa.c Add the 2nd CCU and PnP devices support on pc98. 2008-08-25 14:45:24 +00:00
uart_bus_mbus.c Introduce basic support for Marvell families of system-on-chip ARM devices: 2008-10-13 20:07:13 +00:00
uart_bus_ocp.c Initial support for Freescale PowerQUICC III MPC85xx system-on-chip family. 2008-03-03 17:17:00 +00:00
uart_bus_pccard.c
uart_bus_pci.c
uart_bus_puc.c
uart_bus_scc.c Support for Freescale QUad Integrated Communications Controller. 2008-03-03 18:20:17 +00:00
uart_bus.h
uart_core.c Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
uart_cpu_amd64.c
uart_cpu_i386.c
uart_cpu_ia64.c
uart_cpu_mv.c Introduce basic support for Marvell families of system-on-chip ARM devices: 2008-10-13 20:07:13 +00:00
uart_cpu_pc98.c Use bus_space_compare() rather than i386_memio_compare() directly. 2008-09-07 04:47:39 +00:00
uart_cpu_powerpc.c Initial support for Freescale PowerQUICC III MPC85xx system-on-chip family. 2008-03-03 17:17:00 +00:00
uart_cpu_sparc64.c
uart_cpu.h
uart_dbg.c
uart_dev_ns8250.c The XScale PXA255 has three generally ns16x50 compatible UARTs. One of the 2008-05-30 01:57:13 +00:00
uart_dev_quicc.c Support for Freescale QUad Integrated Communications Controller. 2008-03-03 18:20:17 +00:00
uart_dev_sab82532.c
uart_dev_z8530.c
uart_if.m
uart_kbd_sun_tables.h
uart_kbd_sun.c
uart_kbd_sun.h
uart_subr.c
uart_tty.c Fix detaching of uart(4) devices. 2008-10-23 19:11:44 +00:00
uart.h Add the 2nd CCU and PnP devices support on pc98. 2008-08-25 14:45:24 +00:00