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

From: Bill Paul <wpaul_at_FreeBSD.org>
Date: Tue, 30 Dec 2003 20:12:57 -0800 (PST)
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
Received on Tue Dec 30 2003 - 20:12:58 UTC