2015-04-04 21:51:21 +02:00
|
|
|
/*
|
|
|
|
* This file is based on code from OCTEON SDK by Cavium Networks.
|
2009-05-06 02:35:21 +02:00
|
|
|
*
|
|
|
|
* Copyright (c) 2003-2007 Cavium Networks
|
|
|
|
*
|
|
|
|
* This file is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License, Version 2, as
|
|
|
|
* published by the Free Software Foundation.
|
2015-04-04 21:51:21 +02:00
|
|
|
*/
|
|
|
|
|
2009-05-06 02:35:21 +02:00
|
|
|
#include <linux/module.h>
|
|
|
|
#include <linux/kernel.h>
|
|
|
|
#include <linux/netdevice.h>
|
|
|
|
#include <linux/etherdevice.h>
|
|
|
|
#include <linux/ip.h>
|
|
|
|
#include <linux/string.h>
|
|
|
|
#include <linux/ethtool.h>
|
|
|
|
#include <linux/seq_file.h>
|
|
|
|
#include <linux/proc_fs.h>
|
|
|
|
#include <net/dst.h>
|
|
|
|
#ifdef CONFIG_XFRM
|
|
|
|
#include <linux/xfrm.h>
|
|
|
|
#include <net/xfrm.h>
|
|
|
|
#endif /* CONFIG_XFRM */
|
|
|
|
|
2009-09-02 10:03:33 +02:00
|
|
|
extern const struct ethtool_ops cvm_oct_ethtool_ops;
|
2015-03-26 01:11:44 +01:00
|
|
|
|
2015-08-10 23:51:26 +02:00
|
|
|
void octeon_mdiobus_force_mod_depencency(void);
|
2015-03-26 01:11:44 +01:00
|
|
|
|
2009-05-06 02:35:21 +02:00
|
|
|
int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
|
2009-10-14 21:04:42 +02:00
|
|
|
int cvm_oct_phy_setup_device(struct net_device *dev);
|