netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/8] at91_ether share stats/address setting with macb
@ 2012-11-07 18:14 Joachim Eastwood
  2012-11-07 18:14 ` [PATCH 1/8] net/macb: check all address registers sets Joachim Eastwood
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: Joachim Eastwood @ 2012-11-07 18:14 UTC (permalink / raw)
  To: nicolas.ferre, davem; +Cc: plagnioj, netdev, Joachim Eastwood

Patch 1-2 add support for some special at91_ether features to macb address setting code. This will allow us to have one address setting function that can be shared.

Patch 4 removes the at91_ether address set/get code and make use of the exported functions for macb.

Patch 5 remove the at91_ether statistics functions and replace them with equivalent function from macb.

Patch 6 removes an unused member from the at91_ether/macb private struct.

Patch 7 is a clean up of the print outs from at91_ether.

Patch 8 is a misc clean up patch which fixes some comment and style issues.


Most of the code left in at91_ether now deal with configuration and DMA rx/tx which is hard to share with macb since this is specific for the IP block in AT91RM9200.

Next I'll work on adding PHY GPIO interrupt to the macb driver. at91_ether had this functionality before it began using mdio functions from macb.


Joachim Eastwood (8):
  net/macb: check all address registers sets
  net/macb: support reversed hw addr
  net/macb: export macb_set_hwaddr and macb_get_hwaddr
  net/at91_ether: use macb functions for get/set hwaddr
  net/at91_ether: use stat function from macb
  net/at91_ether: drop board_data private struct member
  net/at91_ether: clean up print outs
  net/at91_ether: fix comment and style issues

 drivers/net/ethernet/cadence/at91_ether.c | 289 +++++++-----------------------
 drivers/net/ethernet/cadence/macb.c       |  54 ++++--
 drivers/net/ethernet/cadence/macb.h       |  10 +-
 3 files changed, 109 insertions(+), 244 deletions(-)

-- 
1.8.0

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

end of thread, other threads:[~2012-11-07 22:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-07 18:14 [PATCH 0/8] at91_ether share stats/address setting with macb Joachim Eastwood
2012-11-07 18:14 ` [PATCH 1/8] net/macb: check all address registers sets Joachim Eastwood
2012-11-07 18:14 ` [PATCH 2/8] net/macb: support reversed hw addr Joachim Eastwood
2012-11-07 18:14 ` [PATCH 3/8] net/macb: export macb_set_hwaddr and macb_get_hwaddr Joachim Eastwood
2012-11-07 18:14 ` [PATCH 4/8] net/at91_ether: use macb functions for get/set hwaddr Joachim Eastwood
2012-11-07 18:14 ` [PATCH 5/8] net/at91_ether: use stat function from macb Joachim Eastwood
2012-11-07 18:14 ` [PATCH 6/8] net/at91_ether: drop board_data private struct member Joachim Eastwood
2012-11-07 18:14 ` [PATCH 7/8] net/at91_ether: clean up print outs Joachim Eastwood
2012-11-07 18:14 ` [PATCH 8/8] net/at91_ether: fix comment and style issues Joachim Eastwood
2012-11-07 22:45 ` [PATCH 0/8] at91_ether share stats/address setting with macb David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).