From owner-cvs-all Sun Jan 26 23:58:20 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 47D2D37B401; Sun, 26 Jan 2003 23:58:19 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E113F43F13; Sun, 26 Jan 2003 23:58:18 -0800 (PST) (envelope-from phk@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 h0R7wIbv037983; Sun, 26 Jan 2003 23:58:18 -0800 (PST) (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h0R7wIRh037982; Sun, 26 Jan 2003 23:58:18 -0800 (PST) Message-Id: <200301270758.h0R7wIRh037982@repoman.freebsd.org> From: Poul-Henning Kamp Date: Sun, 26 Jan 2003 23:58:18 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/md md.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 phk 2003/01/26 23:58:18 PST Modified files: sys/dev/md md.c Log: Implement MDIOCLIST which returns the unit numbers of configured md(4) devices. We use the md_pad[] array and if there are more units than its size the last returned unit number will be -1, but the number of units returned is correct. Revision Changes Path 1.83 +11 -0 src/sys/dev/md/md.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message