summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2006-12-21 22:16:10 +0000
committerJason Wright <jason@cvs.openbsd.org>2006-12-21 22:16:10 +0000
commit5a562651299944a4c9337eee6f0e0131e739c2c9 (patch)
treef4ced2a59b82dc85352eba6419af4dbed7754e62
parenta9b75613598b7598cdd246ff29cc624b6651760a (diff)
nuke sc_enaddr here too
-rw-r--r--sys/dev/sbus/if_gem_sbus.c6
1 files 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