Re: [PATCH 2.6] Altix updates

From: Christoph Hellwig
Date: Tue Jan 20 2004 - 13:13:06 EST


On Tue, Jan 20, 2004 at 11:50:19AM -0600, Patrick Gefre wrote:
> Yes this probably looks a little odd. This was setup this way for TIO.
> The macro in the TIO code checks to see
> if it is a 'soft' struct or bridge address AND what bridge type it is -
> accessing different registers depending
> on TIO or not TIO (the 2 cases we have so far). We think this makes the
> register access functions pretty flexible/generic.

Sorry, but this is completly bogus. Just declare one accessor per
datatype.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/