summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_wb.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_wb.c')
-rw-r--r--sys/pci/if_wb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_wb.c b/sys/pci/if_wb.c
index 6516667..ae097de 100644
--- a/sys/pci/if_wb.c
+++ b/sys/pci/if_wb.c
@@ -1598,7 +1598,7 @@ wb_init_locked(sc)
/* Init our MAC address */
for (i = 0; i < ETHER_ADDR_LEN; i++) {
- CSR_WRITE_1(sc, WB_NODE0 + i, IFP2ENADDR(sc->wb_ifp)[i]);
+ CSR_WRITE_1(sc, WB_NODE0 + i, IF_LLADDR(sc->wb_ifp)[i]);
}
/* Init circular RX list. */
OpenPOWER on IntegriCloud