]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/mach-kirkwood/board-iomega_ix2_200.c
Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6
[karo-tx-linux.git] / arch / arm / mach-kirkwood / board-iomega_ix2_200.c
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>
13 #include <linux/mv643xx_eth.h>
14 #include <linux/ethtool.h>
15 #include "common.h"
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
23 static struct mv643xx_eth_platform_data iomega_ix2_200_ge01_data = {
24         .phy_addr       = MV643XX_ETH_PHY_ADDR(11),
25 };
26
27 void __init iomega_ix2_200_init(void)
28 {
29         /*
30          * Basic setup. Needs to be called early.
31          */
32         kirkwood_ge00_init(&iomega_ix2_200_ge00_data);
33         kirkwood_ge01_init(&iomega_ix2_200_ge01_data);
34 }