
10 May
2012
10 May
'12
7:32 p.m.
This patchset is a split-off from my patch series "Kirkwood: add lschlv2 and lsxhl board support".
Changes: v4: - typo fixes (thanks Mike) - seed all 46bits of the generated ethernet address (suggested by Mike) v3, v2: [contained only lsxhl board changes]
Michael Walle (3): lib: add rand() function net: add helper to generate random mac address net: add eth_setenv_enetaddr_by_index()
include/common.h | 4 ++++ include/net.h | 27 +++++++++++++++++++++++++++ lib/Makefile | 1 + lib/rand.c | 43 +++++++++++++++++++++++++++++++++++++++++++ net/eth.c | 28 ++++++++++++++++++++++++++++ 5 files changed, 103 insertions(+), 0 deletions(-) create mode 100644 lib/rand.c
--
1.7.2.5