svn commit: r274452 - head/sys/dev/uart
Zbigniew Bodek
zbb at FreeBSD.org
Wed Nov 12 21:41:16 UTC 2014
Author: zbb
Date: Wed Nov 12 21:41:15 2014
New Revision: 274452
URL: https://svnweb.freebsd.org/changeset/base/274452
Log:
Make uart_bus_fdt a decendant of ofwbus
This will allow to attach UART drivers lying directly on the root node
instead of simple-bus compatible bus only.
Obtained from: Semihalf
Sponsored by: The FreeBSD Foundation
Modified:
head/sys/dev/uart/uart_bus_fdt.c
Modified: head/sys/dev/uart/uart_bus_fdt.c
==============================================================================
--- head/sys/dev/uart/uart_bus_fdt.c Wed Nov 12 21:38:31 2014 (r274451)
+++ head/sys/dev/uart/uart_bus_fdt.c Wed Nov 12 21:41:15 2014 (r274452)
@@ -157,3 +157,4 @@ uart_fdt_probe(device_t dev)
}
DRIVER_MODULE(uart, simplebus, uart_fdt_driver, uart_devclass, 0, 0);
+DRIVER_MODULE(uart, ofwbus, uart_fdt_driver, uart_devclass, 0, 0);
More information about the svn-src-all
mailing list