freebsd-src/sys/dev/uart
Marcel Moolenaar 2ae4f1fd16 Introduce the hw.uart.console and hw.uart.dbgport environment variables
to select a serial console and debug port (resp). On ia64 these replace
the use of hints completely and take precedence over hints on alpha,
amd64 and i386. On sparc64 these variables are not yet recognised.

The reasons for introducing these variables are:
1.  Hints have side-effects. They reserve the unit number for use by
    isa or acpi devices and therefore cannot be used to select a pci
    device. Also, the use of a unit number to select a device prior
    to bus enumeration is nonsense. The new variables have no side-
    effects and are not based on unit numbers.
2.  Hints don't have the expression power to allow the sysadmin to
    select UARTs that are not legacy PC devices and need the support
    of compile-time constants to give the sysadmin some level of
    flexibility.

The hw.uart.console and hw.uart.dbgport variables specify a list of
attributes. An attribute is a tag-value pair, seperated by a colon.
Attributes are seperated by a comma. Where possible, tags are the
same as those in /etc/remote (only br and pa in practice). Details
can be found in the manpage (not part of this commit).

Not tested on: amd64, pc98
2004-03-20 02:14:02 +00:00
..
uart.h Revert the introduction of iobase in struct uart_bas. Both the SAB82532 2003-09-26 05:14:56 +00:00
uart_bus.h Revert the introduction of iobase in struct uart_bas. Both the SAB82532 2003-09-26 05:14:56 +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 Revert the introduction of iobase in struct uart_bas. Both the SAB82532 2003-09-26 05:14:56 +00:00
uart_bus_isa.c Revert the introduction of iobase in struct uart_bas. Both the SAB82532 2003-09-26 05:14:56 +00:00
uart_bus_pccard.c Include pccard/pccard_cis.h here too 2003-10-07 04:26:14 +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_core.c Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
uart_cpu.h Introduce the hw.uart.console and hw.uart.dbgport environment variables 2004-03-20 02:14:02 +00:00
uart_cpu_alpha.c Introduce the hw.uart.console and hw.uart.dbgport environment variables 2004-03-20 02:14:02 +00:00
uart_cpu_amd64.c Introduce the hw.uart.console and hw.uart.dbgport environment variables 2004-03-20 02:14:02 +00:00
uart_cpu_i386.c Introduce the hw.uart.console and hw.uart.dbgport environment variables 2004-03-20 02:14:02 +00:00
uart_cpu_ia64.c Introduce the hw.uart.console and hw.uart.dbgport environment variables 2004-03-20 02:14:02 +00:00
uart_cpu_pc98.c Introduce the hw.uart.console and hw.uart.dbgport environment variables 2004-03-20 02:14:02 +00:00
uart_cpu_sparc64.c Introduce the hw.uart.console and hw.uart.dbgport environment variables 2004-03-20 02:14:02 +00:00
uart_dev_i8251.c In uart_intr() loop until all interrupts have been handled. Previously 2003-09-17 03:11:32 +00:00
uart_dev_i8251.h
uart_dev_ns8250.c In uart_intr() loop until all interrupts have been handled. Previously 2003-09-17 03:11:32 +00:00
uart_dev_ns8250.h
uart_dev_sab82532.c Revert the introduction of iobase in struct uart_bas. Both the SAB82532 2003-09-26 05:14:56 +00:00
uart_dev_sab82532.h
uart_dev_z8530.c Revert the introduction of iobase in struct uart_bas. Both the SAB82532 2003-09-26 05:14:56 +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_kbd_sun.c Add a uart attachment/syscons keyboard driver for sun keyboards. In theory 2003-11-11 07:33:24 +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_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_subr.c Introduce the hw.uart.console and hw.uart.dbgport environment variables 2004-03-20 02:14:02 +00:00
uart_tty.c Device megapatch 4/6: 2004-02-21 21:10:55 +00:00