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