]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Define new linker set, UART_FDT_CLASS_AND_DEVICE, for registering full
authorian <ian@FreeBSD.org>
Sat, 7 Mar 2015 15:18:57 +0000 (15:18 +0000)
committerian <ian@FreeBSD.org>
Sat, 7 Mar 2015 15:18:57 +0000 (15:18 +0000)
commit7292a1689e4ab84c597c91255e4c24a2313d2420
tree43f5c6ee350e548782f4544fba4d85581a3ced67
parent964c68ec8c00bd969edc3ed901f7941685a69ad1
Define new linker set, UART_FDT_CLASS_AND_DEVICE, for registering full
(class and device) FDT UART. Define second one, UART_FDT_CLASS, for UART
class only.

This paves the way for declaring uart_class data and ofw/fdt compat data
with a uart implementation, rather than needing a big global table of
compat data and weak-symbol declarations of every existing implementation.

Differential Revision: https://reviews.freebsd.org/D1992
Submitted by: Michal Meloun
sys/dev/uart/uart.h
sys/dev/uart/uart_bus_fdt.c
sys/dev/uart/uart_cpu_fdt.c
sys/dev/uart/uart_cpu_fdt.h [new file with mode: 0644]