Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/newsmips/apbus Track the changes to tulipvar.h -- u...



details:   https://anonhg.NetBSD.org/src/rev/fd8edd0d7a00
branches:  trunk
changeset: 767313:fd8edd0d7a00
user:      he <he%NetBSD.org@localhost>
date:      Fri Jul 15 07:49:20 2011 +0000

description:
Track the changes to tulipvar.h -- use the recently introduced
tlp_chip_name() to get the chip name for aprint output.

diffstat:

 sys/arch/newsmips/apbus/if_tlp_ap.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ab973a38d898 -r fd8edd0d7a00 sys/arch/newsmips/apbus/if_tlp_ap.c
--- a/sys/arch/newsmips/apbus/if_tlp_ap.c       Fri Jul 15 07:39:26 2011 +0000
+++ b/sys/arch/newsmips/apbus/if_tlp_ap.c       Fri Jul 15 07:49:20 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_tlp_ap.c,v 1.12 2011/02/20 07:56:31 matt Exp $      */
+/*     $NetBSD: if_tlp_ap.c,v 1.13 2011/07/15 07:49:20 he Exp $        */
 
 /*
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tlp_ap.c,v 1.12 2011/02/20 07:56:31 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tlp_ap.c,v 1.13 2011/07/15 07:49:20 he Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -140,7 +140,7 @@
        }
 
        aprint_normal(": %s Ethernet, pass %d.%d\n",
-           tlp_chip_names[sc->sc_chip],
+           tlp_chip_name(sc->sc_chip),
            (sc->sc_rev >> 4) & 0xf, sc->sc_rev & 0xf);
 
        /* CSR */



Home | Main Index | Thread Index | Old Index