Thread (9 messages) 9 messages, 2 authors, 2012-10-24

[PATCH 0/6] kernel parameters: introduce "macaddr" to set mac address

flat view
STALE5107d

From: Paolo Pisati <hidden>
Date: 2012-10-23 17:15:46

In the past drivers grew mechanism to set their own mac address at boot time
via (usually) a module parameter. Unfortunately every single driver had its
own naming/implementation and it soon became clear that a generic
mechanism was needed.

Introduce "macaddr=", a new kernel parameter to set MAC address using
netdevice ops (and hence being hardware independent).

After 0001 is committed, we can garbage collect some custom driver code
that does the same functionality (0002-0006).

I couldn't find the maintainers of ksz884x, sunhme and fec, so pleace cc:
them if you know who they are.

Paolo Pisati (6):
  macaddr kernel bootargs implementation
  stmmac: remove mac address handling as a module parameter
  ksz884x: remove mac address handling as a module parameter
  greth: remove mac address handling as a module parameter
  sunhme: remove mac address handling as a module parameter
  fec: remove mac address handling as a module parameter

 Documentation/kernel-parameters.txt               |    4 +
 drivers/net/ethernet/aeroflex/greth.c             |   36 +++-----
 drivers/net/ethernet/freescale/fec.c              |   27 ++----
 drivers/net/ethernet/micrel/ksz884x.c             |   57 ------------
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c |   13 ---
 drivers/net/ethernet/sun/sunhme.c                 |   69 ++++----------
 net/core/dev.c                                    |  101 +++++++++++++++++++++
 7 files changed, 140 insertions(+), 167 deletions(-)

-- 
1.7.9.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help