提交 6fd8b87f 编写于 作者: J James Courtier-Dutton 提交者: Jaroslav Kysela

[ALSA] AC97 - renamed vendor/device to subvendor/subdevice where appropriate

Intel8x0 driver
To avoid confusion, the structure members vendor/device were renamed
to subvendor/subdevice, because we compare them with PCI subsystem vendor
and subsystem device.
Signed-off-by: NJames Courtier-Dutton <James@superbug.co.uk>
上级 69ad07cf
...@@ -1725,229 +1725,229 @@ static struct ac97_pcm ac97_pcm_defs[] __devinitdata = { ...@@ -1725,229 +1725,229 @@ static struct ac97_pcm ac97_pcm_defs[] __devinitdata = {
static struct ac97_quirk ac97_quirks[] __devinitdata = { static struct ac97_quirk ac97_quirks[] __devinitdata = {
{ {
.vendor = 0x0e11, .subvendor = 0x0e11,
.device = 0x008a, .subdevice = 0x008a,
.name = "Compaq Evo W4000", /* AD1885 */ .name = "Compaq Evo W4000", /* AD1885 */
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x0e11, .subvendor = 0x0e11,
.device = 0x00b8, .subdevice = 0x00b8,
.name = "Compaq Evo D510C", .name = "Compaq Evo D510C",
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x0e11, .subvendor = 0x0e11,
.device = 0x0860, .subdevice = 0x0860,
.name = "HP/Compaq nx7010", .name = "HP/Compaq nx7010",
.type = AC97_TUNE_MUTE_LED .type = AC97_TUNE_MUTE_LED
}, },
{ {
.vendor = 0x1014, .subvendor = 0x1014,
.device = 0x1f00, .subdevice = 0x1f00,
.name = "MS-9128", .name = "MS-9128",
.type = AC97_TUNE_ALC_JACK .type = AC97_TUNE_ALC_JACK
}, },
{ {
.vendor = 0x1028, .subvendor = 0x1028,
.device = 0x00d8, .subdevice = 0x00d8,
.name = "Dell Precision 530", /* AD1885 */ .name = "Dell Precision 530", /* AD1885 */
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x1028, .subvendor = 0x1028,
.device = 0x010d, .subdevice = 0x010d,
.name = "Dell", /* which model? AD1885 */ .name = "Dell", /* which model? AD1885 */
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x1028, .subvendor = 0x1028,
.device = 0x0126, .subdevice = 0x0126,
.name = "Dell Optiplex GX260", /* AD1981A */ .name = "Dell Optiplex GX260", /* AD1981A */
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x1028, .subvendor = 0x1028,
.device = 0x012c, .subdevice = 0x012c,
.name = "Dell Precision 650", /* AD1981A */ .name = "Dell Precision 650", /* AD1981A */
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x1028, .subvendor = 0x1028,
.device = 0x012d, .subdevice = 0x012d,
.name = "Dell Precision 450", /* AD1981B*/ .name = "Dell Precision 450", /* AD1981B*/
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x1028, .subvendor = 0x1028,
.device = 0x0147, .subdevice = 0x0147,
.name = "Dell", /* which model? AD1981B*/ .name = "Dell", /* which model? AD1981B*/
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x1028, .subvendor = 0x1028,
.device = 0x0163, .subdevice = 0x0163,
.name = "Dell Unknown", /* STAC9750/51 */ .name = "Dell Unknown", /* STAC9750/51 */
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x103c, .subvendor = 0x103c,
.device = 0x006d, .subdevice = 0x006d,
.name = "HP zv5000", .name = "HP zv5000",
.type = AC97_TUNE_MUTE_LED /*AD1981B*/ .type = AC97_TUNE_MUTE_LED /*AD1981B*/
}, },
{ /* FIXME: which codec? */ { /* FIXME: which codec? */
.vendor = 0x103c, .subvendor = 0x103c,
.device = 0x00c3, .subdevice = 0x00c3,
.name = "HP xw6000", .name = "HP xw6000",
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x103c, .subvendor = 0x103c,
.device = 0x088c, .subdevice = 0x088c,
.name = "HP nc8000", .name = "HP nc8000",
.type = AC97_TUNE_MUTE_LED .type = AC97_TUNE_MUTE_LED
}, },
{ {
.vendor = 0x103c, .subvendor = 0x103c,
.device = 0x0890, .subdevice = 0x0890,
.name = "HP nc6000", .name = "HP nc6000",
.type = AC97_TUNE_MUTE_LED .type = AC97_TUNE_MUTE_LED
}, },
{ {
.vendor = 0x103c, .subvendor = 0x103c,
.device = 0x129d, .subdevice = 0x129d,
.name = "HP xw8000", .name = "HP xw8000",
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x103c, .subvendor = 0x103c,
.device = 0x12f1, .subdevice = 0x12f1,
.name = "HP xw8200", /* AD1981B*/ .name = "HP xw8200", /* AD1981B*/
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x103c, .subvendor = 0x103c,
.device = 0x12f2, .subdevice = 0x12f2,
.name = "HP xw6200", .name = "HP xw6200",
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x103c, .subvendor = 0x103c,
.device = 0x3008, .subdevice = 0x3008,
.name = "HP xw4200", /* AD1981B*/ .name = "HP xw4200", /* AD1981B*/
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x104d, .subvendor = 0x104d,
.device = 0x8197, .subdevice = 0x8197,
.name = "Sony S1XP", .name = "Sony S1XP",
.type = AC97_TUNE_INV_EAPD .type = AC97_TUNE_INV_EAPD
}, },
{ {
.vendor = 0x1043, .subvendor = 0x1043,
.device = 0x80f3, .subdevice = 0x80f3,
.name = "ASUS ICH5/AD1985", .name = "ASUS ICH5/AD1985",
.type = AC97_TUNE_AD_SHARING .type = AC97_TUNE_AD_SHARING
}, },
{ {
.vendor = 0x10cf, .subvendor = 0x10cf,
.device = 0x11c3, .subdevice = 0x11c3,
.name = "Fujitsu-Siemens E4010", .name = "Fujitsu-Siemens E4010",
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x10cf, .subvendor = 0x10cf,
.device = 0x1253, .subdevice = 0x1253,
.name = "Fujitsu S6210", /* STAC9750/51 */ .name = "Fujitsu S6210", /* STAC9750/51 */
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x10f1, .subvendor = 0x10f1,
.device = 0x2665, .subdevice = 0x2665,
.name = "Fujitsu-Siemens Celsius", /* AD1981? */ .name = "Fujitsu-Siemens Celsius", /* AD1981? */
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x10f1, .subvendor = 0x10f1,
.device = 0x2885, .subdevice = 0x2885,
.name = "AMD64 Mobo", /* ALC650 */ .name = "AMD64 Mobo", /* ALC650 */
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x110a, .subvendor = 0x110a,
.device = 0x0056, .subdevice = 0x0056,
.name = "Fujitsu-Siemens Scenic", /* AD1981? */ .name = "Fujitsu-Siemens Scenic", /* AD1981? */
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x11d4, .subvendor = 0x11d4,
.device = 0x5375, .subdevice = 0x5375,
.name = "ADI AD1985 (discrete)", .name = "ADI AD1985 (discrete)",
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x1462, .subvendor = 0x1462,
.device = 0x5470, .subdevice = 0x5470,
.name = "MSI P4 ATX 645 Ultra", .name = "MSI P4 ATX 645 Ultra",
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x1734, .subvendor = 0x1734,
.device = 0x0088, .subdevice = 0x0088,
.name = "Fujitsu-Siemens D1522", /* AD1981 */ .name = "Fujitsu-Siemens D1522", /* AD1981 */
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x8086, .subvendor = 0x8086,
.device = 0x2000, .subdevice = 0x2000,
.mask = 0xfff0, .mask = 0xfff0,
.name = "Intel ICH5/AD1985", .name = "Intel ICH5/AD1985",
.type = AC97_TUNE_AD_SHARING .type = AC97_TUNE_AD_SHARING
}, },
{ {
.vendor = 0x8086, .subvendor = 0x8086,
.device = 0x4000, .subdevice = 0x4000,
.mask = 0xfff0, .mask = 0xfff0,
.name = "Intel ICH5/AD1985", .name = "Intel ICH5/AD1985",
.type = AC97_TUNE_AD_SHARING .type = AC97_TUNE_AD_SHARING
}, },
{ {
.vendor = 0x8086, .subvendor = 0x8086,
.device = 0x4856, .subdevice = 0x4856,
.name = "Intel D845WN (82801BA)", .name = "Intel D845WN (82801BA)",
.type = AC97_TUNE_SWAP_HP .type = AC97_TUNE_SWAP_HP
}, },
{ {
.vendor = 0x8086, .subvendor = 0x8086,
.device = 0x4d44, .subdevice = 0x4d44,
.name = "Intel D850EMV2", /* AD1885 */ .name = "Intel D850EMV2", /* AD1885 */
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x8086, .subvendor = 0x8086,
.device = 0x4d56, .subdevice = 0x4d56,
.name = "Intel ICH/AD1885", .name = "Intel ICH/AD1885",
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
}, },
{ {
.vendor = 0x8086, .subvendor = 0x8086,
.device = 0x6000, .subdevice = 0x6000,
.mask = 0xfff0, .mask = 0xfff0,
.name = "Intel ICH5/AD1985", .name = "Intel ICH5/AD1985",
.type = AC97_TUNE_AD_SHARING .type = AC97_TUNE_AD_SHARING
}, },
{ {
.vendor = 0x8086, .subvendor = 0x8086,
.device = 0xe000, .subdevice = 0xe000,
.mask = 0xfff0, .mask = 0xfff0,
.name = "Intel ICH5/AD1985", .name = "Intel ICH5/AD1985",
.type = AC97_TUNE_AD_SHARING .type = AC97_TUNE_AD_SHARING
}, },
#if 0 /* FIXME: this seems wrong on most boards */ #if 0 /* FIXME: this seems wrong on most boards */
{ {
.vendor = 0x8086, .subvendor = 0x8086,
.device = 0xa000, .subdevice = 0xa000,
.mask = 0xfff0, .mask = 0xfff0,
.name = "Intel ICH5/AD1985", .name = "Intel ICH5/AD1985",
.type = AC97_TUNE_HP_ONLY .type = AC97_TUNE_HP_ONLY
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册