summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-08-29 05:33:11 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-08-29 05:33:11 +0000
commit6f3175afa858bcf9a71aab3d93a369ea346e4bba (patch)
treebcfe19c83d6dae6b184be7b4eaed08abf90e8d38
parent0675338125032405468af17537660b548ec0fca5 (diff)
initialize ac_enaddr from sc_enaddr
-rw-r--r--sys/dev/ic/hme.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ic/hme.c b/sys/dev/ic/hme.c
index aac155203cb..ece01db332d 100644
--- a/sys/dev/ic/hme.c
+++ b/sys/dev/ic/hme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hme.c,v 1.3 2001/08/23 05:27:01 jason Exp $ */
+/* $OpenBSD: hme.c,v 1.4 2001/08/29 05:33:10 jason Exp $ */
/* $NetBSD: hme.c,v 1.21 2001/07/07 15:59:37 thorpej Exp $ */
/*-
@@ -163,6 +163,8 @@ hme_config(sc)
*
*/
+ bcopy(sc->sc_enaddr, sc->sc_arpcom.ac_enaddr, ETHER_ADDR_LEN);
+
/* Make sure the chip is stopped. */
hme_stop(sc);