From owner-svn-src-all@FreeBSD.ORG Sun Mar 18 09:47:28 2012 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B9AA106564A; Sun, 18 Mar 2012 09:47:28 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5AC718FC16; Sun, 18 Mar 2012 09:47:28 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q2I9lSaD011631; Sun, 18 Mar 2012 09:47:28 GMT (envelope-from hselasky@svn.freebsd.org) Received: (from hselasky@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q2I9lS4x011629; Sun, 18 Mar 2012 09:47:28 GMT (envelope-from hselasky@svn.freebsd.org) Message-Id: <201203180947.q2I9lS4x011629@svn.freebsd.org> From: Hans Petter Selasky Date: Sun, 18 Mar 2012 09:47:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r233110 - head/tools/tools/bus_autoconf X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2012 09:47:28 -0000 Author: hselasky Date: Sun Mar 18 09:47:27 2012 New Revision: 233110 URL: http://svn.freebsd.org/changeset/base/233110 Log: Use new -n option when executing kldload, to not warn about already loaded module(s). MFC after: 1 week Modified: head/tools/tools/bus_autoconf/bus_usb.c Modified: head/tools/tools/bus_autoconf/bus_usb.c ============================================================================== --- head/tools/tools/bus_autoconf/bus_usb.c Sun Mar 18 09:45:43 2012 (r233109) +++ head/tools/tools/bus_autoconf/bus_usb.c Sun Mar 18 09:47:27 2012 (r233110) @@ -317,7 +317,7 @@ usb_dump(struct usb_device_id *id, uint3 printf(" match \"intprotocol\" \"0x%02x\";\n", id->bInterfaceProtocol); } - printf(" action \"kldload %s\";\n" + printf(" action \"kldload -n %s\";\n" "};\n\n", id->module_name); return (n);