cvs commit: src/sys/dev/netif/nv if_nv.c if_nvreg.h
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Sep 19 18:52:46 PDT 2005
dillon 2005/09/19 18:51:08 PDT
DragonFly src repository
Modified files:
sys/dev/netif/nv if_nv.c if_nvreg.h
Log:
Fix the infinite-watchdog timeout problem. the pending_txs count was not
being reset when the interface was reinitized, even though al lthe packets
in the tx ring are lost by that action.
call pfnInit() at attach time. This appears to fix the initial watchdog
timeout problem, which was probably occuring because nv_init() was calling
nv_stop() which was making NVidia API calls before actually initializing
the NVidia interface for the first time.
Properly clear OACTIVE in the TX packet callback if the TX ring previously
became full. (freebsd)
Add support for MCP8-11 (FreeBSD)
NOTE: watchdog resets will cause mbufs for packets in the txring to be
lost (this occured before this commit too).
Revision Changes Path
1.16 +38 -4 src/sys/dev/netif/nv/if_nv.c
1.8 +11 -3 src/sys/dev/netif/nv/if_nvreg.h
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/nv/if_nv.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/nv/if_nvreg.h.diff?r1=1.7&r2=1.8&f=u
More information about the Commits
mailing list