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

Bill Paul wpaul at FreeBSD.org
Wed May 4 21:18:03 PDT 2005


wpaul       2005-05-05 04:16:14 UTC

  FreeBSD src repository

  Modified files:
    sys/compat/ndis      subr_ndis.c 
  Log:
  Remove extranaous free() of ASCII filename from NdisOpenFile().
  
  Oh, one additional change I forgot to mention in the last commit:
  NdisOpenFile() was broken in the case for firmware files that were
  pre-loaded as modules. When searching for the module in NdisOpenFile(),
  we would match against a symbol name, which would contain the string
  we were looking for, then save a pointer to the linker file handle.
  Later, in NdisMapFile(), we would refer to the filename hung off
  this handle when trying to find the starting address symbol. Only
  problem is, this filename is different from the embedded symbol
  name we're searching for, so the mapping would fail. I found this
  problem while testing the AirGo driver, which requires a small
  firmware file.
  
  Revision  Changes    Path
  1.87      +0 -1      src/sys/compat/ndis/subr_ndis.c


More information about the cvs-src mailing list