cvs commit: src/sys/dev/netif/nfe if_nfe.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Oct 28 00:31:25 PDT 2008


sephe       2008/10/28 00:30:49 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/nfe    if_nfe.c 
  Log:
  Recollect TX/RX descriptors if we are going to switch back to TX/RX interrupts,
  mainly to avoid the _possible_ race between turning on TX/RX interrupts and
  asserting TX/RX interrupt by hardware.  Though nfe(4) does not seem to suffer
  the problem, which I have seen on re(4), we still apply the same fix here;
  better safe than sorry.
  
  Revision  Changes    Path
  1.46      +7 -0      src/sys/dev/netif/nfe/if_nfe.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/nfe/if_nfe.c.diff?r1=1.45&r2=1.46&f=u





More information about the Commits mailing list