From 5a562651299944a4c9337eee6f0e0131e739c2c9 Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Thu, 21 Dec 2006 22:16:10 +0000 Subject: nuke sc_enaddr here too --- sys/dev/sbus/if_gem_sbus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/sbus/if_gem_sbus.c b/sys/dev/sbus/if_gem_sbus.c index c44dabb5e6e..824193d22ef 100644 --- a/sys/dev/sbus/if_gem_sbus.c +++ b/sys/dev/sbus/if_gem_sbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gem_sbus.c,v 1.1 2006/11/25 15:54:35 brad Exp $ */ +/* $OpenBSD: if_gem_sbus.c,v 1.2 2006/12/21 22:16:09 jason Exp $ */ /* $NetBSD: if_gem_sbus.c,v 1.1 2006/11/24 13:23:32 martin Exp $ */ /*- @@ -140,8 +140,8 @@ gemattach_sbus(struct device *parent, struct device *self, void *aux) } if (OF_getprop(sa->sa_node, "local-mac-address", - sc->sc_enaddr, ETHER_ADDR_LEN) <= 0) - myetheraddr(sc->sc_enaddr); + sc->sc_arpcom.ac_enaddr, ETHER_ADDR_LEN) <= 0) + myetheraddr(sc->sc_arpcom.ac_enaddr); /* * SBUS config -- cgit v1.2.3