Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
ethernet-mdio.h File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/netdevice.h>
#include <linux/init.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>

Go to the source code of this file.

Functions

int cvm_oct_ioctl (struct net_device *dev, struct ifreq *rq, int cmd)
 
int cvm_oct_phy_setup_device (struct net_device *dev)
 

Variables

struct ethtool_ops cvm_oct_ethtool_ops
 

Function Documentation

int cvm_oct_ioctl ( struct net_device dev,
struct ifreq rq,
int  cmd 
)

cvm_oct_ioctl - IOCTL support for PHY control : Device to change : the request : the command

Returns Zero on success

Definition at line 106 of file ethernet-mdio.c.

int cvm_oct_phy_setup_device ( struct net_device dev)

cvm_oct_phy_setup_device - setup the PHY

: Device to setup

Returns Zero on success, negative on failure

Definition at line 162 of file ethernet-mdio.c.

Variable Documentation

struct ethtool_ops cvm_oct_ethtool_ops

Definition at line 90 of file ethernet-mdio.c.