diff options
Diffstat (limited to 'arch/avr32/boards/atstk1000/atstk1002.c')
-rw-r--r-- | arch/avr32/boards/atstk1000/atstk1002.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/avr32/boards/atstk1000/atstk1002.c b/arch/avr32/boards/atstk1000/atstk1002.c index d88ac1110101..cb93eabb9c6c 100644 --- a/arch/avr32/boards/atstk1000/atstk1002.c +++ b/arch/avr32/boards/atstk1000/atstk1002.c | |||
@@ -33,7 +33,19 @@ struct eth_addr { | |||
33 | }; | 33 | }; |
34 | 34 | ||
35 | static struct eth_addr __initdata hw_addr[2]; | 35 | static struct eth_addr __initdata hw_addr[2]; |
36 | static struct eth_platform_data __initdata eth_data[2]; | 36 | static struct eth_platform_data __initdata eth_data[2] = { |
37 | { | ||
38 | /* | ||
39 | * The MDIO pullups on STK1000 are a bit too weak for | ||
40 | * the autodetection to work properly, so we have to | ||
41 | * mask out everything but the correct address. | ||
42 | */ | ||
43 | .phy_mask = ~(1U << 16), | ||
44 | }, | ||
45 | { | ||
46 | .phy_mask = ~(1U << 17), | ||
47 | }, | ||
48 | }; | ||
37 | 49 | ||
38 | #ifndef CONFIG_BOARD_ATSTK1002_SW1_CUSTOM | 50 | #ifndef CONFIG_BOARD_ATSTK1002_SW1_CUSTOM |
39 | static struct spi_board_info spi0_board_info[] __initdata = { | 51 | static struct spi_board_info spi0_board_info[] __initdata = { |