![Joe Perches](/assets/img/avatar_default.png)
Using 'extern' is not necessary for function prototypes. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: David Daney <david.daney@cavium.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
32 lines
890 B
C
32 lines
890 B
C
/*
|
|
* This file is based on code from OCTEON SDK by Cavium Networks.
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#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 */
|
|
|
|
extern const struct ethtool_ops cvm_oct_ethtool_ops;
|
|
|
|
void octeon_mdiobus_force_mod_depencency(void);
|
|
|
|
int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
|
|
int cvm_oct_phy_setup_device(struct net_device *dev);
|