linux/drivers/net/ethernet/ti/davinci_emac.c
/**
 * emac_get_coalesce - Get interrupt coalesce settings for this device
 * @ndev : The DaVinci EMAC network adapter
 * @coal : ethtool coalesce settings structure
 *
 * Fetch the current interrupt coalesce settings
 *
 */
Get interrupt coalesce settings for this device
@ndev : The DaVinci EMAC network adapter
@coal : ethtool coalesce settings structure

Fetch the current interrupt coalesce settings
Get interrupt coalesce settings for this device @ndev : The DaVinci EMAC network adapter @coal : ethtool coalesce settings structure Fetch the current interrupt coalesce settings
static int emac_get_coalesce(struct net_device *ndev,
				struct ethtool_coalesce *coal)
{
	struct emac_priv *priv = netdev_priv(ndev);
	coal->rx_coalesce_usecs = priv->coal_intvl;
	return 0;
}
static int emac_get_coalesce ( struct net_device * ndev , struct ethtool_coalesce * coal ) { struct emac_priv * priv = netdev_priv ( ndev ) ; coal -> rx_coalesce_usecs = priv -> coal_intvl ; return 0 ; }
emac_get_coalesce - Get interrupt coalesce settings for this device
 @ndev : The DaVinci EMAC network adapter
 @coal : ethtool coalesce settings structure
emac_get_coalesce - Get interrupt coalesce settings for this device @ndev : The DaVinci EMAC network adapter @coal : ethtool coalesce settings structure