netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] net/macb: merge at91_ether driver into macb driver
@ 2015-03-06  6:13 Boris Brezillon
  2015-03-06  6:13 ` [PATCH v2 1/2] net/macb: unify clock management Boris Brezillon
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Boris Brezillon @ 2015-03-06  6:13 UTC (permalink / raw)
  To: David S. Miller, netdev
  Cc: Nicolas Ferre, Jean-Christophe Plagniol-Villard,
	Alexandre Belloni, Rob Herring, Pawel Moll, Mark Rutland,
	Ian Campbell, Kumar Gala, devicetree, linux-kernel,
	linux-arm-kernel, Boris Brezillon

Hello,

The rm9200 boards use the dedicated at91_ether driver instead of the
regular macb driver.

Both the macb and at91_ether drivers can be compiled as separated
modules.
Since the at91_ether driver uses code from the macb driver, at91_ether.ko
depends on macb.ko.

However the macb.ko module always fails to load on rm9200 boards: the
macb_probe() function expects a hclk clock which doesn't exist on rm9200.
Then the at91_ether.ko can't be loaded in turn due to unresolved
dependencies.

This series of patches fix this issue by merging at91_ether into macb.

Best Rrgards,

Boris

Changes since v1:
- rework probe functions to share common probing logic

Cyrille Pitchen (2):
  net/macb: unify clock management
  net/macb: merge at91_ether driver into macb driver

 drivers/net/ethernet/cadence/Kconfig      |   8 -
 drivers/net/ethernet/cadence/Makefile     |   1 -
 drivers/net/ethernet/cadence/at91_ether.c | 481 ----------------------
 drivers/net/ethernet/cadence/macb.c       | 662 ++++++++++++++++++++++--------
 drivers/net/ethernet/cadence/macb.h       |  10 +-
 5 files changed, 494 insertions(+), 668 deletions(-)
 delete mode 100644 drivers/net/ethernet/cadence/at91_ether.c

-- 
1.9.1

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

end of thread, other threads:[~2015-03-06 20:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-06  6:13 [PATCH v2 0/2] net/macb: merge at91_ether driver into macb driver Boris Brezillon
2015-03-06  6:13 ` [PATCH v2 1/2] net/macb: unify clock management Boris Brezillon
     [not found] ` <1425622439-2372-1-git-send-email-boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2015-03-06  6:13   ` [PATCH v2 2/2] net/macb: merge at91_ether driver into macb driver Boris Brezillon
2015-03-06  8:17     ` Alexandre Belloni
2015-03-06 20:16   ` [PATCH v2 0/2] " David Miller
2015-03-06  8:11 ` [PATCH v2 1/2] net/macb: unify clock management Boris Brezillon

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).