diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2019-05-22 15:25:26 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2019-05-22 15:25:26 +0000 |
commit | aea4812887c029ac0d89199497663740c997cde9 (patch) | |
tree | db2418dab03bbf9b371cbb214f92fba4fbd8aaba /sys/dev | |
parent | 42c751f8c4652a3b61e956457763b7b982d56566 (diff) |
Print the bwfm(4)'s ethernet address on attach.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ic/bwfm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/bwfm.c b/sys/dev/ic/bwfm.c index 6b8abba7eb1..622a4ffb751 100644 --- a/sys/dev/ic/bwfm.c +++ b/sys/dev/ic/bwfm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bwfm.c,v 1.61 2019/05/22 15:23:01 patrick Exp $ */ +/* $OpenBSD: bwfm.c,v 1.62 2019/05/22 15:25:25 patrick Exp $ */ /* * Copyright (c) 2010-2016 Broadcom Corporation * Copyright (c) 2016,2017 Patrick Wildt <patrick@blueri.se> @@ -251,6 +251,8 @@ bwfm_preinit(struct bwfm_softc *sc) return 1; } + printf("%s: address %s\n", DEVNAME(sc), ether_sprintf(ic->ic_myaddr)); + if (bwfm_fwvar_var_get_int(sc, "nmode", &nmode)) nmode = 0; if (bwfm_fwvar_var_get_int(sc, "vhtmode", &vhtmode)) |