[PATCH 0/4] net: ethernet address helpers for board code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Boards with switches that do MAC address assignment in barebox may want
to know which addresses were assigned and which weren't, so they can
pass through the rest to Linux userspace to be used e.g. for the bridge
ethernet address.

This adds some helpers to facilitate this. The board code making use of
this will follow seperately.

Ahmad Fatoum (4):
  net: add ethaddr sequence handling
  net: factor out eth_of_get_fixup_node
  net: export list of registered ethernet addresses
  net: implement ethaddr_string_cmp()

 include/net.h | 35 +++++++++++++++++++++++++++++++++++
 net/eth.c     | 40 +++++++++++++++++++++-------------------
 net/lib.c     | 17 +++++++++++++++++
 3 files changed, 73 insertions(+), 19 deletions(-)

-- 
2.39.5





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux