devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] net: macb: rework at91 specific handling
@ 2015-03-06 10:23 Boris Brezillon
  2015-03-06 10:24 ` [PATCH v2 1/3] net/macb: Update DT bindings documentation Boris Brezillon
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Boris Brezillon @ 2015-03-06 10:23 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,

This removes the #if defined(ARCH_AT91) sections to prevent any problem
when enabling ARM multi-platform support.
The at91 specific logic is now activated when the "at91sam9260-macb"
compatible string is found. 

Best Regards,

Boris

Changes since v1:
- avoid changing existing behavior as Alexandre suggested

Boris Brezillon (3):
  net/macb: Update DT bindings documentation
  ARM: at91/dt: fix macb compatible strings
  net: macb: remove #if defined(CONFIG_ARCH_AT91) sections

 Documentation/devicetree/bindings/net/macb.txt |  5 +++-
 arch/arm/boot/dts/at91sam9260.dtsi             |  2 +-
 arch/arm/boot/dts/at91sam9263.dtsi             |  2 +-
 arch/arm/boot/dts/at91sam9g45.dtsi             |  2 +-
 arch/arm/boot/dts/at91sam9x5_macb0.dtsi        |  2 +-
 arch/arm/boot/dts/at91sam9x5_macb1.dtsi        |  2 +-
 arch/arm/boot/dts/sama5d3_emac.dtsi            |  2 +-
 drivers/net/ethernet/cadence/macb.c            | 32 ++++++++++++++------------
 drivers/net/ethernet/cadence/macb.h            |  2 ++
 9 files changed, 29 insertions(+), 22 deletions(-)

-- 
1.9.1

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

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

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-06 10:23 [PATCH v2 0/3] net: macb: rework at91 specific handling Boris Brezillon
2015-03-06 10:24 ` [PATCH v2 1/3] net/macb: Update DT bindings documentation Boris Brezillon
2015-03-06 16:45   ` Nicolas Ferre
2015-03-06 10:24 ` [PATCH v2 2/3] ARM: at91/dt: fix macb compatible strings Boris Brezillon
     [not found]   ` <1425637442-8724-3-git-send-email-boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2015-03-06 16:45     ` Nicolas Ferre
2015-03-06 10:24 ` [PATCH v2 3/3] net: macb: remove #if defined(CONFIG_ARCH_AT91) sections Boris Brezillon
2015-03-06 16:45   ` Nicolas Ferre
2015-03-06 16:44 ` [PATCH v2 0/3] net: macb: rework at91 specific handling Nicolas Ferre

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