Commit d9acfcc9 authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update - Takashi Iwai <tiwai@suse.de>

Documentation
- fixed some obsolete descriptions and typos.
- a bit more detailed description about addition of the new driver.
parent a29211b9
...@@ -5507,10 +5507,14 @@ struct _snd_pcm_runtime { ...@@ -5507,10 +5507,14 @@ struct _snd_pcm_runtime {
Suppose that you'll create a new PCI driver for the card Suppose that you'll create a new PCI driver for the card
<quote>xyz</quote>. The card module name would be <quote>xyz</quote>. The card module name would be
snd-xyz. The new driver is usually put into alsa-driver snd-xyz. The new driver is usually put into alsa-driver
tree. Then the driver is evaluated, audited and tested tree, <filename>alsa-driver/pci</filename> directory in
the case of PCI cards.
Then the driver is evaluated, audited and tested
by developers and users. After a certain time, the driver by developers and users. After a certain time, the driver
will go to alsa-kernel tree and eventually integrated into will go to alsa-kernel tree (to the corresponding directory,
Linux 2.6 tree. such as <filename>alsa-kernel/pci</filename>) and eventually
integrated into Linux 2.6 tree (the directory would be
<filename>linux/sound/pci</filename>).
</para> </para>
<para> <para>
...@@ -5537,7 +5541,7 @@ struct _snd_pcm_runtime { ...@@ -5537,7 +5541,7 @@ struct _snd_pcm_runtime {
<programlisting> <programlisting>
<![CDATA[ <![CDATA[
snd-xyz-objs := xyz.o snd-xyz-objs := xyz.o
extra-obj-$(CONFIG_SND_XYZ) += snd-xyz.o obj-$(CONFIG_SND_XYZ) += snd-xyz.o
]]> ]]>
</programlisting> </programlisting>
</informalexample> </informalexample>
...@@ -5554,8 +5558,8 @@ struct _snd_pcm_runtime { ...@@ -5554,8 +5558,8 @@ struct _snd_pcm_runtime {
<informalexample> <informalexample>
<programlisting> <programlisting>
<![CDATA[ <![CDATA[
config SND_BT87X config SND_XYZ
tristate "Foobar XYX" tristate "Foobar XYZ"
depends on SND depends on SND
select SND_PCM select SND_PCM
help help
...@@ -5606,7 +5610,8 @@ struct _snd_pcm_runtime { ...@@ -5606,7 +5610,8 @@ struct _snd_pcm_runtime {
<orderedlist> <orderedlist>
<listitem> <listitem>
<para> <para>
Add a new directory (xyz) to extra-subdir-y list in alsa-driver/pci/Makefile Add a new directory (<filename>xyz</filename>) in
<filename>alsa-driver/pci/Makefile</filename> like below
<informalexample> <informalexample>
<programlisting> <programlisting>
...@@ -5620,7 +5625,7 @@ struct _snd_pcm_runtime { ...@@ -5620,7 +5625,7 @@ struct _snd_pcm_runtime {
<listitem> <listitem>
<para> <para>
Under the directory xyz, create a Makefile Under the directory <filename>xyz</filename>, create a Makefile
<example> <example>
<title>Sample Makefile for a driver xyz</title> <title>Sample Makefile for a driver xyz</title>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment