opti92x-ad1848.c (ee3e542fec6e69bc9fb668698889a37d93950ddf) opti92x-ad1848.c (fb615499f0ad28ed74201c1cdfddf9e64e205424)
1/*
2 card-opti92x-ad1848.c - driver for OPTi 82c92x based soundcards.
3 Copyright (C) 1998-2000 by Massimo Piccioni <dafastidio@libero.it>
4
5 Part of this code was developed at the Italian Ministry of Air Defence,
6 Sixth Division (oh, che pace ...), Rome.
7
8 Thanks to Maria Grazia Pollarini, Salvatore Vassallo.

--- 159 unchanged lines hidden (view full) ---

168#endif /* OPTi93X */
169 { .id = "" }
170};
171
172MODULE_DEVICE_TABLE(pnp_card, snd_opti9xx_pnpids);
173
174#endif /* CONFIG_PNP */
175
1/*
2 card-opti92x-ad1848.c - driver for OPTi 82c92x based soundcards.
3 Copyright (C) 1998-2000 by Massimo Piccioni <dafastidio@libero.it>
4
5 Part of this code was developed at the Italian Ministry of Air Defence,
6 Sixth Division (oh, che pace ...), Rome.
7
8 Thanks to Maria Grazia Pollarini, Salvatore Vassallo.

--- 159 unchanged lines hidden (view full) ---

168#endif /* OPTi93X */
169 { .id = "" }
170};
171
172MODULE_DEVICE_TABLE(pnp_card, snd_opti9xx_pnpids);
173
174#endif /* CONFIG_PNP */
175
176#ifdef OPTi93X
177#define DEV_NAME "opti93x"
178#else
179#define DEV_NAME "opti92x"
180#endif
176#define DEV_NAME KBUILD_MODNAME
181
182static char * snd_opti9xx_names[] = {
183 "unknown",
184 "82C928", "82C929",
185 "82C924", "82C925",
186 "82C930", "82C931", "82C933"
187};
188

--- 973 unchanged lines hidden (view full) ---

1162static int snd_opti9xx_pnp_resume(struct pnp_card_link *pcard)
1163{
1164 return snd_opti9xx_resume(pnp_get_card_drvdata(pcard));
1165}
1166#endif
1167
1168static struct pnp_card_driver opti9xx_pnpc_driver = {
1169 .flags = PNP_DRIVER_RES_DISABLE,
177
178static char * snd_opti9xx_names[] = {
179 "unknown",
180 "82C928", "82C929",
181 "82C924", "82C925",
182 "82C930", "82C931", "82C933"
183};
184

--- 973 unchanged lines hidden (view full) ---

1158static int snd_opti9xx_pnp_resume(struct pnp_card_link *pcard)
1159{
1160 return snd_opti9xx_resume(pnp_get_card_drvdata(pcard));
1161}
1162#endif
1163
1164static struct pnp_card_driver opti9xx_pnpc_driver = {
1165 .flags = PNP_DRIVER_RES_DISABLE,
1170 .name = "opti9xx",
1166 .name = DEV_NAME,
1171 .id_table = snd_opti9xx_pnpids,
1172 .probe = snd_opti9xx_pnp_probe,
1173 .remove = snd_opti9xx_pnp_remove,
1174#ifdef CONFIG_PM
1175 .suspend = snd_opti9xx_pnp_suspend,
1176 .resume = snd_opti9xx_pnp_resume,
1177#endif
1178};

--- 32 unchanged lines hidden ---
1167 .id_table = snd_opti9xx_pnpids,
1168 .probe = snd_opti9xx_pnp_probe,
1169 .remove = snd_opti9xx_pnp_remove,
1170#ifdef CONFIG_PM
1171 .suspend = snd_opti9xx_pnp_suspend,
1172 .resume = snd_opti9xx_pnp_resume,
1173#endif
1174};

--- 32 unchanged lines hidden ---