aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctatc.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-05-14 09:14:18 -0400
committerTakashi Iwai <tiwai@suse.de>2009-05-14 09:14:18 -0400
commit9fc20f030ba457d20eb994e1def7e2ce7d5ae1a8 (patch)
tree4a2e7cd2d90d7352deabb7bb6d5ac8c0a730ad33 /sound/pci/ctxfi/ctatc.c
parentd0da727e025da8b443a4a614dbb7a031b89857d0 (diff)
ALSA: ctxfi - Move PCI ID definitions to linux/pci_ids.h
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ctxfi/ctatc.c')
-rw-r--r--sound/pci/ctxfi/ctatc.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/sound/pci/ctxfi/ctatc.c b/sound/pci/ctxfi/ctatc.c
index 5f35374863fb..073fe2a59dae 100644
--- a/sound/pci/ctxfi/ctatc.c
+++ b/sound/pci/ctxfi/ctatc.c
@@ -18,7 +18,6 @@
18#include "ctatc.h" 18#include "ctatc.h"
19#include "ctpcm.h" 19#include "ctpcm.h"
20#include "ctmixer.h" 20#include "ctmixer.h"
21#include "ctdrv.h"
22#include "cthardware.h" 21#include "cthardware.h"
23#include "ctsrc.h" 22#include "ctsrc.h"
24#include "ctamixer.h" 23#include "ctamixer.h"
@@ -40,23 +39,25 @@
40 | ((IEC958_AES3_CON_FS_48000) << 24)) 39 | ((IEC958_AES3_CON_FS_48000) << 24))
41 40
42static const struct ct_atc_chip_sub_details atc_sub_details[NUM_CTCARDS] = { 41static const struct ct_atc_chip_sub_details atc_sub_details[NUM_CTCARDS] = {
43 [CTSB0760] = {.subsys = PCI_SUBSYS_CREATIVE_SB0760, 42 [CTSB0760] = {.subsys = PCI_SUBDEVICE_ID_CREATIVE_SB0760,
44 .nm_model = "SB076x"}, 43 .nm_model = "SB076x"},
45 [CTHENDRIX] = {.subsys = PCI_SUBSYS_CREATIVE_HENDRIX, 44 [CTHENDRIX] = {.subsys = PCI_SUBDEVICE_ID_CREATIVE_HENDRIX,
46 .nm_model = "Hendrix"}, 45 .nm_model = "Hendrix"},
47 [CTSB08801] = {.subsys = PCI_SUBSYS_CREATIVE_SB08801, 46 [CTSB08801] = {.subsys = PCI_SUBDEVICE_ID_CREATIVE_SB08801,
48 .nm_model = "SB0880"}, 47 .nm_model = "SB0880"},
49 [CTSB08802] = {.subsys = PCI_SUBSYS_CREATIVE_SB08802, 48 [CTSB08802] = {.subsys = PCI_SUBDEVICE_ID_CREATIVE_SB08802,
50 .nm_model = "SB0880"}, 49 .nm_model = "SB0880"},
51 [CTSB08803] = {.subsys = PCI_SUBSYS_CREATIVE_SB08803, 50 [CTSB08803] = {.subsys = PCI_SUBDEVICE_ID_CREATIVE_SB08803,
52 .nm_model = "SB0880"} 51 .nm_model = "SB0880"}
53}; 52};
54 53
55static struct ct_atc_chip_details atc_chip_details[] = { 54static struct ct_atc_chip_details atc_chip_details[] = {
56 {.vendor = PCI_VENDOR_CREATIVE, .device = PCI_DEVICE_CREATIVE_20K1, 55 {.vendor = PCI_VENDOR_ID_CREATIVE,
56 .device = PCI_DEVICE_ID_CREATIVE_20K1,
57 .sub_details = NULL, 57 .sub_details = NULL,
58 .nm_card = "X-Fi 20k1"}, 58 .nm_card = "X-Fi 20k1"},
59 {.vendor = PCI_VENDOR_CREATIVE, .device = PCI_DEVICE_CREATIVE_20K2, 59 {.vendor = PCI_VENDOR_ID_CREATIVE,
60 .device = PCI_DEVICE_ID_CREATIVE_20K2,
60 .sub_details = atc_sub_details, 61 .sub_details = atc_sub_details,
61 .nm_card = "X-Fi 20k2"}, 62 .nm_card = "X-Fi 20k2"},
62 {} /* terminator */ 63 {} /* terminator */