cvs commit: src/sys/compat/ndis subr_ntoskrnl.c src/sys/dev/if_ndis if_ndis.c

Bill Paul wpaul at FreeBSD.org
Tue Dec 30 20:12:59 PST 2003


wpaul       2003/12/30 20:12:57 PST

  FreeBSD src repository

  Modified files:
    sys/compat/ndis      subr_ntoskrnl.c 
    sys/dev/if_ndis      if_ndis.c 
  Log:
  - subr_ntoskrnl.c: improve the _fastcall hack based on suggestions from
    peter and jhb: use __volatile__ to prevent gcc from possibly reordering
    code, use a null inline instruction instead of a no-op movl (I would
    have done this myself if I knew it was allowed) and combine two register
    assignments into a single asm statement.
  - if_ndis.c: set the NDIS_STATUS_PENDING flag on all outgoing packets
    in ndis_start(), make the resource allocation code a little smarter
    about how it selects the altmem range, correct a lock order reversal
    in ndis_tick().
  
  Revision  Changes    Path
  1.5       +4 -7      src/sys/compat/ndis/subr_ntoskrnl.c
  1.18      +19 -16    src/sys/dev/if_ndis/if_ndis.c


More information about the cvs-src mailing list