Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
ethernet-mdio.c File Reference
#include <linux/kernel.h>
#include <linux/ethtool.h>
#include <linux/phy.h>
#include <linux/ratelimit.h>
#include <linux/of_mdio.h>
#include <net/dst.h>
#include <asm/octeon/octeon.h>
#include "ethernet-defines.h"
#include "octeon-ethernet.h"
#include "ethernet-mdio.h"
#include "ethernet-util.h"
#include <asm/octeon/cvmx-helper-board.h>
#include <asm/octeon/cvmx-smix-defs.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
Initial value:
= {
.get_drvinfo = cvm_oct_get_drvinfo,
.get_settings = cvm_oct_get_settings,
.set_settings = cvm_oct_set_settings,
.nway_reset = cvm_oct_nway_reset,
.get_link = ethtool_op_get_link,
}

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