summaryrefslogtreecommitdiff
path: root/arch/arm/mach-at91
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2012-10-22 12:45:34 +0400
committerDavid S. Miller <davem@davemloft.net>2012-10-23 10:40:10 +0400
commit0668744f792a737872aa1904010e5fba5f95376b (patch)
treece489d58abb7a6a93e86a72dd524b3a26e7701b3 /arch/arm/mach-at91
parentf4a15e1b293b0de21bab6d9c258f162d9efff9e2 (diff)
downloadlinux-0668744f792a737872aa1904010e5fba5f95376b.tar.xz
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')
-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 = {