freebsd-dev/sys/compat/ndis
Bill Paul e6003d0862 The private data section of ndis_packets has a 'packet flags' byte
which has two important flags in it: the 'allocated by NDIS' flag
and the 'media specific info present' flag. There are two Windows macros
for getting/setting media specific info fields within the ndis_packet
structure which can behave improperly if these flags are not initialized
correctly when a packet is allocated. It seems the correct thing
to do is always set the NDIS_PACKET_ALLOCATED_BY_NDIS flag on
all newly allocated packets.

This fixes the crashes with the Intel Centrino wireless driver.
My sample card now seems to work correctly.

Also, fix a potential LOR involving ndis_txeof() in if_ndis.c.
2004-01-09 06:53:49 +00:00
..
cfg_var.h Deal with the duplicate sysctl leaf problem. A .inf file may contain 2003-12-18 03:51:21 +00:00
hal_var.h
kern_ndis.c The private data section of ndis_packets has a 'packet flags' byte 2004-01-09 06:53:49 +00:00
ndis_var.h The private data section of ndis_packets has a 'packet flags' byte 2004-01-09 06:53:49 +00:00
ntoskrnl_var.h Re-do the handling of ndis_buffers. The NDIS_BUFFER structure is 2003-12-23 04:08:22 +00:00
pe_var.h Clean up pe_get_message(). Allow the caller to obtain the resource 2004-01-06 18:06:54 +00:00
resource_var.h
subr_hal.c subr_hal.c: implement WRITE_PORT_BUFFER_xxx() and READ_PORT_BUFFER_xxx() 2004-01-03 09:20:48 +00:00
subr_ndis.c The private data section of ndis_packets has a 'packet flags' byte 2004-01-09 06:53:49 +00:00
subr_ntoskrnl.c Correct and simplify the implementation of RtlEqualUnicodeString(). 2004-01-07 20:31:51 +00:00
subr_pe.c Clean up pe_get_message(). Allow the caller to obtain the resource 2004-01-06 18:06:54 +00:00