Commit | Line | Data |
---|---|---|
4f48b7fc AB |
1 | /* |
2 | * arch/arm/mach-kirkwood/board-iomega_ix2_200.c | |
3 | * | |
4 | * Iomega StorCenter ix2-200 | |
5 | * | |
6 | * This file is licensed under the terms of the GNU General Public | |
7 | * License version 2. This program is licensed "as is" without any | |
8 | * warranty of any kind, whether express or implied. | |
9 | */ | |
10 | ||
11 | #include <linux/kernel.h> | |
12 | #include <linux/init.h> | |
4f48b7fc AB |
13 | #include <linux/mv643xx_eth.h> |
14 | #include <linux/ethtool.h> | |
4f48b7fc | 15 | #include "common.h" |
4f48b7fc AB |
16 | |
17 | static struct mv643xx_eth_platform_data iomega_ix2_200_ge00_data = { | |
18 | .phy_addr = MV643XX_ETH_PHY_NONE, | |
19 | .speed = SPEED_1000, | |
20 | .duplex = DUPLEX_FULL, | |
21 | }; | |
22 | ||
aaaf165b NR |
23 | static struct mv643xx_eth_platform_data iomega_ix2_200_ge01_data = { |
24 | .phy_addr = MV643XX_ETH_PHY_ADDR(11), | |
25 | }; | |
26 | ||
4f48b7fc AB |
27 | void __init iomega_ix2_200_init(void) |
28 | { | |
29 | /* | |
30 | * Basic setup. Needs to be called early. | |
31 | */ | |
aaaf165b NR |
32 | kirkwood_ge00_init(&iomega_ix2_200_ge00_data); |
33 | kirkwood_ge01_init(&iomega_ix2_200_ge01_data); | |
4f48b7fc | 34 | } |