iPXE
Data Fields
mii_if_info Struct Reference

#include <mii.h>

Data Fields

int phy_id
 
int advertising
 
int phy_id_mask
 
int reg_num_mask
 
unsigned int full_duplex: 1
 
unsigned int force_media: 1
 
unsigned int supports_gmii: 1
 
struct net_devicedev
 
int(* mdio_read )(struct net_device *dev, int phy_id, int location)
 
void(* mdio_write )(struct net_device *dev, int phy_id, int location, int val)
 

Detailed Description

Definition at line 144 of file mii.h.

Field Documentation

◆ phy_id

int mii_if_info::phy_id

◆ advertising

int mii_if_info::advertising

Definition at line 146 of file mii.h.

Referenced by check_duplex(), and sundance_probe().

◆ phy_id_mask

int mii_if_info::phy_id_mask

Definition at line 147 of file mii.h.

Referenced by atl1e_probe(), and sis190_mii_probe().

◆ reg_num_mask

int mii_if_info::reg_num_mask

Definition at line 148 of file mii.h.

Referenced by atl1e_probe(), and sis190_mii_probe().

◆ full_duplex

unsigned int mii_if_info::full_duplex

Definition at line 150 of file mii.h.

Referenced by check_duplex(), set_rx_mode(), and sundance_probe().

◆ force_media

unsigned int mii_if_info::force_media

Definition at line 151 of file mii.h.

◆ supports_gmii

unsigned int mii_if_info::supports_gmii

Definition at line 152 of file mii.h.

Referenced by jme_probe().

◆ dev

struct net_device* mii_if_info::dev

◆ mdio_read

int(* mii_if_info::mdio_read) (struct net_device *dev, int phy_id, int location)

Definition at line 155 of file mii.h.

Referenced by atl1e_probe(), jme_probe(), and sis190_mii_probe().

◆ mdio_write

void(* mii_if_info::mdio_write) (struct net_device *dev, int phy_id, int location, int val)

Definition at line 156 of file mii.h.

Referenced by atl1e_probe(), jme_probe(), and sis190_mii_probe().


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