From owner-cvs-all Sat Sep 14 12:15:18 2002 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 1FEB737B400; Sat, 14 Sep 2002 12:15:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C729D43E4A; Sat, 14 Sep 2002 12:15:13 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: from freefall.freebsd.org (imp@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g8EJFDJU044504; Sat, 14 Sep 2002 12:15:13 -0700 (PDT) (envelope-from imp@freefall.freebsd.org) Received: (from imp@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g8EJFD0D044503; Sat, 14 Sep 2002 12:15:13 -0700 (PDT) Message-Id: <200209141915.g8EJFD0D044503@freefall.freebsd.org> From: Warner Losh Date: Sat, 14 Sep 2002 12:15:13 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys bus.h src/sys/kern subr_bus.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 imp 2002/09/14 12:15:13 PDT Modified files: sys/sys bus.h sys/kern subr_bus.c Log: Add additional information returned to userland by the device querying functions. We add pnpinfo, locationinfo, devflags (the newbus flags on the device), flags (the flags that device_get_flags returns) and state to the list of things we return. pnpinfo and locationinfo are place holders at the moment that will be filled in by the device's parent (optionally). Userland programs will likely use this information from time to time and take appropriate actions. Improvements to devinfo to follow. Revision Changes Path 1.107 +5 -0 src/sys/kern/subr_bus.c 1.50 +18 -10 src/sys/sys/bus.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message