All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] kernel parameters: introduce "macaddr" to set mac address
@ 2012-10-23 17:15 Paolo Pisati
  2012-10-23 17:15 ` [PATCH 1/6] macaddr kernel bootargs implementation Paolo Pisati
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: Paolo Pisati @ 2012-10-23 17:15 UTC (permalink / raw)
  To: netdev; +Cc: Giuseppe Cavallaro, Kristoffer Glembo

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-10-24  8:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-23 17:15 [PATCH 0/6] kernel parameters: introduce "macaddr" to set mac address Paolo Pisati
2012-10-23 17:15 ` [PATCH 1/6] macaddr kernel bootargs implementation Paolo Pisati
2012-10-23 17:15 ` [PATCH 2/6] stmmac: remove mac address handling as a module parameter Paolo Pisati
2012-10-23 17:15 ` [PATCH 3/6] ksz884x: " Paolo Pisati
2012-10-23 17:15 ` [PATCH 4/6] greth: " Paolo Pisati
2012-10-23 17:15 ` [PATCH 5/6] sunhme: " Paolo Pisati
2012-10-23 17:15 ` [PATCH 6/6] fec: " Paolo Pisati
2012-10-23 17:20 ` [PATCH 0/6] kernel parameters: introduce "macaddr" to set mac address David Miller
2012-10-24  8:07   ` Paolo Pisati

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.