Go to the source code of this file.
generic_mii_ioctl - main MII ioctl interface : the MII interface : MII ioctl data structure : MII ioctl command : pointer to status if there was no ioctl error
Returns 0 on success, negative on error.
Definition at line 391 of file mii.c.
mii_check_gmii_support - check if the MII supports Gb interfaces : the MII interface
Definition at line 233 of file mii.c.
mii_check_link - check MII link status : MII interface
If the link status changed (previous != current), call netif_carrier_on() if current link status is Up or call netif_carrier_off() if current link status is Down.
Definition at line 293 of file mii.c.
mii_check_media - check the MII interface for a duplex change : the MII interface : OK to print link up/down messages : OK to save duplex mode in
Returns 1 if the duplex mode changed, 0 if not. If the media type is forced, always returns 0.
Definition at line 313 of file mii.c.
mii_ethtool_gset - get settings that are specified in : MII interface : requested ethtool_cmd
The parameter is expected to have been cleared before calling mii_ethtool_gset().
Returns 0 for success, negative on error.
Definition at line 55 of file mii.c.
mii_ethtool_sset - set settings that are specified in : MII interface : requested ethtool_cmd
Returns 0 for success, negative on error.
Definition at line 144 of file mii.c.
mii_link_ok - is link status up/ok : the MII interface
Returns 1 if the MII reports link status up/ok, 0 otherwise.
Definition at line 253 of file mii.c.
mii_nway_restart - restart NWay (autonegotiation) for this interface : the MII interface
Returns 0 on success, negative on error.
Definition at line 268 of file mii.c.