From mboxrd@z Thu Jan 1 00:00:00 1970 From: Baruch Siach Subject: Re: Questions in spi_mpc83xx.c Date: Thu, 9 Jul 2009 21:38:55 +0300 Message-ID: <20090709183855.GS16245@tarshish> References: <20090709141648.ws3ak25ewwogwsc0@www.bish.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org To: Mark Bishop Return-path: Content-Disposition: inline In-Reply-To: <20090709141648.ws3ak25ewwogwsc0-2+Z7l/WXEz7k1uMJSBkQmQ@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org Hi Mark, On Thu, Jul 09, 2009 at 02:16:48PM -0400, Mark Bishop wrote: > I haven't seen this before - the '##' in the function name. This is ANCII C? Of course. See pp. 90-91 in "The C Programming Language" second edition. > > #define MPC83XX_SPI_TX_BUF(type) \ > u32 mpc83xx_spi_tx_buf_##type(struct mpc83xx_spi *mpc83xx_spi) \ > { \ > u32 data; \ > .... baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch-NswTu9S1W3P6gbPvEgmw2w@public.gmane.org - tel: +972.2.679.5364, http://www.tkos.co.il - ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 41A4CB7067 for ; Fri, 10 Jul 2009 05:34:56 +1000 (EST) Received: from tango.tkos.co.il (tango.tkos.co.il [62.219.50.35]) by ozlabs.org (Postfix) with ESMTP id 5482ADDDE7 for ; Fri, 10 Jul 2009 05:34:54 +1000 (EST) Date: Thu, 9 Jul 2009 21:38:55 +0300 From: Baruch Siach To: Mark Bishop Subject: Re: [spi-devel-general] Questions in spi_mpc83xx.c Message-ID: <20090709183855.GS16245@tarshish> References: <20090709141648.ws3ak25ewwogwsc0@www.bish.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20090709141648.ws3ak25ewwogwsc0@www.bish.net> Cc: spi-devel-general@lists.sourceforge.net, linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Mark, On Thu, Jul 09, 2009 at 02:16:48PM -0400, Mark Bishop wrote: > I haven't seen this before - the '##' in the function name. This is ANCII C? Of course. See pp. 90-91 in "The C Programming Language" second edition. > > #define MPC83XX_SPI_TX_BUF(type) \ > u32 mpc83xx_spi_tx_buf_##type(struct mpc83xx_spi *mpc83xx_spi) \ > { \ > u32 data; \ > .... baruch -- ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -