]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In ndis_attach(), report the NDIS API level that the Windows miniport
authorwpaul <wpaul@FreeBSD.org>
Sun, 4 Jan 2004 03:00:21 +0000 (03:00 +0000)
committerwpaul <wpaul@FreeBSD.org>
Sun, 4 Jan 2004 03:00:21 +0000 (03:00 +0000)
commitcc0f677dae73816e334103ecca82ca9875ad0e48
tree49035d218617c9b9af8310dc80d66593acb5a288
parentb872c27d4a11b75c02c4c2615bc9a86aa35611ff
In ndis_attach(), report the NDIS API level that the Windows miniport
driver was compiled with.

Remove debug printf from ndis_assicn_pcirsc(). It doesn't serve
much purpose.

Implement NdisMIndicateStatus() and NdisMIndicateStatusComplete()
as functions in subr_ndis.c. In NDIS 4.0, they were functions. In
NDIS 5.0 and later, they're just macros.

Allocate a few extra packets/buffers beyond what the driver asks
for since sometimes it seems they can lie about how many they really
need, and some extra stupid ones don't check to see if NdisAllocatePacket()
and/or NdisAllocateBuffer() actually succeed.
sys/compat/ndis/subr_ndis.c
sys/dev/if_ndis/if_ndis.c