Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic add aprint_debug_dev() call for CI20



details:   https://anonhg.NetBSD.org/src/rev/a7cf5d2e44a8
branches:  trunk
changeset: 1008763:a7cf5d2e44a8
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Thu Apr 02 13:38:50 2020 +0000

description:
add aprint_debug_dev() call for CI20

diffstat:

 sys/dev/ic/dm9000.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r f1be964cb485 -r a7cf5d2e44a8 sys/dev/ic/dm9000.c
--- a/sys/dev/ic/dm9000.c       Thu Apr 02 13:04:09 2020 +0000
+++ b/sys/dev/ic/dm9000.c       Thu Apr 02 13:38:50 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dm9000.c,v 1.27 2020/04/02 07:26:45 skrll Exp $        */
+/*     $NetBSD: dm9000.c,v 1.28 2020/04/02 13:38:50 nisimura Exp $     */
 
 /*
  * Copyright (c) 2009 Paul Fleischer
@@ -225,6 +225,7 @@
                KASSERT(prop_object_type(ea) == PROP_TYPE_DATA);
                KASSERT(prop_data_size(ea) == ETHER_ADDR_LEN);
                memcpy(enaddr, prop_data_data_nocopy(ea), ETHER_ADDR_LEN);
+               aprint_debug_dev(sc->sc_dev, "got MAC address!\n");
        } else {
                /*
                 * If we did not get an externaly configure address,



Home | Main Index | Thread Index | Old Index