cvs commit: src/usr.sbin/ndiscvt Makefile inf.c src/sys/compat/ndis cfg_var.h kern_ndis.c src/sys/dev/if_ndis if_ndis.c if_ndisvar.h

Bill Paul wpaul at FreeBSD.org
Wed Dec 17 19:51:24 PST 2003


wpaul       2003/12/17 19:51:21 PST

  FreeBSD src repository

  Modified files:
    usr.sbin/ndiscvt     Makefile inf.c 
    sys/compat/ndis      cfg_var.h kern_ndis.c 
    sys/dev/if_ndis      if_ndis.c if_ndisvar.h 
  Log:
  Deal with the duplicate sysctl leaf problem. A .inf file may contain
  definitions for more than one device (usually differentiated by
  the PCI subvendor/subdevice ID). Each device also has its own tree
  of registry keys. In some cases, each device has the same keys, but
  sometimes each device has a unique tree but with overlap. Originally,
  I just had ndiscvt(8) dump out all the keys it could find, and we
  would try to apply them to every device we could find. Now, each key
  has an index number that matches it to a device in the device ID list.
  This lets us create just the keys that apply to a particular device.
  
  I also added an extra field to the device list to hold the subvendor
  and subdevice ID.
  
  Some devices are generic, i.e. there is no subsystem definition. If
  we have a device that doesn't match a specific subsystem value and
  we have a generic entry, we use the generic entry.
  
  Revision  Changes    Path
  1.2       +1 -0      src/sys/compat/ndis/cfg_var.h
  1.6       +4 -0      src/sys/compat/ndis/kern_ndis.c
  1.4       +31 -2     src/sys/dev/if_ndis/if_ndis.c
  1.3       +2 -1      src/sys/dev/if_ndis/if_ndisvar.h
  1.3       +1 -1      src/usr.sbin/ndiscvt/Makefile
  1.5       +26 -32    src/usr.sbin/ndiscvt/inf.c


More information about the cvs-src mailing list