freebsd-dev/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 Revert the introduction of iobase in struct uart_bas. Both the SAB82532 2003-09-26 05:14:56 +00:00
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 Sometimes cardbus attachments don't attach, so while we track down 2003-11-28 05:28:29 +00:00
uart_bus_puc.c Revert the introduction of iobase in struct uart_bas. Both the SAB82532 2003-09-26 05:14:56 +00:00
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 Add locking to the hardware drivers. I intended to figure out more 2003-09-17 01:41:21 +00:00
uart_kbd_sun_tables.h Add a uart attachment/syscons keyboard driver for sun keyboards. In theory 2003-11-11 07:33:24 +00:00
uart_kbd_sun.c Call kbd_attach() only when KBD_INSTALL_CDEV is enabled as the function 2004-04-02 05:59:06 +00:00
uart_kbd_sun.h Add a uart attachment/syscons keyboard driver for sun keyboards. In theory 2003-11-11 07:33:24 +00:00
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 Revert the introduction of iobase in struct uart_bas. Both the SAB82532 2003-09-26 05:14:56 +00:00