All of lore.kernel.org
 help / color / mirror / Atom feed
* Multiple drivers. help
@ 2003-04-22  2:41 Manuel Jander
  2003-04-28 13:36 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Manuel Jander @ 2003-04-22  2:41 UTC (permalink / raw)
  To: alsa-devel

Hi,


With the current Aureal Driver we have the following dilema:
We support 3 soundcards: the AU8810, AU8820 and AU8830.
They are very similar to each other and share a lot of code (almost 
all). But they use different register address offsets and "sizes" of 
some resources.
So we have one .c file and one .h file for each card. All that in one
directory which is pci/au88x0/. How do I make it to compile on or 
another driver ?

The configure script story is allready OK. selscting the different
drivers triggers different CONFIG_SND_XXXXX environment variables to 
appear in the makefiles,
but :
how can that info be transmitted to header file #ifdef's ?
The corresponding CONFIG_SND_AU8810, CONFIG_SND_AU8820 and
CONFIG_SND_AU8830 defines of the Makefile's aren't recognized inside
any header file.

Any clue would be helpful.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

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

end of thread, other threads:[~2003-04-28 13:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-22  2:41 Multiple drivers. help Manuel Jander
2003-04-28 13:36 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.