Skip to content

Commit

Permalink
[ALSA] Fix and clean-up of vxpocket driver
Browse files Browse the repository at this point in the history
Documentation,PCMCIA Kconfig,Digigram VX Pocket driver
- Fixed Oops with request_firmware()
- Detect the card type in runtime (vxpoocket v2 or 440)
- snd-vxp440 driver is merged to snd-vxpocket
- Clean up the code

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jul 28, 2005
1 parent 82fe0c5 commit 6d00a31
Show file tree
Hide file tree
Showing 5 changed files with 379 additions and 122 deletions.
25 changes: 1 addition & 24 deletions Documentation/sound/alsa/ALSA-Configuration.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
Module snd-vxpocket
-------------------

Module for Digigram VX-Pocket VX2 PCMCIA card.
Module for Digigram VX-Pocket VX2 and 440 PCMCIA cards.

ibl - Capture IBL size. (default = 0, minimum size)

Expand All @@ -1396,29 +1396,6 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.

Note: the driver is build only when CONFIG_ISA is set.

Module snd-vxp440
-----------------

Module for Digigram VX-Pocket 440 PCMCIA card.

ibl - Capture IBL size. (default = 0, minimum size)

Module supports up to 8 cards. The module is compiled only when
PCMCIA is supported on kernel.

To activate the driver via the card manager, you'll need to set
up /etc/pcmcia/vxp440.conf. See the sound/pcmcia/vx/vxp440.c.

When the driver is compiled as a module and the hotplug firmware
is supported, the firmware data is loaded via hotplug automatically.
Install the necessary firmware files in alsa-firmware package.
When no hotplug fw loader is available, you need to load the
firmware via vxloader utility in alsa-tools package.

About capture IBL, see the description of snd-vx222 module.

Note: the driver is build only when CONFIG_ISA is set.

Module snd-ymfpci
-----------------

Expand Down
15 changes: 2 additions & 13 deletions sound/pcmcia/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,12 @@ config SND_VXPOCKET
depends on SND && PCMCIA && ISA
select SND_VX_LIB
help
Say Y here to include support for Digigram VXpocket
soundcards.
Say Y here to include support for Digigram VXpocket and
VXpocket 440 soundcards.

To compile this driver as a module, choose M here: the module
will be called snd-vxpocket.

config SND_VXP440
tristate "Digigram VXpocket 440"
depends on SND && PCMCIA && ISA
select SND_VX_LIB
help
Say Y here to include support for Digigram VXpocket 440
soundcards.

To compile this driver as a module, choose M here: the module
will be called snd-vxp440.

config SND_PDAUDIOCF
tristate "Sound Core PDAudioCF"
depends on SND && PCMCIA && ISA
Expand Down
7 changes: 2 additions & 5 deletions sound/pcmcia/vx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
# Copyright (c) 2001 by Jaroslav Kysela <perex@suse.cz>
#

snd-vx-cs-objs := vx_entry.o vxp_ops.o vxp_mixer.o
snd-vxpocket-objs := vxpocket.o
snd-vxp440-objs := vxp440.o
snd-vxpocket-objs := vxpocket.o vxp_ops.o vxp_mixer.o

obj-$(CONFIG_SND_VXPOCKET) += snd-vxpocket.o snd-vx-cs.o
obj-$(CONFIG_SND_VXP440) += snd-vxp440.o snd-vx-cs.o
obj-$(CONFIG_SND_VXPOCKET) += snd-vxpocket.o
Loading

0 comments on commit 6d00a31

Please sign in to comment.