Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/broadcom Set the correct com type



details:   https://anonhg.NetBSD.org/src/rev/fcc4c7ceda86
branches:  trunk
changeset: 355494:fcc4c7ceda86
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Jul 31 00:51:20 2017 +0000

description:
Set the correct com type

diffstat:

 sys/arch/arm/broadcom/bcm2835_com.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c038dfa2cbd4 -r fcc4c7ceda86 sys/arch/arm/broadcom/bcm2835_com.c
--- a/sys/arch/arm/broadcom/bcm2835_com.c       Sun Jul 30 23:48:32 2017 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_com.c       Mon Jul 31 00:51:20 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcm2835_com.c,v 1.1 2017/07/30 23:48:32 jmcneill Exp $ */
+/* $NetBSD: bcm2835_com.c,v 1.2 2017/07/31 00:51:20 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_com.c,v 1.1 2017/07/30 23:48:32 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_com.c,v 1.2 2017/07/31 00:51:20 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -68,7 +68,7 @@
        void *ih;
 
        sc->sc_dev = self;
-       sc->sc_type = COM_TYPE_NORMAL;
+       sc->sc_type = COM_TYPE_BCMAUXUART;
 
        prop_dictionary_get_uint32(dict, "frequency", &sc->sc_frequency);
        if (sc->sc_frequency == 0) {



Home | Main Index | Thread Index | Old Index