linux/drivers/net/ethernet/ti/davinci_emac.c
/**
 * emac_get_drvinfo - Get EMAC driver information
 * @ndev: The DaVinci EMAC network adapter
 * @info: ethtool info structure containing name and version
 *
 * Returns EMAC driver information (name and version)
 *
 */
Get EMAC driver information
@ndev: The DaVinci EMAC network adapter
@info: ethtool info structure containing name and version

Returns EMAC driver information (name and version)
Get EMAC driver information @ndev : The DaVinci EMAC network adapter @info : ethtool info structure containing name and version Returns EMAC driver information ( name and version )
static void emac_get_drvinfo(struct net_device *ndev,
			     struct ethtool_drvinfo *info)
{
	strlcpy(info->driver, emac_version_string, sizeof(info->driver));
	strlcpy(info->version, EMAC_MODULE_VERSION, sizeof(info->version));
}
static void emac_get_drvinfo ( struct net_device * ndev , struct ethtool_drvinfo * info ) { strlcpy ( info -> driver , emac_version_string , sizeof ( info -> driver ) ) ; strlcpy ( info -> version , EMAC_MODULE_VERSION , sizeof ( info -> version ) ) ; }
emac_get_drvinfo - Get EMAC driver information
 @ndev: The DaVinci EMAC network adapter
 @info: ethtool info structure containing name and version
emac_get_drvinfo - Get EMAC driver information @ndev : The DaVinci EMAC network adapter @info : ethtool info structure containing name and version