diff options
Diffstat (limited to 'Documentation/sound/alsa')
-rw-r--r-- | Documentation/sound/alsa/ALSA-Configuration.txt | 10 | ||||
-rw-r--r-- | Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl | 4 |
2 files changed, 11 insertions, 3 deletions
diff --git a/Documentation/sound/alsa/ALSA-Configuration.txt b/Documentation/sound/alsa/ALSA-Configuration.txt index d2578013e829..36b511c7cade 100644 --- a/Documentation/sound/alsa/ALSA-Configuration.txt +++ b/Documentation/sound/alsa/ALSA-Configuration.txt | |||
@@ -837,8 +837,10 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed. | |||
837 | 837 | ||
838 | Module for AC'97 motherboards from Intel and compatibles. | 838 | Module for AC'97 motherboards from Intel and compatibles. |
839 | * Intel i810/810E, i815, i820, i830, i84x, MX440 | 839 | * Intel i810/810E, i815, i820, i830, i84x, MX440 |
840 | ICH5, ICH6, ICH7, ESB2 | ||
840 | * SiS 7012 (SiS 735) | 841 | * SiS 7012 (SiS 735) |
841 | * NVidia NForce, NForce2 | 842 | * NVidia NForce, NForce2, NForce3, MCP04, CK804 |
843 | CK8, CK8S, MCP501 | ||
842 | * AMD AMD768, AMD8111 | 844 | * AMD AMD768, AMD8111 |
843 | * ALi m5455 | 845 | * ALi m5455 |
844 | 846 | ||
@@ -868,6 +870,12 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed. | |||
868 | -------------------- | 870 | -------------------- |
869 | 871 | ||
870 | Module for Intel ICH (i8x0) chipset MC97 modems. | 872 | Module for Intel ICH (i8x0) chipset MC97 modems. |
873 | * Intel i810/810E, i815, i820, i830, i84x, MX440 | ||
874 | ICH5, ICH6, ICH7 | ||
875 | * SiS 7013 (SiS 735) | ||
876 | * NVidia NForce, NForce2, NForce2s, NForce3 | ||
877 | * AMD AMD8111 | ||
878 | * ALi m5455 | ||
871 | 879 | ||
872 | ac97_clock - AC'97 codec clock base (0 = auto-detect) | 880 | ac97_clock - AC'97 codec clock base (0 = auto-detect) |
873 | 881 | ||
diff --git a/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl b/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl index e651ed8d1e6f..4251085d38d3 100644 --- a/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl +++ b/Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl | |||
@@ -5206,14 +5206,14 @@ struct _snd_pcm_runtime { | |||
5206 | You need to pass the <function>snd_dma_pci_data(pci)</function>, | 5206 | You need to pass the <function>snd_dma_pci_data(pci)</function>, |
5207 | where pci is the struct <structname>pci_dev</structname> pointer | 5207 | where pci is the struct <structname>pci_dev</structname> pointer |
5208 | of the chip as well. | 5208 | of the chip as well. |
5209 | The <type>snd_sg_buf_t</type> instance is created as | 5209 | The <type>struct snd_sg_buf</type> instance is created as |
5210 | substream->dma_private. You can cast | 5210 | substream->dma_private. You can cast |
5211 | the pointer like: | 5211 | the pointer like: |
5212 | 5212 | ||
5213 | <informalexample> | 5213 | <informalexample> |
5214 | <programlisting> | 5214 | <programlisting> |
5215 | <![CDATA[ | 5215 | <![CDATA[ |
5216 | struct snd_sg_buf *sgbuf = (struct snd_sg_buf_t*)substream->dma_private; | 5216 | struct snd_sg_buf *sgbuf = (struct snd_sg_buf *)substream->dma_private; |
5217 | ]]> | 5217 | ]]> |
5218 | </programlisting> | 5218 | </programlisting> |
5219 | </informalexample> | 5219 | </informalexample> |