summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2006-12-21 21:43:45 +0000
committerJason Wright <jason@cvs.openbsd.org>2006-12-21 21:43:45 +0000
commit9ce6c93830a7571aeac737ea707a917c6ea5d80a (patch)
treec4157c91588afddd6cd9dde0272f689e6233172e /sys
parentf9f7ec707ffe7de9925e43d353e926006f955ef4 (diff)
use the arpcom copy of the ethernet address so that updates to lladdr can work
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/hme.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/hme.c b/sys/dev/ic/hme.c
index 9da71267971..d6d8d68d5d8 100644
--- a/sys/dev/ic/hme.c
+++ b/sys/dev/ic/hme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hme.c,v 1.43 2006/06/25 21:53:44 brad Exp $ */
+/* $OpenBSD: hme.c,v 1.44 2006/12/21 21:43:44 jason Exp $ */
/* $NetBSD: hme.c,v 1.21 2001/07/07 15:59:37 thorpej Exp $ */
/*-
@@ -519,7 +519,7 @@ hme_init(sc)
bus_space_write_4(t, mac, HME_MACI_TXSIZE, ETHER_MAX_LEN + ETHER_VLAN_ENCAP_LEN);
/* Load station MAC address */
- ea = sc->sc_enaddr;
+ ea = sc->sc_arpcom.ac_enaddr;
bus_space_write_4(t, mac, HME_MACI_MACADDR0, (ea[0] << 8) | ea[1]);
bus_space_write_4(t, mac, HME_MACI_MACADDR1, (ea[2] << 8) | ea[3]);
bus_space_write_4(t, mac, HME_MACI_MACADDR2, (ea[4] << 8) | ea[5]);