PERFORCE change 174007 for review
Rafal Jaworowski
raj at FreeBSD.org
Sun Jan 31 10:44:50 UTC 2010
http://p4web.freebsd.org/chv.cgi?CH=174007
Change 174007 by raj at raj_fdt on 2010/01/31 10:44:15
Make PowerPC uart(4) a little bit more portable. This attachment will
soon be used on ARM platforms as well. It likely needs to be placed in
a separate file by then.
Affected files ...
.. //depot/projects/fdt/sys/dev/uart/uart_cpu_powerpc.c#4 edit
Differences ...
==== //depot/projects/fdt/sys/dev/uart/uart_cpu_powerpc.c#4 (text) ====
@@ -52,9 +52,9 @@
#include <dev/uart/uart.h>
#include <dev/uart/uart_cpu.h>
-#ifdef MPC85XX
-bus_space_tag_t uart_bus_space_io = &bs_be_tag;
-bus_space_tag_t uart_bus_space_mem = &bs_be_tag;
+#ifdef FDT
+bus_space_tag_t uart_bus_space_io = fdtbus_bs_tag;
+bus_space_tag_t uart_bus_space_mem = fdtbus_bs_tag;
#else
bus_space_tag_t uart_bus_space_io = &bs_le_tag;
bus_space_tag_t uart_bus_space_mem = &bs_le_tag;
More information about the p4-projects
mailing list