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

#include <net_driver.h>

Data Fields

int(* probe )(struct efx_nic *efx)
 
int(* init )(struct efx_nic *efx)
 
void(* fini )(struct efx_nic *efx)
 
void(* remove )(struct efx_nic *efx)
 
int(* reconfigure )(struct efx_nic *efx)
 
bool(* poll )(struct efx_nic *efx)
 
void(* get_settings )(struct efx_nic *efx, struct ethtool_cmd *ecmd)
 
int(* set_settings )(struct efx_nic *efx, struct ethtool_cmd *ecmd)
 
void(* set_npage_adv )(struct efx_nic *efx, u32)
 
int(* test_alive )(struct efx_nic *efx)
 
const char *(* test_name )(struct efx_nic *efx, unsigned int index)
 
int(* run_tests )(struct efx_nic *efx, int *results, unsigned flags)
 
int(* get_module_eeprom )(struct efx_nic *efx, struct ethtool_eeprom *ee, u8 *data)
 
int(* get_module_info )(struct efx_nic *efx, struct ethtool_modinfo *modinfo)
 

Detailed Description

struct efx_phy_operations - Efx PHY operations table : Probe PHY and initialise efx->mdio.mode_support, efx->mdio.mmds, efx->loopback_modes. : Initialise PHY : Shut down PHY : Reconfigure PHY (e.g. for new link parameters) : Update and report whether it changed. Serialised by the mac_lock. : Get ethtool settings. Serialised by the mac_lock. : Set ethtool settings. Serialised by the mac_lock. : Set abilities advertised in (Extended) Next Page (only needed where AN bit is set in mmds) : Test that PHY is 'alive' (online) : Get the name of a PHY-specific test/result : Run tests and record results as appropriate (offline). Flags are the ethtool tests flags.

Definition at line 517 of file net_driver.h.

Field Documentation

void(* fini)(struct efx_nic *efx)

Definition at line 520 of file net_driver.h.

int(* get_module_eeprom)(struct efx_nic *efx, struct ethtool_eeprom *ee, u8 *data)

Definition at line 532 of file net_driver.h.

int(* get_module_info)(struct efx_nic *efx, struct ethtool_modinfo *modinfo)

Definition at line 535 of file net_driver.h.

void(* get_settings)(struct efx_nic *efx, struct ethtool_cmd *ecmd)

Definition at line 524 of file net_driver.h.

int(* init)(struct efx_nic *efx)

Definition at line 519 of file net_driver.h.

bool(* poll)(struct efx_nic *efx)

Definition at line 523 of file net_driver.h.

int(* probe)(struct efx_nic *efx)

Definition at line 518 of file net_driver.h.

int(* reconfigure)(struct efx_nic *efx)

Definition at line 522 of file net_driver.h.

void(* remove)(struct efx_nic *efx)

Definition at line 521 of file net_driver.h.

int(* run_tests)(struct efx_nic *efx, int *results, unsigned flags)

Definition at line 531 of file net_driver.h.

void(* set_npage_adv)(struct efx_nic *efx, u32)

Definition at line 528 of file net_driver.h.

int(* set_settings)(struct efx_nic *efx, struct ethtool_cmd *ecmd)

Definition at line 526 of file net_driver.h.

int(* test_alive)(struct efx_nic *efx)

Definition at line 529 of file net_driver.h.

const char*(* test_name)(struct efx_nic *efx, unsigned int index)

Definition at line 530 of file net_driver.h.


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