Commit | Line | Data |
---|---|---|
67620987 AK |
1 | /* |
2 | * This file is based on code from OCTEON SDK by Cavium Networks. | |
80ff0fd3 DD |
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. | |
67620987 AK |
9 | */ |
10 | ||
80ff0fd3 DD |
11 | #include <linux/module.h> |
12 | #include <linux/kernel.h> | |
13 | #include <linux/netdevice.h> | |
80ff0fd3 DD |
14 | #include <linux/etherdevice.h> |
15 | #include <linux/ip.h> | |
16 | #include <linux/string.h> | |
17 | #include <linux/ethtool.h> | |
80ff0fd3 DD |
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 | ||
0fc0b732 | 26 | extern const struct ethtool_ops cvm_oct_ethtool_ops; |
0270c625 | 27 | |
b239904d | 28 | void octeon_mdiobus_force_mod_depencency(void); |
0270c625 | 29 | |
80ff0fd3 | 30 | int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); |
f6ed1b3b | 31 | int cvm_oct_phy_setup_device(struct net_device *dev); |