summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/board-csb337.c
diff options
context:
space:
mode:
authorJoachim Eastwood2012-10-22 10:45:34 +0200
committerDavid S. Miller2012-10-23 08:40:10 +0200
commit0668744f792a737872aa1904010e5fba5f95376b (patch)
treece489d58abb7a6a93e86a72dd524b3a26e7701b3 /arch/arm/mach-at91/board-csb337.c
parentnet/at91_ether: select MACB in Kconfig (diff)
downloadkernel-qcow2-linux-0668744f792a737872aa1904010e5fba5f95376b.tar.gz
kernel-qcow2-linux-0668744f792a737872aa1904010e5fba5f95376b.tar.xz
kernel-qcow2-linux-0668744f792a737872aa1904010e5fba5f95376b.zip
net/at91_ether: add pdata flag for reverse Eth addr
This will allow us to remove the last mach include from at91_ether and also make it easier to share address setup with macb. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/mach-at91/board-csb337.c')
-rw-r--r--arch/arm/mach-at91/board-csb337.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-at91/board-csb337.c b/arch/arm/mach-at91/board-csb337.c
index 3e37437a7a61..aa9b320bad59 100644
--- a/arch/arm/mach-at91/board-csb337.c
+++ b/arch/arm/mach-at91/board-csb337.c
@@ -53,6 +53,8 @@ static void __init csb337_init_early(void)
static struct macb_platform_data __initdata csb337_eth_data = {
.phy_irq_pin = AT91_PIN_PC2,
.is_rmii = 0,
+ /* The CSB337 bootloader stores the MAC the wrong-way around */
+ .rev_eth_addr = 1,
};
static struct at91_usbh_data __initdata csb337_usbh_data = {