Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Dec 2003 19:51:21 -0800 (PST)
From:      Bill Paul <wpaul@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   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
Message-ID:  <200312180351.hBI3pLA4012258@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312180351.hBI3pLA4012258>