svn commit: r191070 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb

George V. Neville-Neil gnn at
Tue Apr 14 11:52:41 PDT 2009

Author: gnn
Date: Tue Apr 14 18:52:39 2009
New Revision: 191070

  MFC of a Chelsio bug fix.
  Fix a bug in the recent update to the Chelsio driver.
  The tick routine was not being restarted in the init_locked routine
  which could resulted in loss of carrier when updating the MTU.
  Approved by:	re (kensmith)
  Obtained from:	Chelsio Inc.

  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/cxgb/   (props changed)

Modified: stable/7/sys/dev/cxgb/cxgb_main.c
--- stable/7/sys/dev/cxgb/cxgb_main.c	Tue Apr 14 18:32:37 2009	(r191069)
+++ stable/7/sys/dev/cxgb/cxgb_main.c	Tue Apr 14 18:52:39 2009	(r191070)
@@ -1880,6 +1880,7 @@ cxgb_init_locked(struct port_info *p)
 	device_printf(sc->dev, "enabling interrupts on port=%d\n", p->port_id);
 	t3_port_intr_enable(sc, p->port_id);
+ 	callout_reset(&sc->cxgb_tick_ch, CXGB_TICKS(sc), cxgb_tick, sc);
 	ifp->if_drv_flags |= IFF_DRV_RUNNING;

More information about the svn-src-stable-7 mailing list