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

Matthew Dillon dillon at crater.dragonflybsd.org
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 
  Log:
  Properly serialize access in the NV ethernet driver and attempt to fix
  another watchdog-on-reinit issue.  I still see occassional watchdog timeouts,
  however.
  
  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


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/nv/if_nv.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/nv/if_nvreg.h.diff?r1=1.8&r2=1.9&f=u





More information about the Commits mailing list