Date: Fri, 21 Dec 2001 13:45:09 -0800 (PST) From: Thomas Moestl <tmm@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys bus.h src/sys/kern subr_bus.c Message-ID: <200112212145.fBLLj9A77730@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112212145.fBLLj9A77730>
