Date: Sat, 21 Mar 2009 17:09:00 +0000 (UTC) From: "George V. Neville-Neil" <gnn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r190206 - head/sys/dev/cxgb Message-ID: <200903211709.n2LH90li041677@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gnn Date: Sat Mar 21 17:09:00 2009 New Revision: 190206 URL: http://svn.freebsd.org/changeset/base/190206 Log: 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. Submitted by: Navdeep Parhar at Chelsio MFC after: 3 weeks Modified: head/sys/dev/cxgb/cxgb_main.c Modified: head/sys/dev/cxgb/cxgb_main.c ============================================================================== --- head/sys/dev/cxgb/cxgb_main.c Sat Mar 21 17:01:29 2009 (r190205) +++ head/sys/dev/cxgb/cxgb_main.c Sat Mar 21 17:09:00 2009 (r190206) @@ -1912,6 +1912,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); t3_sge_reset_adapter(sc); ifp->if_drv_flags |= IFF_DRV_RUNNING;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903211709.n2LH90li041677>