cvs commit: src/sys/dev/en midway.c
harti 2003/06/04 08:38:33 PDT
FreeBSD src repository
Make the internal statistics sysctl an array of integers rather than a string.
While a string is readable without a tool, an array is easier to process for
a monitoring application. This also prevents the extra hoops we need with
sbufs and locking.
Move the mtx_init() in en_attach() higher before the first failure point so
that we can unconditionally destroy it in en_destroy().
Revision Changes Path
1.41 +10 -33 src/sys/dev/en/midway.c
Received on Wed Jun 04 2003 - 08:38:33 UTC