Chameleon

Chameleon Commit Details

Date:2015-04-29 15:04:07 (4 years 1 month ago)
Author:ErmaC
Commit:2665
Parents: 2664
Message:Update data for embedded HDA enabler.
Changes:
M/trunk/i386/libsaio/hda.h
M/trunk/i386/libsaio/hda.c

File differences

trunk/i386/libsaio/hda.c
9494
9595
9696
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
122129
123130
124131
......
161168
162169
163170
171
164172
165173
166174
......
183191
184192
185193
194
186195
187196
188197
......
210219
211220
212221
222
213223
214224
215225
......
607617
608618
609619
620
610621
611622
612623
613
614
615
616
617
618
619
624
620625
621626
622627
623628
624629
630
625631
626632
627633
628634
629635
636
637
638
639
640
641
642
643
644
645
630646
631647
632648
......
700716
701717
702718
719
703720
704721
705722
......
722739
723740
724741
742
725743
726744
727745
static hda_controller_devices know_hda_controller[] = {
//8086 Intel Corporation
{ HDA_INTEL_OAK,"Oaktrail"/*, 0, 0 */ },
{ HDA_INTEL_BAY,"BayTrail"/*, 0, 0 */ },
{ HDA_INTEL_HSW1,"Haswell"/*, 0, 0 */ },
{ HDA_INTEL_HSW2,"Haswell"/*, 0, 0 */ },
{ HDA_INTEL_HSW3,"Haswell"/*, 0, 0 */ },
{ HDA_INTEL_CPT,"Cougar Point"/*, 0, 0 */ },
{ HDA_INTEL_PATSBURG,"Patsburg"/*, 0, 0 */ },
{ HDA_INTEL_PPT1,"Panther Point"/*, 0, 0 */ },
{ HDA_INTEL_LPT1,"Lynx Point"/*, 0, 0 */ },
{ HDA_INTEL_LPT2,"Lynx Point"/*, 0, 0 */ },
{ HDA_INTEL_WCPT,"Wildcat Point"/*, 0, 0 */ },
{ HDA_INTEL_WELLS1,"Wellsburg"/*, 0, 0 */ },
{ HDA_INTEL_WELLS2,"Wellsburg"/*, 0, 0 */ },
{ HDA_INTEL_LPTLP1,"Lynx Point-LP"/*, 0, 0 */ },
{ HDA_INTEL_LPTLP2,"Lynx Point-LP"/*, 0, 0 */ },
{ HDA_INTEL_82801F,"82801F"/*, 0, 0 */ },
{ HDA_INTEL_63XXESB,"631x/632xESB"/*, 0, 0 */ },
{ HDA_INTEL_82801G,"82801G"/*, 0, 0 */ },
{ HDA_INTEL_82801H,"82801H"/*, 0, 0 */ },
{ HDA_INTEL_82801I,"82801I"/*, 0, 0 */ },
{ HDA_INTEL_82801JI,"82801JI"/*, 0, 0 */ },
{ HDA_INTEL_82801JD,"82801JD"/*, 0, 0 */ },
{ HDA_INTEL_PCH,"5 Series/3400 Series" /*, 0, 0 */ },
{ HDA_INTEL_PCH2,"5 Series/3400 Series" /*, 0, 0 */ },
{ HDA_INTEL_SCH,"SCH"/*, 0, 0 */ },
{ HDA_INTEL_OAK,"Oaktrail"/*, 0, 0 */ },
{ HDA_INTEL_BAY,"BayTrail"/*, 0, 0 */ },
{ HDA_INTEL_HSW1,"Haswell"/*, 0, 0 */ },
{ HDA_INTEL_HSW2,"Haswell"/*, 0, 0 */ },
{ HDA_INTEL_HSW3,"Haswell"/*, 0, 0 */ },
{ HDA_INTEL_BDW,"Broadwell"/*, 0, 0 */ },
{ HDA_INTEL_CPT,"Cougar Point"/*, 0, 0 */ },
{ HDA_INTEL_PATSBURG,"Patsburg"/*, 0, 0 */ },
{ HDA_INTEL_PPT1,"Panther Point"/*, 0, 0 */ },
{ HDA_INTEL_BRASWELL,"Braswell"/*, 0, 0 */ },
{ HDA_INTEL_82801F,"82801F"/*, 0, 0 */ },
{ HDA_INTEL_63XXESB,"631x/632xESB"/*, 0, 0 */ },
{ HDA_INTEL_82801G,"82801G"/*, 0, 0 */ },
{ HDA_INTEL_82801H,"82801H"/*, 0, 0 */ },
{ HDA_INTEL_82801I,"82801I"/*, 0, 0 */ },
{ HDA_INTEL_ICH9,"ICH9"/*, 0, 0 */ },
{ HDA_INTEL_82801JI,"82801JI"/*, 0, 0 */ },
{ HDA_INTEL_82801JD,"82801JD"/*, 0, 0 */ },
{ HDA_INTEL_PCH,"5 Series/3400 Series"/*, 0, 0 */ },
{ HDA_INTEL_PCH2,"5 Series/3400 Series"/*, 0, 0 */ },
{ HDA_INTEL_SCH,"SCH"/*, 0, 0 */ },
{ HDA_INTEL_LPT1,"Lynx Point"/*, 0, 0 */ },
{ HDA_INTEL_LPT2,"Lynx Point"/*, 0, 0 */ },
{ HDA_INTEL_WCPT,"Wildcat Point"/*, 0, 0 */ },
{ HDA_INTEL_WELLS1,"Wellsburg"/*, 0, 0 */ },
{ HDA_INTEL_WELLS2,"Wellsburg"/*, 0, 0 */ },
{ HDA_INTEL_WCPTLP,"Wildcat Point-LP"/*, 0, 0 */ },
{ HDA_INTEL_LPTLP1,"Lynx Point-LP"/*, 0, 0 */ },
{ HDA_INTEL_LPTLP2,"Lynx Point-LP"/*, 0, 0 */ },
{ HDA_INTEL_SRSPLP,"Sunrise Point-LP"/*, 0, 0 */ },
{ HDA_INTEL_SRSP,"Sunrise Point"/*, 0, 0 */ },
//10de NVIDIA Corporation
{ HDA_NVIDIA_MCP51,"MCP51" /*, 0, HDAC_QUIRK_MSI */ },
{ HDA_NVIDIA_MCP55,"MCP55" /*, 0, HDAC_QUIRK_MSI */ },
{ HDA_ATI_SB450,"SB4x0" /*, 0, 0 */ },
{ HDA_ATI_SB600,"SB600" /*, 0, 0 */ },
{ HDA_ATI_RS600,"RS600" /*, 0, 0 */ },
{ HDA_ATI_HUDSON,"Hudson" /*, 0, 0 */ },
{ HDA_ATI_RS690,"RS690" /*, 0, 0 */ },
{ HDA_ATI_RS780,"RS780" /*, 0, 0 */ },
{ HDA_ATI_RS880,"RS880" /*, 0, 0 */ },
{ HDA_ATI_RV940,"RV940" /*, 0, 0 */ },
{ HDA_ATI_RV970,"RV970" /*, 0, 0 */ },
{ HDA_ATI_R1000,"R1000" /*, 0, 0 */ }, // HDMi
{ HDA_ATI_SI,"SI" /*, 0, 0 */ },
{ HDA_ATI_VERDE,"Cape Verde" /*, 0, ? */ }, // HDMi
//17f3 RDC Semiconductor, Inc.
{ HDA_RDC_M3010,"M3010" /*, 0, 0 */ },
{ HDA_CODEC_CS4206, 0, "Cirrus Logic CS4206" },
{ HDA_CODEC_CS4207, 0, "Cirrus Logic CS4207" },
{ HDA_CODEC_CS4210, 0, "Cirrus Logic CS4210" },
{ HDA_CODEC_ALC221, 0, "Realtek ALC221" },
{ HDA_CODEC_ALC260, 0, "Realtek ALC260" },
{ HDA_CODEC_ALC262, 0, "Realtek ALC262" },
case HDA_INTEL_HSW1:
case HDA_INTEL_HSW2:
case HDA_INTEL_HSW3:
case HDA_INTEL_BDW:
case HDA_INTEL_CPT:
case HDA_INTEL_PATSBURG:
case HDA_INTEL_PPT1:
case HDA_INTEL_LPT1:
case HDA_INTEL_LPT2:
case HDA_INTEL_WCPT:
case HDA_INTEL_WELLS1:
case HDA_INTEL_WELLS2:
case HDA_INTEL_LPTLP1:
case HDA_INTEL_LPTLP2:
case HDA_INTEL_BRASWELL:
case HDA_INTEL_82801F:
case HDA_INTEL_63XXESB:
case HDA_INTEL_82801G:
case HDA_INTEL_82801H:
case HDA_INTEL_82801I:
case HDA_INTEL_ICH9:
case HDA_INTEL_82801JI:
case HDA_INTEL_82801JD:
case HDA_INTEL_PCH:
case HDA_INTEL_PCH2:
case HDA_INTEL_SCH:
case HDA_INTEL_LPT1:
case HDA_INTEL_LPT2:
case HDA_INTEL_WCPT:
case HDA_INTEL_WELLS1:
case HDA_INTEL_WELLS2:
case HDA_INTEL_WCPTLP:
case HDA_INTEL_LPTLP1:
case HDA_INTEL_LPTLP2:
case HDA_INTEL_SRSPLP:
case HDA_INTEL_SRSP:
/* if the key value kHDEFLayoutID as a value set that value, if not will assign a default layout */
if (getValueForKey(kHDEFLayoutID, &value, &len, &bootInfo->chameleonConfig) && len == HDEF_LEN * 2)
*************************************************************************************************************/
case HDA_ATI_SB450:
case HDA_ATI_SB600:
case HDA_ATI_HUDSON:
case HDA_ATI_RS600:
case HDA_ATI_RS690:
case HDA_ATI_RS780:
case HDA_ATI_RV930:
case HDA_ATI_RV910:
case HDA_ATI_R1000:
case HDA_ATI_SI:
case HDA_ATI_VERDE:
/* if the key value kHDAULayoutID as a value set that value, if not will assign a default layout */
trunk/i386/libsaio/hda.h
9292
9393
9494
95
96
95
96
9797
9898
9999
100
100101
101102
102103
104
103105
104106
105107
106108
107109
110
108111
109112
110113
111114
112
115
113116
114
115
117
118
116119
117120
118121
122
119123
120124
125
126
121127
122128
123129
......
167173
168174
169175
176
170177
171178
172179
......
191198
192199
193200
201
194202
195203
196204
/* Intel */
#define INTEL_VENDORID0x8086
#define HDA_INTEL_OAKHDA_MODEL_CONSTRUCT(INTEL, 0x080a) // NEW
#define HDA_INTEL_BAYHDA_MODEL_CONSTRUCT(INTEL, 0x0f04) // NEW
#define HDA_INTEL_OAKHDA_MODEL_CONSTRUCT(INTEL, 0x080a)
#define HDA_INTEL_BAYHDA_MODEL_CONSTRUCT(INTEL, 0x0f04)
#define HDA_INTEL_HSW1HDA_MODEL_CONSTRUCT(INTEL, 0x0a0c)
#define HDA_INTEL_HSW2HDA_MODEL_CONSTRUCT(INTEL, 0x0c0c)
#define HDA_INTEL_HSW3HDA_MODEL_CONSTRUCT(INTEL, 0x0d0c)
#define HDA_INTEL_BDWHDA_MODEL_CONSTRUCT(INTEL, 0x160c)
#define HDA_INTEL_CPTHDA_MODEL_CONSTRUCT(INTEL, 0x1c20)
#define HDA_INTEL_PATSBURGHDA_MODEL_CONSTRUCT(INTEL, 0x1d20)
#define HDA_INTEL_PPT1HDA_MODEL_CONSTRUCT(INTEL, 0x1e20) // Macmini6,2
#define HDA_INTEL_BRASWELL HDA_MODEL_CONSTRUCT(INTEL, 0x2284)
#define HDA_INTEL_82801FHDA_MODEL_CONSTRUCT(INTEL, 0x2668)
#define HDA_INTEL_63XXESBHDA_MODEL_CONSTRUCT(INTEL, 0x269a)
#define HDA_INTEL_82801GHDA_MODEL_CONSTRUCT(INTEL, 0x27d8)
#define HDA_INTEL_82801HHDA_MODEL_CONSTRUCT(INTEL, 0x284b)
#define HDA_INTEL_82801IHDA_MODEL_CONSTRUCT(INTEL, 0x293e)
#define HDA_INTEL_ICH9HDA_MODEL_CONSTRUCT(INTEL, 0x293f)
#define HDA_INTEL_82801JIHDA_MODEL_CONSTRUCT(INTEL, 0x3a3e)
#define HDA_INTEL_82801JDHDA_MODEL_CONSTRUCT(INTEL, 0x3a6e)
#define HDA_INTEL_PCHHDA_MODEL_CONSTRUCT(INTEL, 0x3b56)
#define HDA_INTEL_PCH2HDA_MODEL_CONSTRUCT(INTEL, 0x3b57)
#define HDA_INTEL_MACBOOKPRO92HDA_MODEL_CONSTRUCT(INTEL, 0x7270) // NEW
#define HDA_INTEL_MACBOOKPRO92HDA_MODEL_CONSTRUCT(INTEL, 0x7270)
#define HDA_INTEL_SCHHDA_MODEL_CONSTRUCT(INTEL, 0x811b)
#define HDA_INTEL_LPT1HDA_MODEL_CONSTRUCT(INTEL, 0x8c20) // NEW
#define HDA_INTEL_LPT2HDA_MODEL_CONSTRUCT(INTEL, 0x8c21) // NEW
#define HDA_INTEL_LPT1HDA_MODEL_CONSTRUCT(INTEL, 0x8c20)
#define HDA_INTEL_LPT2HDA_MODEL_CONSTRUCT(INTEL, 0x8c21)
#define HDA_INTEL_WCPTHDA_MODEL_CONSTRUCT(INTEL, 0x8ca0)
#define HDA_INTEL_WELLS1HDA_MODEL_CONSTRUCT(INTEL, 0x8d20)
#define HDA_INTEL_WELLS2HDA_MODEL_CONSTRUCT(INTEL, 0x8d21)
#define HDA_INTEL_WCPTLP HDA_MODEL_CONSTRUCT(INTEL, 0x9ca0)
#define HDA_INTEL_LPTLP1HDA_MODEL_CONSTRUCT(INTEL, 0x9c20)
#define HDA_INTEL_LPTLP2HDA_MODEL_CONSTRUCT(INTEL, 0x9c21)
#define HDA_INTEL_SRSPLP HDA_MODEL_CONSTRUCT(INTEL, 0x9d70)
#define HDA_INTEL_SRSPHDA_MODEL_CONSTRUCT(INTEL, 0xa170)
#define HDA_INTEL_ALLHDA_MODEL_CONSTRUCT(INTEL, 0xffff)
/* Nvidia */
#define ATI_VENDORID0x1002
#define HDA_ATI_SB450HDA_MODEL_CONSTRUCT(ATI, 0x437b)
#define HDA_ATI_SB600HDA_MODEL_CONSTRUCT(ATI, 0x4383)
#define HDA_ATI_HUDSONHDA_MODEL_CONSTRUCT(ATI, 0x780d)
#define HDA_ATI_RS600HDA_MODEL_CONSTRUCT(ATI, 0x793b)
#define HDA_ATI_RS690HDA_MODEL_CONSTRUCT(ATI, 0x7919)
#define HDA_ATI_RS780HDA_MODEL_CONSTRUCT(ATI, 0x960f)
#define HDA_ATI_RV930HDA_MODEL_CONSTRUCT(ATI, 0xaa90)
#define HDA_ATI_RV910HDA_MODEL_CONSTRUCT(ATI, 0xaa98)
#define HDA_ATI_R1000HDA_MODEL_CONSTRUCT(ATI, 0xaaa0)
#define HDA_ATI_SIHDA_MODEL_CONSTRUCT(ATI, 0xaaa8)
#define HDA_ATI_VERDEHDA_MODEL_CONSTRUCT(ATI, 0xaab0)
#define HDA_ATI_ALLHDA_MODEL_CONSTRUCT(ATI, 0xffff)

Archive Download the corresponding diff file

Revision: 2665