aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvik Sil <aviksil@linux.vnet.ibm.com>2013-09-23 14:07:35 +0530
committerNikunj A Dadhania <nikunj@linux.vnet.ibm.com>2013-10-04 11:59:59 +0530
commit16e48887834894a2f7a73c18e6c7a5fe2b08db99 (patch)
tree1beaef81a3eaeeebfa0184f6761fd8d62cb75320
parent5046c29b5caf777f6423eba857b7fedf38a2f0f5 (diff)
downloadSLOF-16e48887834894a2f7a73c18e6c7a5fe2b08db99.zip
SLOF-16e48887834894a2f7a73c18e6c7a5fe2b08db99.tar.gz
SLOF-16e48887834894a2f7a73c18e6c7a5fe2b08db99.tar.bz2
Get MAC address for client interface module
The network drivers ported to library get interfaced with net-snk through client interface module. Hence the ci module should set the MAC address during initialization. Signed-off-by: Avik Sil <aviksil@linux.vnet.ibm.com> Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
-rw-r--r--clients/net-snk/oflib/ci_device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clients/net-snk/oflib/ci_device.c b/clients/net-snk/oflib/ci_device.c
index 0bca6f8..e490884 100644
--- a/clients/net-snk/oflib/ci_device.c
+++ b/clients/net-snk/oflib/ci_device.c
@@ -81,8 +81,9 @@ cimod_check_and_install(void)
static int
cimod_init(void)
{
+ get_mac(&ci_module.mac_addr[0]);
ci_module.running = 1;
- snk_kernel_interface.print("client-interface module initialized!\n");
+ dprintf("client-interface module initialized!\n");
return 0;
}