From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Message-ID: <17489.18630.75412.66803@cargo.ozlabs.ibm.com> Date: Fri, 28 Apr 2006 08:42:14 +1000 From: Paul Mackerras To: =?iso-8859-1?Q?J=F6rn?= Engel Subject: Re: [PATCH 13/16] ehca: firmware InfiniBand interface In-Reply-To: <20060427123701.GG32127@wohnheim.fh-wedel.de> References: <4450A1C0.3080209@de.ibm.com> <20060427123701.GG32127@wohnheim.fh-wedel.de> Cc: linux-kernel@vger.kernel.org, openib-general@openib.org, linuxppc-dev@ozlabs.org, Christoph Raisch , Hoang-Nam Nguyen , Marcus Eder List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , J=F6rn Engel writes: > 25 parameters=3F If you tell me which drugs were involved in this co= de, > 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.