summaryrefslogtreecommitdiffstats
path: root/src/drivers/net
diff options
context:
space:
mode:
authorMichael Brown2013-08-30 20:05:03 +0200
committerMichael Brown2013-09-03 02:24:15 +0200
commit0b65c8cad6ed1b03ce1870856b3496c7be1f8bf1 (patch)
tree7735c595a01cf81212490caa99e7ad7cfffb81f5 /src/drivers/net
parent[netdevice] Add concept of a network device index (diff)
downloadipxe-0b65c8cad6ed1b03ce1870856b3496c7be1f8bf1.tar.gz
ipxe-0b65c8cad6ed1b03ce1870856b3496c7be1f8bf1.tar.xz
ipxe-0b65c8cad6ed1b03ce1870856b3496c7be1f8bf1.zip
[netdevice] Add method for generating EUI-64 address from link-layer address
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net')
-rw-r--r--src/drivers/net/ipoib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/net/ipoib.c b/src/drivers/net/ipoib.c
index c1b8cad9a..1b5391776 100644
--- a/src/drivers/net/ipoib.c
+++ b/src/drivers/net/ipoib.c
@@ -265,6 +265,7 @@ struct ll_protocol ipoib_protocol __ll_protocol = {
.ntoa = eth_ntoa,
.mc_hash = eth_mc_hash,
.eth_addr = eth_eth_addr,
+ .eui64 = eth_eui64,
.flags = LL_NAME_ONLY,
};