public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFC] OMAP: DMA: Cleanup of DMA Request Lines
@ 2007-12-10  4:15 Gadiyar, Anand
  2007-12-10 18:25 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Gadiyar, Anand @ 2007-12-10  4:15 UTC (permalink / raw)
  To: linux-omap-open-source; +Cc: linux-omap

Hi all,

I'm resending this patch with the #else removed. I'm also sending a few
other ways in which we could do this.

Option 1:
Same patch as the last time without the #else

This contains lots of #ifdef statements but there are no #elses

Option 2:
No #ifdefs.

Using OMAP242X_* for 2420 specific names
OMAP243X_* for 2430 specific names/names present from 243X onwards
OMAP24XX_* for names common to all 24XX, 34XX
OMAP34XX_* for 34XX specific names

(or something similar could be worked out)

Option 3:

Name all possible names OMAP_* (or OMAP2_*) and use a runtime check to return
the correct request line number.

I'm sending sample patches for all three options. Let me know what you think.

Regards,
Anand

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-10 18:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-10  4:15 [PATCH RFC] OMAP: DMA: Cleanup of DMA Request Lines Gadiyar, Anand
2007-12-10 18:25 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox