f123dd84fb
nb_size field in an ndis_buffer is meant to represent, but it does not represent the original allocation size, so the sanity check doesn't make any sense now that we're using the Windows-mandated initialization method. Among other things, this makes the following card work with the NDISulator: ndis0: <NETGEAR PA301 Phoneline10X PCI Adapter> mem 0xda004000-0xda004fff irq 10 at device 9.0 on pci0 This is that notoriously undocumented 10Mbps HomePNA Broadcom chipset that people wanted support for many moons ago. Sadly, the only other HomePNA NIC I have handy is a 1Mbps device, so I can't actually do any 10Mbps performance tests, but it talks to my 1Mbps ADMtek card just fine. |
||
---|---|---|
.. | ||
cfg_var.h | ||
hal_var.h | ||
kern_ndis.c | ||
ndis_var.h | ||
ntoskrnl_var.h | ||
pe_var.h | ||
resource_var.h | ||
subr_hal.c | ||
subr_ndis.c | ||
subr_ntoskrnl.c | ||
subr_pe.c |