[PATCH 0/3] net: macb: rework at91 specific handling

Boris Brezillon boris.brezillon at free-electrons.com
Thu Mar 5 08:27:19 PST 2015


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

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            | 33 ++++++++++++++------------
 drivers/net/ethernet/cadence/macb.h            |  2 ++
 9 files changed, 30 insertions(+), 22 deletions(-)

-- 
1.9.1




More information about the linux-arm-kernel mailing list