/* Propagate changes of the SGE coalescing parameters to the HW.  */
int t1_sge_set_coalesce_params(struct sge *sge, struct sge_params *p)
/* Propagate changes of the SGE coalescing parameters to the HW.  */
int t1_sge_set_coalesce_params(struct sge *sge, struct sge_params *p)
{
	sge->fixed_intrtimer = p->rx_coalesce_usecs *
		core_ticks_per_usec(sge->adapter);
	writel(sge->fixed_intrtimer, sge->adapter->regs + A_SG_INTRTIMER);
	return 0;
}