dm thin metadata: fix __udivdi3 undefined on 32-bit
[linux/fpc-iii.git] / drivers / staging / octeon / ethernet-mdio.h
blob5ed8483fc24d178215fd66d72c846987fc268005
1 /*
2 * This file is based on code from OCTEON SDK by Cavium Networks.
4 * Copyright (c) 2003-2007 Cavium Networks
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 */
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 */
26 extern const struct ethtool_ops cvm_oct_ethtool_ops;
28 void octeon_mdiobus_force_mod_depencency(void);
30 int cvm_oct_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
31 int cvm_oct_phy_setup_device(struct net_device *dev);