diff options
Diffstat (limited to 'sound/pci/ctxfi/ctatc.h')
-rw-r--r-- | sound/pci/ctxfi/ctatc.h | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/sound/pci/ctxfi/ctatc.h b/sound/pci/ctxfi/ctatc.h index 04459aa0d4d9..a03347232e84 100644 --- a/sound/pci/ctxfi/ctatc.h +++ b/sound/pci/ctxfi/ctatc.h | |||
@@ -37,15 +37,6 @@ enum CTALSADEVS { /* Types of alsa devices */ | |||
37 | NUM_CTALSADEVS /* This should always be the last */ | 37 | NUM_CTALSADEVS /* This should always be the last */ |
38 | }; | 38 | }; |
39 | 39 | ||
40 | enum CTCARDS { | ||
41 | CTSB0760, | ||
42 | CTHENDRIX, | ||
43 | CTSB08801, | ||
44 | CTSB08802, | ||
45 | CTSB08803, | ||
46 | NUM_CTCARDS /* This should always be the last */ | ||
47 | }; | ||
48 | |||
49 | struct ct_atc_chip_sub_details { | 40 | struct ct_atc_chip_sub_details { |
50 | u16 subsys; | 41 | u16 subsys; |
51 | const char *nm_model; | 42 | const char *nm_model; |
@@ -89,8 +80,10 @@ struct ct_atc { | |||
89 | unsigned int msr; /* master sample rate in rsr */ | 80 | unsigned int msr; /* master sample rate in rsr */ |
90 | unsigned int pll_rate; /* current rate of Phase Lock Loop */ | 81 | unsigned int pll_rate; /* current rate of Phase Lock Loop */ |
91 | 82 | ||
92 | const struct ct_atc_chip_details *chip_details; | 83 | int chip_type; |
93 | enum CTCARDS model; | 84 | int model; |
85 | const char *chip_name; | ||
86 | const char *model_name; | ||
94 | 87 | ||
95 | struct ct_vm *vm; /* device virtual memory manager for this card */ | 88 | struct ct_vm *vm; /* device virtual memory manager for this card */ |
96 | int (*map_audio_buffer)(struct ct_atc *atc, struct ct_atc_pcm *apcm); | 89 | int (*map_audio_buffer)(struct ct_atc *atc, struct ct_atc_pcm *apcm); |
@@ -147,7 +140,7 @@ struct ct_atc { | |||
147 | 140 | ||
148 | 141 | ||
149 | int __devinit ct_atc_create(struct snd_card *card, struct pci_dev *pci, | 142 | int __devinit ct_atc_create(struct snd_card *card, struct pci_dev *pci, |
150 | unsigned int rsr, unsigned int msr, | 143 | unsigned int rsr, unsigned int msr, int chip_type, |
151 | struct ct_atc **ratc); | 144 | struct ct_atc **ratc); |
152 | int __devinit ct_atc_create_alsa_devs(struct ct_atc *atc); | 145 | int __devinit ct_atc_create_alsa_devs(struct ct_atc *atc); |
153 | 146 | ||