summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_oce.c
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2012-10-29 18:17:40 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2012-10-29 18:17:40 +0000
commit4816cdd619ff485d8a4b102aad4f40afa2f0b1ea (patch)
tree87ae162df693d2ed5c420115ea9301f585732e9f /sys/dev/pci/if_oce.c
parent28daa884f67e95188a814f1592f95f9b7627f0a1 (diff)
rearrange the function layout a bit
Diffstat (limited to 'sys/dev/pci/if_oce.c')
-rw-r--r--sys/dev/pci/if_oce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_oce.c b/sys/dev/pci/if_oce.c
index 08a942c0031..1603b3abc39 100644
--- a/sys/dev/pci/if_oce.c
+++ b/sys/dev/pci/if_oce.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_oce.c,v 1.31 2012/10/29 18:14:28 mikeb Exp $ */
+/* $OpenBSD: if_oce.c,v 1.32 2012/10/29 18:17:39 mikeb Exp $ */
/*
* Copyright (c) 2012 Mike Belopuhov
@@ -254,7 +254,7 @@ oce_attach(struct device *parent, struct device *self, void *aux)
} else
sc->be3_native = 0;
- if (oce_read_macaddr(sc, sc->macaddr)) {
+ if (oce_macaddr_get(sc, sc->macaddr)) {
printf(": failed to fetch MAC address\n");
goto fail_1;
}