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 11#include <linux/module.h> 12#include <linux/kernel.h> 13#include <linux/netdevice.h> 14#include <linux/etherdevice.h> 15#include <linux/ip.h> 16#include <linux/string.h> 17#include <linux/ethtool.h> 18#include <linux/seq_file.h> 19#include <linux/proc_fs.h> 20#include <net/dst.h> 21#ifdef CONFIG_XFRM 22#include <linux/xfrm.h> 23#include <net/xfrm.h> 24#endif /* CONFIG_XFRM */ 25 26extern const struct ethtool_ops cvm_oct_ethtool_ops; 27 28void octeon_mdiobus_force_mod_depencency(void); 29 30int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 31int cvm_oct_phy_setup_device(struct net_device *dev); 32