From b7c47056124198330aab53e194562c60ee0987d3 Mon Sep 17 00:00:00 2001 From: kettenis Date: Mon, 13 Apr 2015 20:02:58 +0000 Subject: [PATCH] Make sure we print the MAC address on sparc64 as well. --- sys/dev/pci/if_nep.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sys/dev/pci/if_nep.c b/sys/dev/pci/if_nep.c index 70700d13b8e..63166932c53 100644 --- a/sys/dev/pci/if_nep.c +++ b/sys/dev/pci/if_nep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nep.c,v 1.17 2015/03/24 09:59:23 mpi Exp $ */ +/* $OpenBSD: if_nep.c,v 1.18 2015/04/13 20:02:58 kettenis Exp $ */ /* * Copyright (c) 2014, 2015 Mark Kettenis * @@ -588,9 +588,8 @@ nep_attach(struct device *parent, struct device *self, void *aux) #ifdef __sparc64__ if (OF_getprop(PCITAG_NODE(pa->pa_tag), "local-mac-address", sc->sc_lladdr, ETHER_ADDR_LEN) <= 0) -#else - nep_pci_enaddr(sc, pa); #endif + nep_pci_enaddr(sc, pa); printf(", address %s\n", ether_sprintf(sc->sc_lladdr)); -- 2.20.1