freebsd-skq/sys/dev/uart
Marius Strobl 36bdb858fa - Don't blindly use the return value of uart_cpu_channel() to calculate
the address of a channel on a SCC, it returns 0 on failure. [1]
- Hardcode channel 1 for the keyboard on Z8530, the information present
  in the Open Firmware device tree doesn't allow to determine this via
  uart_cpu_channel(). This makes the keyboard (if one backs out rev. 1.5
  of sys/dev/puc/puc_sbus.c and has both keyboard and mouse plugged in to
  avoid the hang that revision works around) and consequently syscons(4)
  on Ultra 2 work. There's a problem with the keyboard LEDs similar to
  the one on Ultra 60 (LEDs don't get lit under X) though, instead of
  lighting just a specific single one all get lit and can't be turned off
  again. [1]
- Add comments about what uart_cpu_channel() and uart_cpu_getdev_keyboard()
  do and their constraints.
- Improve the comments about what uart_cpu_getdev_[console,dbgport]() do,
  they don't return an address (as in bus) but an Open Firmware package
  handle.

Reviewed by:	marcel (modulo the comments) [1]
2004-11-28 16:00:36 +00:00
..
uart_bus_acpi.c
uart_bus_ebus.c - Introduce an ofw_bus kobj-interface for retrieving the OFW node and a 2004-08-12 17:41:33 +00:00
uart_bus_isa.c Remove the whole uart_cpu_identify() stuff again. Now that it's no longer 2004-11-17 20:01:43 +00:00
uart_bus_pccard.c Fix disordering of pccarddevs.h noticed by bde. Also remove a few 2004-05-27 03:49:45 +00:00
uart_bus_pci.c
uart_bus_puc.c
uart_bus.h Add UART_IOCTL_BAUD to allow us to query the hardware about the 2004-11-14 23:12:14 +00:00
uart_core.c Add UART_IOCTL_BAUD to allow us to query the hardware about the 2004-11-14 23:12:14 +00:00
uart_cpu_alpha.c Remove the whole uart_cpu_identify() stuff again. Now that it's no longer 2004-11-17 20:01:43 +00:00
uart_cpu_amd64.c Remove the whole uart_cpu_identify() stuff again. Now that it's no longer 2004-11-17 20:01:43 +00:00
uart_cpu_i386.c Remove the whole uart_cpu_identify() stuff again. Now that it's no longer 2004-11-17 20:01:43 +00:00
uart_cpu_ia64.c Remove the whole uart_cpu_identify() stuff again. Now that it's no longer 2004-11-17 20:01:43 +00:00
uart_cpu_pc98.c uart_i8251_ops is gone. 2004-11-21 15:18:35 +00:00
uart_cpu_sparc64.c - Don't blindly use the return value of uart_cpu_channel() to calculate 2004-11-28 16:00:36 +00:00
uart_cpu.h Remove the whole uart_cpu_identify() stuff again. Now that it's no longer 2004-11-17 20:01:43 +00:00
uart_dbg.c Add support for uart(4) being a debug port for the GDB backend. 2004-07-10 18:08:38 +00:00
uart_dev_ns8250.c Include the common <dev/ic/ns16550.h> instead of the private 2004-11-20 23:22:04 +00:00
uart_dev_sab82532.c Include the header with the register definitions from sys/dev/ic. They 2004-11-21 01:43:27 +00:00
uart_dev_z8530.c Include the header with the register definitions from sys/dev/ic. They 2004-11-21 01:43:27 +00:00
uart_if.m
uart_kbd_sun_tables.h
uart_kbd_sun.c
uart_kbd_sun.h
uart_subr.c Make sure the baudrate specified with the BR tag is somewhat sane. 2004-11-14 21:38:22 +00:00
uart_tty.c Remove asserts which are not correct if the port is a tty. 2004-10-12 21:00:19 +00:00
uart.h