diff options
author | Avik Sil <aviksil@linux.vnet.ibm.com> | 2013-09-23 14:07:35 +0530 |
---|---|---|
committer | Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> | 2013-10-04 11:59:59 +0530 |
commit | 16e48887834894a2f7a73c18e6c7a5fe2b08db99 (patch) | |
tree | 1beaef81a3eaeeebfa0184f6761fd8d62cb75320 | |
parent | 5046c29b5caf777f6423eba857b7fedf38a2f0f5 (diff) | |
download | SLOF-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.c | 3 |
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; } |