opnsense-src/sys/dev/uart
Marcel Moolenaar 06287620b4 Add locking to the hardware drivers. I intended to figure out more
precisely where locking would be needed before adding it, but it
seems uart(4) draws slightly too much attention to have it without
locking for too long.
The lock added is a spinlock that protects access to the underlying
hardware. As a first and obvious stab at this, each method of the
hardware interface grabs the lock. Roughly speaking this serializes
the methods. Exceptions are the probe, attach and detach methods.
2003-09-17 01:41:21 +00:00
..
uart.h
uart_bus.h Add locking to the hardware drivers. I intended to figure out more 2003-09-17 01:41:21 +00:00
uart_bus_acpi.c
uart_bus_ebus.c
uart_bus_isa.c
uart_bus_pccard.c Remove inclusion of <sys/timepps.h>. It's included in "uart_bus.h" 2003-09-15 04:49:22 +00:00
uart_bus_pci.c
uart_bus_puc.c
uart_core.c Add locking to the hardware drivers. I intended to figure out more 2003-09-17 01:41:21 +00:00
uart_cpu.h Remove the assumption that a bus_space_handle_t is an I/O address 2003-09-07 21:51:03 +00:00
uart_cpu_alpha.c Remove the assumption that a bus_space_handle_t is an I/O address 2003-09-07 21:51:03 +00:00
uart_cpu_amd64.c Remove the assumption that a bus_space_handle_t is an I/O address 2003-09-07 21:51:03 +00:00
uart_cpu_i386.c Remove the assumption that a bus_space_handle_t is an I/O address 2003-09-07 21:51:03 +00:00
uart_cpu_ia64.c Remove the assumption that a bus_space_handle_t is an I/O address 2003-09-07 21:51:03 +00:00
uart_cpu_pc98.c Minor commentary cleanup, since I didn't understand the comments that 2003-09-11 04:22:28 +00:00
uart_cpu_sparc64.c When determining the device class to use for the serial console, check 2003-09-12 20:13:23 +00:00
uart_dev_i8251.c Add locking to the hardware drivers. I intended to figure out more 2003-09-17 01:41:21 +00:00
uart_dev_i8251.h
uart_dev_ns8250.c Add locking to the hardware drivers. I intended to figure out more 2003-09-17 01:41:21 +00:00
uart_dev_ns8250.h
uart_dev_sab82532.c Add locking to the hardware drivers. I intended to figure out more 2003-09-17 01:41:21 +00:00
uart_dev_sab82532.h
uart_dev_z8530.c Add locking to the hardware drivers. I intended to figure out more 2003-09-17 01:41:21 +00:00
uart_dev_z8530.h
uart_if.m Add locking to the hardware drivers. I intended to figure out more 2003-09-17 01:41:21 +00:00
uart_tty.c Add support for using uart(4) for pulse capturing for the Pulse Per 2003-09-11 23:06:42 +00:00