Date: Wed, 4 Jun 2003 08:38:33 -0700 (PDT) From: Hartmut Brandt <harti@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/en midway.c Message-ID: <200306041538.h54FcXbr006476@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
harti 2003/06/04 08:38:33 PDT FreeBSD src repository Modified files: sys/dev/en midway.c Log: 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306041538.h54FcXbr006476>