freebsd-nq/sys/dev/uart
Marcel Moolenaar d382695820 Some chipset drivers redefine the busspace_isa_{io|mem} tags. This
not only means that it's possible (though unlikely) that we hand out
differing tags for the same bus space, it also means that the tags
we handed out are not used during bus enumeration. Both affect our
ability to compare tags. Fix the first by initializing our tags only
once. Fix the second by testing if one of the tags to compare is our
tag and the other is a busspace_isa_{io|mem} tag and declare them
equal if so.

This fixes using uart(4) as the serial console on a ds10. That is,
the low-level console worked, but we could not match the resources
to one of the UARTs found during bus enumeration, which prevented
uart(4) from becoming the console in single- or multi-user mode.

Approved by: re (kensmith)
MFC after: 2 days
Thanks to: all involved in getting a ds10 to me; directly or indirectly.
Special thanks to: Dave Knight, ISC (for not scratching my Porsche :-)
2005-06-16 18:06:38 +00:00
..
uart_bus_acpi.c
uart_bus_ebus.c On AXi and AXmp boards the NS16550 (used to connect keyboard and mouse) 2005-06-04 21:52:56 +00:00
uart_bus_isa.c
uart_bus_pccard.c
uart_bus_pci.c
uart_bus_puc.c
uart_bus.h
uart_core.c - Allocate the interrupt resource as RF_SHAREABLE allowing uart(4) to work 2005-03-02 11:30:14 +00:00
uart_cpu_alpha.c Some chipset drivers redefine the busspace_isa_{io|mem} tags. This 2005-06-16 18:06:38 +00:00
uart_cpu_amd64.c
uart_cpu_i386.c
uart_cpu_ia64.c
uart_cpu_pc98.c
uart_cpu_sparc64.c Change the semantics of uart_cpu_getdev_keyboard() to only match SCCs/ 2005-06-04 21:33:18 +00:00
uart_cpu.h
uart_dbg.c
uart_dev_ns8250.c
uart_dev_sab82532.c Fix a logic bug that caused DSR to never be deasserted. 2005-01-30 22:14:30 +00:00
uart_dev_z8530.c Make the Z8530 more reliable as low-level console by making use of the 2005-04-27 21:57:51 +00:00
uart_if.m
uart_kbd_sun_tables.h
uart_kbd_sun.c Replace the band-aid for allowing to call sunkbd_configure() multiple 2005-06-04 21:54:31 +00:00
uart_kbd_sun.h
uart_subr.c
uart_tty.c In uart_cnprobe(), fill in the cn_name field of the consdev structure. 2005-05-08 20:25:09 +00:00
uart.h