aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/intel8x0.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/intel8x0.c')
-rw-r--r--sound/pci/intel8x0.c70
1 files changed, 7 insertions, 63 deletions
diff --git a/sound/pci/intel8x0.c b/sound/pci/intel8x0.c
index d846cbfaa31c..b96f87e73398 100644
--- a/sound/pci/intel8x0.c
+++ b/sound/pci/intel8x0.c
@@ -94,62 +94,6 @@ MODULE_PARM_DESC(xbox, "Set to 1 for Xbox, if you have problems with the AC'97 c
94/* 94/*
95 * Direct registers 95 * Direct registers
96 */ 96 */
97
98#ifndef PCI_DEVICE_ID_INTEL_82801
99#define PCI_DEVICE_ID_INTEL_82801 0x2415
100#endif
101#ifndef PCI_DEVICE_ID_INTEL_82901
102#define PCI_DEVICE_ID_INTEL_82901 0x2425
103#endif
104#ifndef PCI_DEVICE_ID_INTEL_82801BA
105#define PCI_DEVICE_ID_INTEL_82801BA 0x2445
106#endif
107#ifndef PCI_DEVICE_ID_INTEL_440MX
108#define PCI_DEVICE_ID_INTEL_440MX 0x7195
109#endif
110#ifndef PCI_DEVICE_ID_INTEL_ICH3
111#define PCI_DEVICE_ID_INTEL_ICH3 0x2485
112#endif
113#ifndef PCI_DEVICE_ID_INTEL_ICH4
114#define PCI_DEVICE_ID_INTEL_ICH4 0x24c5
115#endif
116#ifndef PCI_DEVICE_ID_INTEL_ICH5
117#define PCI_DEVICE_ID_INTEL_ICH5 0x24d5
118#endif
119#ifndef PCI_DEVICE_ID_INTEL_ESB_5
120#define PCI_DEVICE_ID_INTEL_ESB_5 0x25a6
121#endif
122#ifndef PCI_DEVICE_ID_INTEL_ICH6_18
123#define PCI_DEVICE_ID_INTEL_ICH6_18 0x266e
124#endif
125#ifndef PCI_DEVICE_ID_INTEL_ICH7_20
126#define PCI_DEVICE_ID_INTEL_ICH7_20 0x27de
127#endif
128#ifndef PCI_DEVICE_ID_INTEL_ESB2_14
129#define PCI_DEVICE_ID_INTEL_ESB2_14 0x2698
130#endif
131#ifndef PCI_DEVICE_ID_SI_7012
132#define PCI_DEVICE_ID_SI_7012 0x7012
133#endif
134#ifndef PCI_DEVICE_ID_NVIDIA_MCP_AUDIO
135#define PCI_DEVICE_ID_NVIDIA_MCP_AUDIO 0x01b1
136#endif
137#ifndef PCI_DEVICE_ID_NVIDIA_CK804_AUDIO
138#define PCI_DEVICE_ID_NVIDIA_CK804_AUDIO 0x0059
139#endif
140#ifndef PCI_DEVICE_ID_NVIDIA_MCP2_AUDIO
141#define PCI_DEVICE_ID_NVIDIA_MCP2_AUDIO 0x006a
142#endif
143#ifndef PCI_DEVICE_ID_NVIDIA_CK8_AUDIO
144#define PCI_DEVICE_ID_NVIDIA_CK8_AUDIO 0x008a
145#endif
146#ifndef PCI_DEVICE_ID_NVIDIA_MCP3_AUDIO
147#define PCI_DEVICE_ID_NVIDIA_MCP3_AUDIO 0x00da
148#endif
149#ifndef PCI_DEVICE_ID_NVIDIA_CK8S_AUDIO
150#define PCI_DEVICE_ID_NVIDIA_CK8S_AUDIO 0x00ea
151#endif
152
153enum { DEVICE_INTEL, DEVICE_INTEL_ICH4, DEVICE_SIS, DEVICE_ALI, DEVICE_NFORCE }; 97enum { DEVICE_INTEL, DEVICE_INTEL_ICH4, DEVICE_SIS, DEVICE_ALI, DEVICE_NFORCE };
154 98
155#define ICHREG(x) ICH_REG_##x 99#define ICHREG(x) ICH_REG_##x
@@ -2801,19 +2745,19 @@ static struct shortname_table {
2801 unsigned int id; 2745 unsigned int id;
2802 const char *s; 2746 const char *s;
2803} shortnames[] __devinitdata = { 2747} shortnames[] __devinitdata = {
2804 { PCI_DEVICE_ID_INTEL_82801, "Intel 82801AA-ICH" }, 2748 { PCI_DEVICE_ID_INTEL_82801AA_5, "Intel 82801AA-ICH" },
2805 { PCI_DEVICE_ID_INTEL_82901, "Intel 82901AB-ICH0" }, 2749 { PCI_DEVICE_ID_INTEL_82801AB_5, "Intel 82901AB-ICH0" },
2806 { PCI_DEVICE_ID_INTEL_82801BA, "Intel 82801BA-ICH2" }, 2750 { PCI_DEVICE_ID_INTEL_82801BA_4, "Intel 82801BA-ICH2" },
2807 { PCI_DEVICE_ID_INTEL_440MX, "Intel 440MX" }, 2751 { PCI_DEVICE_ID_INTEL_440MX, "Intel 440MX" },
2808 { PCI_DEVICE_ID_INTEL_ICH3, "Intel 82801CA-ICH3" }, 2752 { PCI_DEVICE_ID_INTEL_82801CA_5, "Intel 82801CA-ICH3" },
2809 { PCI_DEVICE_ID_INTEL_ICH4, "Intel 82801DB-ICH4" }, 2753 { PCI_DEVICE_ID_INTEL_82801DB_5, "Intel 82801DB-ICH4" },
2810 { PCI_DEVICE_ID_INTEL_ICH5, "Intel ICH5" }, 2754 { PCI_DEVICE_ID_INTEL_82801EB_5, "Intel ICH5" },
2811 { PCI_DEVICE_ID_INTEL_ESB_5, "Intel 6300ESB" }, 2755 { PCI_DEVICE_ID_INTEL_ESB_5, "Intel 6300ESB" },
2812 { PCI_DEVICE_ID_INTEL_ICH6_18, "Intel ICH6" }, 2756 { PCI_DEVICE_ID_INTEL_ICH6_18, "Intel ICH6" },
2813 { PCI_DEVICE_ID_INTEL_ICH7_20, "Intel ICH7" }, 2757 { PCI_DEVICE_ID_INTEL_ICH7_20, "Intel ICH7" },
2814 { PCI_DEVICE_ID_INTEL_ESB2_14, "Intel ESB2" }, 2758 { PCI_DEVICE_ID_INTEL_ESB2_14, "Intel ESB2" },
2815 { PCI_DEVICE_ID_SI_7012, "SiS SI7012" }, 2759 { PCI_DEVICE_ID_SI_7012, "SiS SI7012" },
2816 { PCI_DEVICE_ID_NVIDIA_MCP_AUDIO, "NVidia nForce" }, 2760 { PCI_DEVICE_ID_NVIDIA_MCP1_AUDIO, "NVidia nForce" },
2817 { PCI_DEVICE_ID_NVIDIA_MCP2_AUDIO, "NVidia nForce2" }, 2761 { PCI_DEVICE_ID_NVIDIA_MCP2_AUDIO, "NVidia nForce2" },
2818 { PCI_DEVICE_ID_NVIDIA_MCP3_AUDIO, "NVidia nForce3" }, 2762 { PCI_DEVICE_ID_NVIDIA_MCP3_AUDIO, "NVidia nForce3" },
2819 { PCI_DEVICE_ID_NVIDIA_CK8S_AUDIO, "NVidia CK8S" }, 2763 { PCI_DEVICE_ID_NVIDIA_CK8S_AUDIO, "NVidia CK8S" },