ethernet-mdio.h 740 B

1234567891011121314151617181920212223242526272829
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * This file is based on code from OCTEON SDK by Cavium Networks.
  4. *
  5. * Copyright (c) 2003-2007 Cavium Networks
  6. */
  7. #include <linux/module.h>
  8. #include <linux/kernel.h>
  9. #include <linux/netdevice.h>
  10. #include <linux/etherdevice.h>
  11. #include <linux/ip.h>
  12. #include <linux/string.h>
  13. #include <linux/ethtool.h>
  14. #include <linux/seq_file.h>
  15. #include <linux/proc_fs.h>
  16. #include <net/dst.h>
  17. #ifdef CONFIG_XFRM
  18. #include <linux/xfrm.h>
  19. #include <net/xfrm.h>
  20. #endif /* CONFIG_XFRM */
  21. extern const struct ethtool_ops cvm_oct_ethtool_ops;
  22. void octeon_mdiobus_force_mod_depencency(void);
  23. int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
  24. int cvm_oct_phy_setup_device(struct net_device *dev);