cvs commit: src/sys/compat/ndis subr_ndis.c

Bill Paul wpaul at FreeBSD.org
Sun Dec 28 13:28:37 PST 2003


wpaul       2003/12/28 13:28:36 PST

  FreeBSD src repository

  Modified files:
    sys/compat/ndis      subr_ndis.c 
  Log:
  Remove the sanity test in ndis_adjust_buflen(). I'm not sure what the
  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.
  
  Revision  Changes    Path
  1.17      +0 -2      src/sys/compat/ndis/subr_ndis.c


More information about the cvs-src mailing list