cvs commit: src/sys/dev/if_ndis if_ndis.c if_ndis_usb.c

Bill Paul wpaul at
Thu Feb 24 22:54:15 GMT 2005

wpaul       2005-02-24 22:54:15 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/if_ndis      if_ndis.c if_ndis_usb.c 
  Apparently, the probe routine in if_ndis_usb.c can be called twice
  for a given device in some circumstances, so move the PDO creation
  to the attach routine so we don't end up creating two PDOs.
  Also, when we skip the call to ndis_convert_res() in if_ndis.c:ndis_attach(),
  initialize sc->ndis_block->nmb_rlist to NULL. We don't explicitly zero
  the miniport block, so this will make sure ndis_unload_driver() does
  the right thing.
  Revision  Changes    Path
  1.81      +2 -0      src/sys/dev/if_ndis/if_ndis.c
  1.2       +7 -9      src/sys/dev/if_ndis/if_ndis_usb.c

More information about the cvs-src mailing list