-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, On May 7, 2010, at 4:26 PM, Martin Husemann wrote:
On Fri, May 07, 2010 at 04:05:30PM -0400, Michael wrote:kernel output anyway. All it needs is a sane way to decide wether it can allocate memory or not.So split init in a minimal (optional) version called from the consinitfunctions, and a full grown init called at driver attach time (and have thelatter skip the parts already done by the first if it ran already).
Well, I already have a flag that skips the non-essential, memory- allocating part. The question was for a way for rasops itself to know if it can do it instead of depending on the caller.
have fun Michael -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iQEVAwUBS+SAJspnzkX8Yg2nAQKomAf+LyWQ53cKuZfTgwOmlHONuQStJFHT0kto Z1zBjPVjFhPD117IF6D1BWoLnX8TmSMM6v2UqVpkQCsNYbKcnagDBn5Ppe4V7HjZ jIuCcw5Lz7VudcLgnF365VCCDWQ0RUFd/+D/2NhlevJj2tNLuQYGQVF8dfTecZPt F2zUMGQHs2mjE2y0Pck6fTb7LoxVXMtNpZWKW4sfbH8qC9I+ff5HuPiYXLZA2fIG pqALWXqEguZTRgZ+635AXIWjtV734KuJv6WODLv8ZmDNJxQ+7rgdh3QlaU1CVpgr F5mkkDc90ME5M2D2ZZ14gcnnw537+rCL7NPAMor9QNg5gkXfIfGE8A== =aNFH -----END PGP SIGNATURE-----