From d500ff89939f692cc1d518d2e22ffab8cd29c772 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 15 Oct 2006 17:20:56 +0000 Subject: Fix last commit. --- sys/dev/pci/if_gem_pci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/pci/if_gem_pci.c b/sys/dev/pci/if_gem_pci.c index d331e63a50f..1580e9a0a1f 100644 --- a/sys/dev/pci/if_gem_pci.c +++ b/sys/dev/pci/if_gem_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_gem_pci.c,v 1.23 2006/10/15 14:45:03 kettenis Exp $ */ +/* $OpenBSD: if_gem_pci.c,v 1.24 2006/10/15 17:20:55 kettenis Exp $ */ /* $NetBSD: if_gem_pci.c,v 1.1 2001/09/16 00:11:42 eeh Exp $ */ /* @@ -267,7 +267,8 @@ gem_attach_pci(parent, self, aux) if (OF_getprop(PCITAG_NODE(pa->pa_tag), "local-mac-address", sc->sc_enaddr, ETHER_ADDR_LEN) <= 0) myetheraddr(sc->sc_enaddr); - gotenaddr + gotenaddr = 1; + } #endif #ifdef __powerpc__ if (!gotenaddr) { -- cgit v1.2.3