DRV_ETHPHY_OBJECT Structure

C

typedef struct { 
    DRV_ETHPHY_VENDOR_MII_CONFIGURE miiConfigure; 
    DRV_ETHPHY_VENDOR_MDIX_CONFIGURE mdixConfigure; 
    DRV_ETHPHY_VENDOR_SMI_CLOCK_GET smiClockGet; 
    DRV_ETHPHY_VENDOR_WOL_CONFIGURE wolConfigure; 
} DRV_ETHPHY_OBJECT; 

Members

MembersDescription
DRV_ETHPHY_VENDOR_MII_CONFIGURE miiConfigure;PHY driver function to configure the operation mode: MII/RMII
DRV_ETHPHY_VENDOR_MDIX_CONFIGURE mdixConfigure;PHY driver function to configure the MDIX mode
DRV_ETHPHY_VENDOR_SMI_CLOCK_GET smiClockGet;PHY driver function to get the SMI clock rate
DRV_ETHPHY_VENDOR_WOL_CONFIGURE wolConfigure;PHY driver function to configure the WOL functionality

Description

Ethernet PHY Driver Vendor Object This data structure identifies the required interface of the Ethernet PHY driver. Any PHY vendor driver has to export this interface.

Remarks

The PHY driver consists of 2 modules:

  • the main/base PHY driver which uses standard IEEE PHY registers

  • the vendor specific functionality

This object provides vendor specific functionality. Every PHY driver has to expose this vendor specific functionality as part of its interface.