cvs commit: src/sys/dev/netif/nv if_nv.c if_nvreg.h

Matthew Dillon dillon at
Tue Oct 11 18:11:20 PDT 2005

dillon      2005/10/11 18:09:31 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/nv     if_nv.c if_nvreg.h 
  Properly serialize access in the NV ethernet driver and attempt to fix
  another watchdog-on-reinit issue.  I still see occassional watchdog timeouts,
  Add polling support, but there is currently no way to disable the interrupt
  without also causing the NVidia interrupt callback functions to stop operating
  (i.e. it stops doing work when called), so this feature is only really useful
  to make the device work in cases where the kernel is unable to properly route
  the interrupt.
  It might be possible to do an end-run around the problem with a PCI bus
  call to mask the interrupt there.
  Call pfnClearTxDesc() prior to uninitializing an interface in the hopes
  that it cleans out transmit descriptors and makes the callback so we can
  deallocate the mbufs (not tested for that yet, but it atleast does not make
  things any worse).
  GigE NV interfaces should now negotiate for GigE speeds with the changes
  made in the generic MII code.
  Revision  Changes    Path
  1.18      +187 -96   src/sys/dev/netif/nv/if_nv.c
  1.9       +2 -2      src/sys/dev/netif/nv/if_nvreg.h

More information about the Commits mailing list