[PATCH 13/16] ehca: firmware InfiniBand interface

Paul Mackerras paulus at samba.org
Fri Apr 28 08:42:14 EST 2006


Jörn Engel writes:

> 25 parameters?  If you tell me which drugs were involved in this code,
> I know what to stay away from.

You really need to ask the firmware architects that, since this is
basically a single firmware call.

Mind you, since a lot of the parameters are used to return individual
bytes or half-words, which are then put into structures, it might be
better to pass the pointers to the structures and let the wrapper put
the values straight into the structures.

Paul.



More information about the Linuxppc-dev mailing list