cvs commit: src/sys/dev/nge if_nge.c if_ngereg.h

John Baldwin jhb at FreeBSD.org
Thu Oct 13 13:22:08 PDT 2005


jhb         2005-10-13 20:22:07 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/nge          if_nge.c if_ngereg.h 
  Log:
  Minor tweaks and fixups:
  - Use device_printf() and if_printf() and remove nge_unit.
  - Use callout_init_mtx() and remove nge_tick_locked() as nge_tick() is now
    always called with the driver lock held.
  - Use M_ZERO to contigmalloc() when allocating nge_ldata.  It was possible
    for the random garbage to be used in certain cases otherwise.
  - Cleanup attach error handling including no longer leaking nge_ldata.
  - Add locking to the ifmedia callouts.
  - Lock accesses to if_hwassist and if_capenable in nge_ioctl().
  
  Submitted by:   Yuriy N. Shkandybin jura at networks dot ru (1, 3, 4)
  Tested by:      Yuriy N. Shkandybin jura at networks dot ru
  MFC after:      3 days
  
  Revision  Changes    Path
  1.82      +61 -68    src/sys/dev/nge/if_nge.c
  1.14      +0 -1      src/sys/dev/nge/if_ngereg.h


More information about the cvs-src mailing list