From owner-cvs-src@FreeBSD.ORG Thu Dec 11 19:40:06 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C593716A4CE; Thu, 11 Dec 2003 19:40:06 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20E6243D1D; Thu, 11 Dec 2003 19:40:06 -0800 (PST) (envelope-from wpaul@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hBC3e5XJ073086; Thu, 11 Dec 2003 19:40:05 -0800 (PST) (envelope-from wpaul@repoman.freebsd.org) Received: (from wpaul@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hBC3e56A073085; Thu, 11 Dec 2003 19:40:05 -0800 (PST) (envelope-from wpaul) Message-Id: <200312120340.hBC3e56A073085@repoman.freebsd.org> From: Bill Paul Date: Thu, 11 Dec 2003 19:40:05 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/ndiscvt inf.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2003 03:40:06 -0000 wpaul 2003/12/11 19:40:05 PST FreeBSD src repository Modified files: usr.sbin/ndiscvt inf.c Log: Attempt to handle WinXP .INF files. Also, in dump_regvals(), handle the case where there's an entry in the manufacturer's device list but no corresponding installation section (and hence no AddReg assignments), i.e. if dev = find_assign(sname, "AddReg"); returns NULL, then don't try to dereference dev. There is a fundamental problem with the handling of .INF files that contain definitions for multiple devices: right now we dump all the AddReg sections that we find, but don't distinguish what device they belong to. This often results in duplicate keys. Revision Changes Path 1.3 +36 -9 src/usr.sbin/ndiscvt/inf.c