summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2006-10-15 17:20:56 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2006-10-15 17:20:56 +0000
commitd500ff89939f692cc1d518d2e22ffab8cd29c772 (patch)
tree7a26416c139e3b9422fd7c58d6cf4a97ab0eb32b /sys/dev/pci
parentad425595dc30a55d88ff246cce5d4bfcb462359f (diff)
Fix last commit.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_gem_pci.c5
1 files changed, 3 insertions, 2 deletions
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) {