cvs commit: src/sys/dev/en midway.c

From: Hartmut Brandt <>
Date: Wed, 4 Jun 2003 08:38:33 -0700 (PDT)
harti       2003/06/04 08:38:33 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/en           midway.c 
  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