Date: Sat, 24 Sep 2005 20:07:03 +0000 (UTC) From: Poul-Henning Kamp <phk@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_rman.c src/sys/sys rman.h Message-ID: <200509242007.j8OK73Xt014785@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2005-09-24 20:07:03 UTC FreeBSD src repository Modified files: sys/kern subr_rman.c sys/sys rman.h Log: Split struct resource in an external and internal part. The external part is still called 'struct resource' but the contents is now visible to drivers etc. This makes it part of the device driver ABI so it not be changed lightly. A comment to this effect is in place. The internal part is called 'struct resource_i' and contain its external counterpart as one field. Move the bus_space tag+handle into the external struct resource, this removes the need for device drivers to even know about these fields in order to use bus_space to access hardware. (More in following commit). Revision Changes Path 1.44 +57 -40 src/sys/kern/subr_rman.c 1.29 +21 -8 src/sys/sys/rman.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200509242007.j8OK73Xt014785>