From owner-cvs-src-old@FreeBSD.ORG Fri Nov 19 03:47:23 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDA4C10656C0 for ; Fri, 19 Nov 2010 03:47:23 +0000 (UTC) (envelope-from rstone@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DC68D8FC1C for ; Fri, 19 Nov 2010 03:47:23 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oAJ3lNYW049224 for ; Fri, 19 Nov 2010 03:47:23 GMT (envelope-from rstone@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oAJ3lNN2049223 for cvs-src-old@freebsd.org; Fri, 19 Nov 2010 03:47:23 GMT (envelope-from rstone@repoman.freebsd.org) Message-Id: <201011190347.oAJ3lNN2049223@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rstone@repoman.freebsd.org using -f From: Ryan Stone Date: Fri, 19 Nov 2010 03:47:10 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sbin/camcontrol camcontrol.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Nov 2010 03:47:24 -0000 rstone 2010-11-19 03:47:10 UTC FreeBSD src repository Modified files: sbin/camcontrol camcontrol.c Log: SVN rev 215507 on 2010-11-19 03:47:10Z by rstone When doing a camcontrol rescan all or a camcontrol reset all, use the wildcard path id for enumerating the available busses. Previously camcontrol was implicitly passing 0 as the first path id, which meant that if bus 0 was not present camcontrol would fail with EINVAL instead of rescanning/resetting any busses that were present. Approved by: emaste (mentor) MFC after: 1 week Revision Changes Path 1.82 +1 -0 src/sbin/camcontrol/camcontrol.c