From: dlg Date: Wed, 1 Jun 2022 03:39:57 +0000 (+0000) Subject: dont have to say Ethernet address in dmesg, address is fine X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=047756e93972c3d915079d40e85a3bc7f6a3e713;p=openbsd dont have to say Ethernet address in dmesg, address is fine --- diff --git a/sys/dev/fdt/if_mvneta.c b/sys/dev/fdt/if_mvneta.c index 4c133042b61..77c0fa54404 100644 --- a/sys/dev/fdt/if_mvneta.c +++ b/sys/dev/fdt/if_mvneta.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_mvneta.c,v 1.20 2022/06/01 03:37:41 dlg Exp $ */ +/* $OpenBSD: if_mvneta.c,v 1.21 2022/06/01 03:39:57 dlg Exp $ */ /* $NetBSD: if_mvneta.c,v 1.41 2015/04/15 10:15:40 hsuenaga Exp $ */ /* * Copyright (c) 2007, 2008, 2013 KIYOHARA Takashi @@ -538,7 +538,7 @@ mvneta_attach(struct device *parent, struct device *self, void *aux) sc->sc_sfp = OF_getpropint(faa->fa_node, "sfp", 0); - printf("%s: Ethernet address %s\n", self->dv_xname, + printf("%s: address %s\n", self->dv_xname, ether_sprintf(sc->sc_enaddr)); /* disable port */