ethernet-mdio.h 890 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * This file is based on code from OCTEON SDK by Cavium Networks.
  3. *
  4. * Copyright (c) 2003-2007 Cavium Networks
  5. *
  6. * This file is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License, Version 2, as
  8. * published by the Free Software Foundation.
  9. */
  10. #include <linux/module.h>
  11. #include <linux/kernel.h>
  12. #include <linux/netdevice.h>
  13. #include <linux/etherdevice.h>
  14. #include <linux/ip.h>
  15. #include <linux/string.h>
  16. #include <linux/ethtool.h>
  17. #include <linux/seq_file.h>
  18. #include <linux/proc_fs.h>
  19. #include <net/dst.h>
  20. #ifdef CONFIG_XFRM
  21. #include <linux/xfrm.h>
  22. #include <net/xfrm.h>
  23. #endif /* CONFIG_XFRM */
  24. extern const struct ethtool_ops cvm_oct_ethtool_ops;
  25. void octeon_mdiobus_force_mod_depencency(void);
  26. int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
  27. int cvm_oct_phy_setup_device(struct net_device *dev);