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

Hartmut Brandt harti at FreeBSD.org
Wed Jun 4 08:38:34 PDT 2003


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


More information about the cvs-all mailing list