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 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 */ 22 23 extern const struct ethtool_ops cvm_oct_ethtool_ops; 24 25 int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 26 int cvm_oct_phy_setup_device(struct net_device *dev); 27