From owner-cvs-all Sat Mar 22 4:18:25 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7782537B401; Sat, 22 Mar 2003 04:18:21 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10D6C43F75; Sat, 22 Mar 2003 04:18:21 -0800 (PST) (envelope-from mux@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h2MCIK0U029248; Sat, 22 Mar 2003 04:18:20 -0800 (PST) (envelope-from mux@repoman.freebsd.org) Received: (from mux@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2MCIKbe029247; Sat, 22 Mar 2003 04:18:20 -0800 (PST) Message-Id: <200303221218.h2MCIKbe029247@repoman.freebsd.org> From: Maxime Henrion Date: Sat, 22 Mar 2003 04:18:20 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys ata.h src/sys/dev/ata ata-all.c src/sbin/atacontrol atacontrol.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mux 2003/03/22 04:18:20 PST FreeBSD src repository Modified files: sys/sys ata.h sys/dev/ata ata-all.c sbin/atacontrol atacontrol.c Log: - Add a new ioctl to get the maximum number of ATA channels. - Use it in atacontrol(8) when listing ATA devices instead of stopping at the first ENXIO received. This makes atacontrol list work on my sparc64 where the two ATA channels I have are numbered 2 and 3. Reviewed by: sos Revision Changes Path 1.20 +7 -4 src/sbin/atacontrol/atacontrol.c 1.173 +5 -0 src/sys/dev/ata/ata-all.c 1.17 +2 -0 src/sys/sys/ata.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message