Patchwork [1/2] net: ethernet: xilinx: Do not use axienet on PPC

login
register
mail settings
Submitter Michal Simek
Date Jan. 10, 2013, 4:58 p.m.
Message ID <1357837123-18996-1-git-send-email-michal.simek@xilinx.com>
Download mbox | patch
Permalink /patch/211094/
State Accepted
Delegated to: David Miller
Headers show

Comments

Michal Simek - Jan. 10, 2013, 4:58 p.m.
Axi ethernet can't be used on PPC because it is
little endian IP and PPC is big endian.
This system can't be designed.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---
 drivers/net/ethernet/xilinx/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
David Miller - Jan. 10, 2013, 10:38 p.m.
From: Michal Simek <michal.simek@xilinx.com>
Date: Thu, 10 Jan 2013 17:58:42 +0100

> Axi ethernet can't be used on PPC because it is
> little endian IP and PPC is big endian.
> This system can't be designed.
> 
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>

Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/drivers/net/ethernet/xilinx/Kconfig b/drivers/net/ethernet/xilinx/Kconfig
index 5778a4a..122d60c 100644
--- a/drivers/net/ethernet/xilinx/Kconfig
+++ b/drivers/net/ethernet/xilinx/Kconfig
@@ -27,7 +27,7 @@  config XILINX_EMACLITE
 
 config XILINX_AXI_EMAC
 	tristate "Xilinx 10/100/1000 AXI Ethernet support"
-	depends on (PPC32 || MICROBLAZE)
+	depends on MICROBLAZE
 	select PHYLIB
 	---help---
 	  This driver supports the 10/100/1000 Ethernet from Xilinx for the