OpenCloudOS-Kernel/sound/pci
Adrian Knoth f7de8ba3fc ALSA: hdspm - Provide unique driver id based on card serial
Before, /proc/asound looked like this:

 2 [Default        ]: HDSPM - RME RayDAT_f1cd85
                      RME RayDAT S/N 0xf1cd85 at 0xf7300000, irq 18

In case of a second HDSPM card, its name would be Default_1. This is
cumbersome, because the order of the cards isn't stable across reboots.

To help userspace tools referring to the correct card, this commit
provides a unique id for each card:

 2 [HDSPMxf1cd85   ]: HDSPM - RME RayDAT_f1cd85
                      RME RayDAT S/N 0xf1cd85 at 0xf7300000, irq 18

In this example, userspace (configuration files) would then use
hw:HDSPMxf1cd85 to choose the right card.

The serial is masked to 24bits, so this string is always shorter than
sixteen chars.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-01-11 08:55:58 +01:00
..
ac97 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
ali5451 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
asihpi ALSA: asihpi - Fix potential Oops in snd_asihpi_cmode_info() 2012-01-09 18:27:54 +01:00
au88x0 ALSA: Au88x0 - Fix channels swapping of 4 channels playback 2012-01-08 14:39:26 +01:00
aw2 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
ca0106 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
cs46xx ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
cs5535audio ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
ctxfi ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
echoaudio ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
emu10k1 ALSA: emu10k1 - add another Audigy 2 ZS ID 2011-12-31 17:54:58 +01:00
hda ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
ice1712 ALSA: ice1724 - External clock item only for cards with SPDIF_IN 2012-01-08 14:28:32 +01:00
korg1212 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
lola ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
lx6464es ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
mixart ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
nm256 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
oxygen ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
pcxhr ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
riptide ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
rme9652 ALSA: hdspm - Provide unique driver id based on card serial 2012-01-11 08:55:58 +01:00
trident ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
vx222 ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
ymfpci ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
Kconfig ALSA: Fix dependency of CONFIG_SND_TEA575X 2011-08-07 17:54:17 +02:00
Makefile ALSA: Add the driver for Digigram Lola PCI-e boards 2011-05-03 16:31:05 +02:00
ad1889.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
ad1889.h [ALSA] ad1889: add AD1889 driver 2005-09-12 10:40:17 +02:00
ak4531_codec.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
als300.c ALSA: Add missing module parameters for als300 and cs5530 drivers 2011-12-19 10:34:44 +01:00
als4000.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
atiixp.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
atiixp_modem.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
azt3328.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
azt3328.h ALSA: azt3328: fix previous breakage, improve suspend, cleanups 2009-07-15 12:03:26 +02:00
bt87x.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
cmipci.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
cs4281.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
cs5530.c ALSA: Add missing module parameters for als300 and cs5530 drivers 2011-12-19 10:34:44 +01:00
ens1370.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
ens1371.c
es1938.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
es1968.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
fm801.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
intel8x0.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
intel8x0m.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
maestro3.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
rme32.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
rme96.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
sis7019.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
sis7019.h trivial: fix typos s/paramter/parameter/ and s/excute/execute/ in documentation and source comments. 2009-06-12 18:01:46 +02:00
sonicvibes.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
via82xx.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00
via82xx_modem.c ALSA: module_param: make bool parameters really bool 2011-12-19 10:34:41 +01:00