View | Details | Raw Unified | Return to bug 217746
Collapse All | Expand All

(-)b/sys/dev/cxgbe/t4_main.c (-3 / +3 lines)
Lines 7999-8007 sysctl_tp_timer(SYSCTL_HANDLER_ARGS) Link Here
7999
	u_int cclk_ps = 1000000000 / sc->params.vpd.cclk;
7999
	u_int cclk_ps = 1000000000 / sc->params.vpd.cclk;
8000
8000
8001
	MPASS(reg == A_TP_RXT_MIN || reg == A_TP_RXT_MAX ||
8001
	MPASS(reg == A_TP_RXT_MIN || reg == A_TP_RXT_MAX ||
8002
	    reg == A_TP_PERS_MIN || reg == A_TP_PERS_MAX ||
8002
	    reg == A_TP_PERS_MIN  || reg == A_TP_PERS_MAX ||
8003
	    reg == A_TP_KEEP_IDLE || A_TP_KEEP_INTVL || reg == A_TP_INIT_SRTT ||
8003
	    reg == A_TP_KEEP_IDLE || reg == A_TP_KEEP_INTVL ||
8004
	    reg == A_TP_FINWAIT2_TIMER);
8004
	    reg == A_TP_INIT_SRTT || reg == A_TP_FINWAIT2_TIMER);
8005
8005
8006
	tre = G_TIMERRESOLUTION(t4_read_reg(sc, A_TP_TIMER_RESOLUTION));
8006
	tre = G_TIMERRESOLUTION(t4_read_reg(sc, A_TP_TIMER_RESOLUTION));
8007
	tp_tick_us = (cclk_ps << tre) / 1000000;
8007
	tp_tick_us = (cclk_ps << tre) / 1000000;

Return to bug 217746