Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
dsa_switch_driver Struct Reference

#include <dsa.h>

Data Fields

struct list_head list
 
__be16 tag_protocol
 
int priv_size
 
char *(* probe )(struct mii_bus *bus, int sw_addr)
 
int(* setup )(struct dsa_switch *ds)
 
int(* set_addr )(struct dsa_switch *ds, u8 *addr)
 
int(* phy_read )(struct dsa_switch *ds, int port, int regnum)
 
int(* phy_write )(struct dsa_switch *ds, int port, int regnum, u16 val)
 
void(* poll_link )(struct dsa_switch *ds)
 
void(* get_strings )(struct dsa_switch *ds, int port, uint8_t *data)
 
void(* get_ethtool_stats )(struct dsa_switch *ds, int port, uint64_t *data)
 
int(* get_sset_count )(struct dsa_switch *ds)
 

Detailed Description

Definition at line 147 of file dsa.h.

Field Documentation

void(* get_ethtool_stats)(struct dsa_switch *ds, int port, uint64_t *data)

Definition at line 176 of file dsa.h.

int(* get_sset_count)(struct dsa_switch *ds)

Definition at line 178 of file dsa.h.

void(* get_strings)(struct dsa_switch *ds, int port, uint8_t *data)

Definition at line 175 of file dsa.h.

Definition at line 148 of file dsa.h.

int(* phy_read)(struct dsa_switch *ds, int port, int regnum)

Definition at line 163 of file dsa.h.

int(* phy_write)(struct dsa_switch *ds, int port, int regnum, u16 val)

Definition at line 164 of file dsa.h.

void(* poll_link)(struct dsa_switch *ds)

Definition at line 170 of file dsa.h.

int priv_size

Definition at line 151 of file dsa.h.

char*(* probe)(struct mii_bus *bus, int sw_addr)

Definition at line 156 of file dsa.h.

int(* set_addr)(struct dsa_switch *ds, u8 *addr)

Definition at line 158 of file dsa.h.

Definition at line 157 of file dsa.h.

__be16 tag_protocol

Definition at line 150 of file dsa.h.


The documentation for this struct was generated from the following file: