On Wed, May 14, 2003 at 09:32:53AM -0600, Alex Williamson wrote: > > Why not just make a runtime strcmp to platform_name? Then > you could make a generic is_platform("sn2") type function/macro > that everyone could use and you'd get rid of that nasty init > function. If you realy need to make such a check in a perfmance > path, it should probably be a machvec. Thanks, That sounds fine to me. I was certainly aiming to keep this in non-performance critical regions. I'd actually like to restrict its use to init decisions, such as which serial console driver to use. mh -- Wild Open Source Inc. mort@wildopensource.com