Re: [PATCH] net: cadence: Enable MACB driver for ARM64

From: Jean-Christophe PLAGNIOL-VILLARD
Date: Tue Feb 24 2015 - 09:42:17 EST



> On Feb 24, 2015, at 3:45 PM, Michal Simek <michal.simek@xxxxxxxxxx> wrote:
>
> This driver is used on new Xilinx ZynqMP SoC.
>
> Signed-off-by: Michal Simek <michal.simek@xxxxxxxxxx>
> Acked-by: SÃren Brinkmann <soren.brinkmann@xxxxxxxxxx>
> ---
>
> drivers/net/ethernet/cadence/Kconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/net/ethernet/cadence/Kconfig b/drivers/net/ethernet/cadence/Kconfig
> index 321d2ad235d9..4562f90c0348 100644
> --- a/drivers/net/ethernet/cadence/Kconfig
> +++ b/drivers/net/ethernet/cadence/Kconfig
> @@ -4,7 +4,7 @@
>
> config NET_CADENCE
> bool "Cadence devices"
> - depends on HAS_IOMEM && (ARM || AVR32 || MICROBLAZE || COMPILE_TEST)
> + depends on HAS_IOMEM && (ARM || ARM64 || AVR32 || MICROBLAZE || COMPILE_TEST)

drop the arch test just put HAS_IOMEM

Best Regards,
J.
> default y
> ---help---
> If you have a network (Ethernet) card belonging to this class, say Y.
> @@ -30,7 +30,7 @@ config ARM_AT91_ETHER
>
> config MACB
> tristate "Cadence MACB/GEM support"
> - depends on HAS_DMA && (PLATFORM_AT32AP || ARCH_AT91 || ARCH_PICOXCELL || ARCH_ZYNQ || MICROBLAZE || COMPILE_TEST)
> + depends on HAS_DMA && (PLATFORM_AT32AP || ARCH_AT91 || ARCH_PICOXCELL || ARCH_ZYNQ || ARM64 || MICROBLAZE || COMPILE_TEST)
> select PHYLIB
> ---help---
> The Cadence MACB ethernet interface is found on many Atmel AT32 and
> --
> 1.8.2.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/