mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
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
This commit is contained in:
parent
ef1946bcf8
commit
6b6e256ae1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=190206
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user