From 6f3175afa858bcf9a71aab3d93a369ea346e4bba Mon Sep 17 00:00:00 2001 From: Jason Wright Date: Wed, 29 Aug 2001 05:33:11 +0000 Subject: initialize ac_enaddr from sc_enaddr --- sys/dev/ic/hme.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3