artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
513ea50
)
Make sure we print the MAC address on sparc64 as well.
author
kettenis
<kettenis@openbsd.org>
Mon, 13 Apr 2015 20:02:58 +0000
(20:02 +0000)
committer
kettenis
<kettenis@openbsd.org>
Mon, 13 Apr 2015 20:02:58 +0000
(20:02 +0000)
sys/dev/pci/if_nep.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/if_nep.c
b/sys/dev/pci/if_nep.c
index
70700d1
..
6316693
100644
(file)
--- a/
sys/dev/pci/if_nep.c
+++ b/
sys/dev/pci/if_nep.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: if_nep.c,v 1.1
7 2015/03/24 09:59:23 mpi Exp $
*/
+/* $OpenBSD: if_nep.c,v 1.1
8 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));