From owner-cvs-all Fri Dec 21 13:45:18 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 181E337B420; Fri, 21 Dec 2001 13:45:10 -0800 (PST) Received: (from tmm@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBLLj9A77730; Fri, 21 Dec 2001 13:45:09 -0800 (PST) (envelope-from tmm) Message-Id: <200112212145.fBLLj9A77730@freefall.freebsd.org> From: Thomas Moestl Date: Fri, 21 Dec 2001 13:45:09 -0800 (PST) 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 tmm 2001/12/21 13:45:09 PST Modified files: sys/sys bus.h sys/kern subr_bus.c Log: Add a generic __BUS_ACCESSOR macro to construct ivar accessor functions, and a generic resource_list_print_type() function to print all resouces of a certain type in a resource list. Use ulmin()/ulmax() instead of min()/max() in two places to handle u_longs correctly. Revision Changes Path 1.97 +30 -2 src/sys/kern/subr_bus.c 1.46 +28 -0 src/sys/sys/bus.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message