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 Don't hard-code the console address ...



details:   https://anonhg.NetBSD.org/src/rev/02f3aff2f90a
branches:  trunk
changeset: 521889:02f3aff2f90a
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Feb 07 23:53:01 2002 +0000

description:
Don't hard-code the console address in error messages.

diffstat:

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

diffs (20 lines):

diff -r 58d5d8a43fef -r 02f3aff2f90a sys/arch/evbarm/iq80310/iq80310_machdep.c
--- a/sys/arch/evbarm/iq80310/iq80310_machdep.c Thu Feb 07 23:23:29 2002 +0000
+++ b/sys/arch/evbarm/iq80310/iq80310_machdep.c Thu Feb 07 23:53:01 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: iq80310_machdep.c,v 1.18 2002/01/30 04:01:36 thorpej Exp $     */
+/*     $NetBSD: iq80310_machdep.c,v 1.19 2002/02/07 23:53:01 thorpej Exp $     */
 
 /*
  * Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -892,8 +892,8 @@
 #if NCOM > 0
        if (comcnattach(&obio_bs_tag, comcnaddrs[comcnunit], comcnspeed,
            COM_FREQ, comcnmode))
-                       panic("can't init serial console @%lx", IQ80310_UART2);
+               panic("can't init serial console @%lx", comcnaddrs[comcnunit]);
 #else
-       panic("serial console @%lx not configured", IQ80310_UART2);
+       panic("serial console @%lx not configured", comcnaddrs[comcnunit]);
 #endif
 }



Home | Main Index | Thread Index | Old Index