Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/iq80310 If we're attaching UART2, then use U...



details:   https://anonhg.NetBSD.org/src/rev/9e6bc8803e37
branches:  trunk
changeset: 520208:9e6bc8803e37
user:      briggs <briggs%NetBSD.org@localhost>
date:      Fri Jan 04 21:18:59 2002 +0000

description:
If we're attaching UART2, then use UART2 in failure-case panic()s.

diffstat:

 sys/arch/evbarm/iq80310/iq80310_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r c7e7eb4bbad9 -r 9e6bc8803e37 sys/arch/evbarm/iq80310/iq80310_machdep.c
--- a/sys/arch/evbarm/iq80310/iq80310_machdep.c Fri Jan 04 21:04:42 2002 +0000
+++ b/sys/arch/evbarm/iq80310/iq80310_machdep.c Fri Jan 04 21:18:59 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iq80310_machdep.c,v 1.12 2001/11/27 00:35:34 thorpej Exp $     */
+/*     $NetBSD: iq80310_machdep.c,v 1.13 2002/01/04 21:18:59 briggs Exp $      */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -896,8 +896,8 @@
 #if NCOM > 0
        if (comcnattach(&obio_bs_tag, IQ80310_UART2, comcnspeed,
            COM_FREQ, comcnmode))
-                       panic("can't init serial console @%lx", IQ80310_UART1);
+                       panic("can't init serial console @%lx", IQ80310_UART2);
 #else
-       panic("serial console @%lx not configured", IQ80310_UART1);
+       panic("serial console @%lx not configured", IQ80310_UART2);
 #endif
 }



Home | Main Index | Thread Index | Old Index