summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>2001-08-29 05:33:10 +0000
committerjason <jason@openbsd.org>2001-08-29 05:33:10 +0000
commit7161a224b0a98af3c4d191ba8a7a18cdf7bee599 (patch)
tree69eed5b61237f92800ccb448dfcfb784cae1478b
parent- modify probe routine to check the 'compatible' property for matching and (diff)
downloadwireguard-openbsd-7161a224b0a98af3c4d191ba8a7a18cdf7bee599.tar.xz
wireguard-openbsd-7161a224b0a98af3c4d191ba8a7a18cdf7bee599.zip
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);