Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/omap com@obio's type is COM_TYPE_OMAP. This me...
details: https://anonhg.NetBSD.org/src/rev/f58df42b4fdc
branches: trunk
changeset: 346330:f58df42b4fdc
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Thu Jul 07 15:27:42 2016 +0000
description:
com@obio's type is COM_TYPE_OMAP. This mean is able to change the baudrate.
tested on VTC100's com1(GPS).
diffstat:
sys/arch/arm/omap/obio_com.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 84a422eb19d9 -r f58df42b4fdc sys/arch/arm/omap/obio_com.c
--- a/sys/arch/arm/omap/obio_com.c Thu Jul 07 15:20:58 2016 +0000
+++ b/sys/arch/arm/omap/obio_com.c Thu Jul 07 15:27:42 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: obio_com.c,v 1.6 2016/07/07 15:20:58 kiyohara Exp $ */
+/* $NetBSD: obio_com.c,v 1.7 2016/07/07 15:27:42 kiyohara Exp $ */
/*
* Based on arch/arm/omap/omap_com.c
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio_com.c,v 1.6 2016/07/07 15:20:58 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio_com.c,v 1.7 2016/07/07 15:27:42 kiyohara Exp $");
#include "opt_omap.h"
#include "opt_com.h"
@@ -151,7 +151,7 @@
iot = obio->obio_iot;
iobase = obio->obio_addr;
sc->sc_frequency = OMAP_COM_FREQ;
- sc->sc_type = COM_TYPE_NORMAL;
+ sc->sc_type = COM_TYPE_OMAP;
if (com_is_console(iot, iobase, &ioh) == 0 &&
bus_space_map(iot, iobase, obio->obio_size, 0, &ioh)) {
Home |
Main Index |
Thread Index |
Old Index