Linux Kernel
3.7.1
|
#include <mdio.h>
Data Fields | |
int | prtad |
u32 | mmds |
unsigned | mode_support |
struct net_device * | dev |
int(* | mdio_read )(struct net_device *dev, int prtad, int devad, u16 addr) |
int(* | mdio_write )(struct net_device *dev, int prtad, int devad, u16 addr, u16 val) |
struct mdio_if_info - Ethernet controller MDIO interface : PRTAD of the PHY (MDIO_PRTAD_NONE if not present/unknown) : Mask of MMDs expected to be present in the PHY. This must be non-zero unless = MDIO_PRTAD_NONE. : MDIO modes supported. If MDIO_SUPPORTS_C22 is set then MII register access will be passed through with = MDIO_DEVAD_NONE. If MDIO_EMULATE_C22 is set then access to commonly used clause 22 registers will be translated into clause 45 registers. : Net device structure : Register read function; returns value or negative error code : Register write function; returns 0 or negative error code
struct net_device* dev |