summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/pci/if_nep.c5
1 files 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));