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/4606b6da8c72
branches:  trunk
changeset: 850349:4606b6da8c72
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 f2b6efd12d2e -r 4606b6da8c72 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