diff options
author | marcel <marcel@FreeBSD.org> | 2011-12-30 03:57:17 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2011-12-30 03:57:17 +0000 |
commit | 904a99796ffef9b6ec5aafbc90edc18de2edcc62 (patch) | |
tree | cb999958e6d9699b83605802a867ff7b71c0de86 | |
parent | 124b685cdb162d03e0b92aa17e6fe1162463edb0 (diff) | |
download | FreeBSD-src-904a99796ffef9b6ec5aafbc90edc18de2edcc62.zip FreeBSD-src-904a99796ffef9b6ec5aafbc90edc18de2edcc62.tar.gz |
Actually set the baudrate from the FDT.
-rw-r--r-- | sys/dev/uart/uart_bus_fdt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_bus_fdt.c b/sys/dev/uart/uart_bus_fdt.c index 8088db4..8bb62ea 100644 --- a/sys/dev/uart/uart_bus_fdt.c +++ b/sys/dev/uart/uart_bus_fdt.c @@ -186,7 +186,7 @@ uart_cpu_getdev(int devtype, struct uart_devinfo *di) di->bas.chan = 0; di->bas.regshft = (u_int)shift; - di->baudrate = 0; + di->baudrate = br; di->bas.rclk = (u_int)rclk; di->ops = uart_getops(class); di->databits = 8; |