cvs commit: src/sys/compat/ndis kern_ndis.c subr_ndis.c

Bill Paul wpaul at FreeBSD.org
Tue Jan 6 22:15:58 PST 2004


wpaul       2004/01/06 22:15:57 PST

  FreeBSD src repository

  Modified files:
    sys/compat/ndis      kern_ndis.c subr_ndis.c 
  Log:
  In subr_ndis.c: correct ndis_interlock_inc() and ndis_interlock_dec()
  so we increment the right thing. (All work and not enough parens
  make Bill something something...) This makes the RealTek 8139C+
  driver work correctly.
  
  Also fix some mtx_lock_spin()s and mtx_unlock_spin()s that should
  have been just plain mtx_lock()s and mtx_unlock()s.
  
  In kern_ndis.c: remove duplicate code from ndis_send_packets() and
  just call the senddone handler (ndis_txeof()).
  
  Revision  Changes    Path
  1.23      +6 -18     src/sys/compat/ndis/kern_ndis.c
  1.28      +8 -8      src/sys/compat/ndis/subr_ndis.c


More information about the cvs-src mailing list