Alan M Butler | 4f48b7f | 2012-08-20 15:29:07 +0100 | [diff] [blame] | 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> |
Alan M Butler | 4f48b7f | 2012-08-20 15:29:07 +0100 | [diff] [blame] | 13 | #include <linux/mv643xx_eth.h> |
| 14 | #include <linux/ethtool.h> |
Alan M Butler | 4f48b7f | 2012-08-20 15:29:07 +0100 | [diff] [blame] | 15 | #include "common.h" |
Alan M Butler | 4f48b7f | 2012-08-20 15:29:07 +0100 | [diff] [blame] | 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 | |
Alan M Butler | 4f48b7f | 2012-08-20 15:29:07 +0100 | [diff] [blame] | 23 | void __init iomega_ix2_200_init(void) |
| 24 | { |
| 25 | /* |
| 26 | * Basic setup. Needs to be called early. |
| 27 | */ |
Alan M Butler | 4f48b7f | 2012-08-20 15:29:07 +0100 | [diff] [blame] | 28 | kirkwood_ge01_init(&iomega_ix2_200_ge00_data); |
| 29 | } |