cvs commit: src/sys/compat/ndis subr_ndis.c
Bill Paul
wpaul at FreeBSD.org
Tue Feb 3 20:44:18 PST 2004
wpaul 2004/02/03 20:44:17 PST
FreeBSD src repository
Modified files:
sys/compat/ndis subr_ndis.c
Log:
Correct/improve the implementation of NdisMAllocateSharedMemoryAsync().
Since we have a worker thread now, we can actually do the allocation
asynchronously in that thread's context. Also, we need to return a
status value: if we're unable to queue up the async allocation, we
return NDIS_STATUS_FAILURE, otherwise we return NDIS_STATUS_PENDING
to indicate the allocation has been queued and will occur later.
This replaces the kludge where we just invoked the callback routine
right away in the current context.
Revision Changes Path
1.42 +50 -13 src/sys/compat/ndis/subr_ndis.c
More information about the cvs-src
mailing list