board-iomega_ix2_200.c 901 B

12345678910111213141516171819202122232425262728293031323334
  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. #include <linux/kernel.h>
  11. #include <linux/init.h>
  12. #include <linux/mv643xx_eth.h>
  13. #include <linux/ethtool.h>
  14. #include "common.h"
  15. static struct mv643xx_eth_platform_data iomega_ix2_200_ge00_data = {
  16. .phy_addr = MV643XX_ETH_PHY_NONE,
  17. .speed = SPEED_1000,
  18. .duplex = DUPLEX_FULL,
  19. };
  20. static struct mv643xx_eth_platform_data iomega_ix2_200_ge01_data = {
  21. .phy_addr = MV643XX_ETH_PHY_ADDR(11),
  22. };
  23. void __init iomega_ix2_200_init(void)
  24. {
  25. /*
  26. * Basic setup. Needs to be called early.
  27. */
  28. kirkwood_ge00_init(&iomega_ix2_200_ge00_data);
  29. kirkwood_ge01_init(&iomega_ix2_200_ge01_data);
  30. }