From f5f809dec607115909de52a785667430f9ca3f88 Mon Sep 17 00:00:00 2001 From: Niklas Hallqvist Date: Wed, 9 Jul 1997 18:22:40 +0000 Subject: Do not lose our ethernet address --- sys/dev/pci/if_fxp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/dev/pci/if_fxp.c b/sys/dev/pci/if_fxp.c index 911af0e3f59..32f7b733d0b 100644 --- a/sys/dev/pci/if_fxp.c +++ b/sys/dev/pci/if_fxp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_fxp.c,v 1.5 1997/07/06 16:06:47 niklas Exp $ */ +/* $OpenBSD: if_fxp.c,v 1.6 1997/07/09 18:22:39 niklas Exp $ */ /* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */ /* @@ -383,6 +383,7 @@ fxp_attach(parent, self, aux) #ifdef __OpenBSD__ ifp = &sc->arpcom.ac_if; + bcopy(enaddr, sc->arpcom.ac_enaddr, sizeof(enaddr)); #else ifp = &sc->sc_ethercom.ec_if; #endif -- cgit v1.2.3