From owner-svn-src-all@FreeBSD.ORG Mon Jun 15 19:15:28 2009 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 CDC0A106566C; Mon, 15 Jun 2009 19:15:28 +0000 (UTC) (envelope-from n_hibma@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id BB24A8FC14; Mon, 15 Jun 2009 19:15:28 +0000 (UTC) (envelope-from n_hibma@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n5FJFSdU098711; Mon, 15 Jun 2009 19:15:28 GMT (envelope-from n_hibma@svn.freebsd.org) Received: (from n_hibma@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n5FJFShx098710; Mon, 15 Jun 2009 19:15:28 GMT (envelope-from n_hibma@svn.freebsd.org) Message-Id: <200906151915.n5FJFShx098710@svn.freebsd.org> From: Nick Hibma Date: Mon, 15 Jun 2009 19:15:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r194253 - stable/7/sys/dev/usb 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: Mon, 15 Jun 2009 19:15:29 -0000 Author: n_hibma Date: Mon Jun 15 19:15:28 2009 New Revision: 194253 URL: http://svn.freebsd.org/changeset/base/194253 Log: Hide 'Unsupported ATAPI command - trying anyway' under bootverbose. This caused more noise than was actually useful. Modified: stable/7/sys/dev/usb/umass.c Modified: stable/7/sys/dev/usb/umass.c ============================================================================== --- stable/7/sys/dev/usb/umass.c Mon Jun 15 19:01:53 2009 (r194252) +++ stable/7/sys/dev/usb/umass.c Mon Jun 15 19:15:28 2009 (r194253) @@ -3529,9 +3529,10 @@ umass_atapi_transform(struct umass_softc case READ_12: case WRITE_12: default: - printf("%s: Unsupported ATAPI command 0x%02x" - " - trying anyway\n", - device_get_nameunit(sc->sc_dev), cmd[0]); + if (bootverbose) + printf("%s: Unsupported ATAPI command 0x%02x" + " - trying anyway\n", + device_get_nameunit(sc->sc_dev), cmd[0]); memcpy(*rcmd, cmd, cmdlen); return 1; }