Chameleon

Chameleon Commit Details

Date:2017-04-04 01:00:49 (2 years 4 months ago)
Author:ErmaC
Commit:2878
Parents: 2877
Message:add some HDA ids
Changes:
M/branches/ErmaC/Enoch/i386/libsaio/hda.c
M/branches/ErmaC/Enoch/i386/libsaio/hda.h

File differences

branches/ErmaC/Enoch/i386/libsaio/hda.c
110110
111111
112112
113
113
114114
115115
116116
......
215215
216216
217217
218
218
219
220
219221
220222
221223
......
567569
568570
569571
572
573
574
575
570576
571
572577
578
573579
574580
575581
......
819825
820826
821827
822
828
823829
824830
831
825832
826833
827834
......
836843
837844
838845
846
839847
840848
841849
......
846854
847855
848856
857
849858
859
860
861
862
863
850864
865
851866
852867
853868
......
951966
952967
953968
954
969
970
971
955972
956973
957974
{ 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_SER8HDMI,"Haswell"/*, 0, 0 */ },
{ HDA_INTEL_HSW3,"Haswell"/*, 0, 0 */ },
{ HDA_INTEL_BDW,"Broadwell"/*, 0, 0 */ },
{ HDA_INTEL_BROXTON_T,"Broxton-T"/*, 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
{ HDA_ATI_OLAND,"Cape Verde" /*, 0, ? */ }, // HDMi
{ HDA_ATI_TAHITI,"Tahiti" /*, 0, ? */ }, // HDMi
{ HDA_ATI_HAWAII,"Hawaii" /*, 0, ? */ }, // HDMi
//17f3 RDC Semiconductor, Inc.
{ HDA_RDC_M3010,"M3010" /*, 0, 0 */ },
{ HDA_CODEC_NVIDIAGTX550, 0, "GTX550" },
{ HDA_CODEC_NVIDIAGTX570, 0, "GTX570" },
{ HDA_CODEC_NVIDIAGT610, 0,"GT610" },
{ HDA_CODEC_NVIDIATEGRA30, 0,"TEGRA30" },
{ HDA_CODEC_NVIDIATEGRA114, 0,"TEGRA114" },
{ HDA_CODEC_NVIDIATEGRA124, 0,"TEGRA124" },
{ HDA_CODEC_NVIDIATEGRA210, 0,"TEGRA210" },
{ HDA_CODEC_INTELIP, 0, "Ibex Peak" },
{ HDA_CODEC_INTELWB, 0, "Haswell" },
{ HDA_CODEC_INTELBL, 0, "Bearlake" },
{ HDA_CODEC_INTELCA, 0, "Cantiga" },
{ HDA_CODEC_INTELEL, 0, "Eaglelake" },
case HDA_INTEL_OAK:
case HDA_INTEL_BAY:
case HDA_INTEL_HSW1:
case HDA_INTEL_HSW2:
case HDA_INTEL_SER8HDMI:
case HDA_INTEL_HSW3:
case HDA_INTEL_BDW:
case HDA_INTEL_BROXTON_T:
case HDA_INTEL_CPT:
case HDA_INTEL_PATSBURG:
case HDA_INTEL_PPT1:
case HDA_INTEL_82801JD:
case HDA_INTEL_PCH:
case HDA_INTEL_PCH2:
case HDA_INTEL_BROXTON_P:
case HDA_INTEL_SCH:
case HDA_INTEL_LPT1:
case HDA_INTEL_LPT2:
case HDA_INTEL_LPTLP1:
case HDA_INTEL_LPTLP2:
case HDA_INTEL_SRSPLP:
case HDA_INTEL_KABYLAKE_LP:
case HDA_INTEL_SRSP:
case HDA_INTEL_SRSP:
case HDA_INTEL_KABYLAKE:
case HDA_INTEL_LEWISBURG1:
case HDA_INTEL_LEWISBURG2:
case HDA_INTEL_UNPT:
/* 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_RV910:
case HDA_ATI_R1000:
case HDA_ATI_SI:
case HDA_ATI_VERDE:
case HDA_ATI_OLAND:
case HDA_ATI_TAHITI:
case HDA_ATI_HAWAII:
if ( do_skip_a_devprop )
{
verbose("Skip ATi/AMD audio device!\n");
branches/ErmaC/Enoch/i386/libsaio/hda.h
9999
100100
101101
102
102
103103
104104
105105
......
215215
216216
217217
218
219
220
218
219
220
221221
222222
223223
......
606606
607607
608608
609
610
611
612
609613
610614
611615
......
628632
629633
630634
635
631636
632637
633638
#define HDA_INTEL_OAKHDA_MODEL_CONSTRUCT(INTEL, 0x080a) /* Oaktrail */
#define HDA_INTEL_BAYHDA_MODEL_CONSTRUCT(INTEL, 0x0f04) /* BayTrail */
#define HDA_INTEL_HSW1HDA_MODEL_CONSTRUCT(INTEL, 0x0a0c) /* Haswell */
#define HDA_INTEL_HSW2HDA_MODEL_CONSTRUCT(INTEL, 0x0c0c) /* Haswell */
#define HDA_INTEL_SER8HDMIHDA_MODEL_CONSTRUCT(INTEL, 0x0c0c) /* Haswell */
#define HDA_INTEL_HSW3HDA_MODEL_CONSTRUCT(INTEL, 0x0d0c) /* Haswell */
#define HDA_INTEL_BDWHDA_MODEL_CONSTRUCT(INTEL, 0x160c) /* Broadwell */
#define HDA_INTEL_BROXTON_THDA_MODEL_CONSTRUCT(INTEL, 0x1a98) /* Broxton-T */
#define HDA_ATI_RV910HDA_MODEL_CONSTRUCT(ATI, 0xaa98) /* ATI HDMI */
#define HDA_ATI_R1000HDA_MODEL_CONSTRUCT(ATI, 0xaaa0) /* ATI HDMI */
#define HDA_ATI_SIHDA_MODEL_CONSTRUCT(ATI, 0xaaa8) /* ATI HDMI */
#define HDA_ATI_VERDEHDA_MODEL_CONSTRUCT(ATI, 0xaab0) /* ATI HDMI */
//#define HDA_ATI_AAC0HDA_MODEL_CONSTRUCT(ATI, 0xaac0) /* ATI HDMI */
//#define HDA_ATI_AAC8HDA_MODEL_CONSTRUCT(ATI, 0xaac8) /* ATI HDMI */
#define HDA_ATI_OLANDHDA_MODEL_CONSTRUCT(ATI, 0xaab0) /* ATI HDMI */
#define HDA_ATI_TAHITIHDA_MODEL_CONSTRUCT(ATI, 0xaac0) /* ATI HDMI */
#define HDA_ATI_HAWAIIHDA_MODEL_CONSTRUCT(ATI, 0xaac8) /* ATI HDMI */
//#define HDA_ATI_AAD8HDA_MODEL_CONSTRUCT(ATI, 0xaad8) /* ATI HDMI */
//#define HDA_ATI_AAE8HDA_MODEL_CONSTRUCT(ATI, 0xaae8) /* ATI HDMI */
//#define HDA_ATI_AAE0HDA_MODEL_CONSTRUCT(ATI, 0xaae0) /* ATI HDMI */
#define HDA_CODEC_NVIDIAGTX550 HDA_CODEC_CONSTRUCT(NVIDIA, 0x0015)
#define HDA_CODEC_NVIDIAGTX570 HDA_CODEC_CONSTRUCT(NVIDIA, 0x0018)
#define HDA_CODEC_NVIDIAGT610HDA_CODEC_CONSTRUCT(NVIDIA, 0x001c)
#define HDA_CODEC_NVIDIATEGRA30HDA_CODEC_CONSTRUCT(NVIDIA, 0x0020)
#define HDA_CODEC_NVIDIATEGRA114HDA_CODEC_CONSTRUCT(NVIDIA, 0x0022)
#define HDA_CODEC_NVIDIATEGRA124HDA_CODEC_CONSTRUCT(NVIDIA, 0x0028)
#define HDA_CODEC_NVIDIATEGRA210HDA_CODEC_CONSTRUCT(NVIDIA, 0x0029)
#define HDA_CODEC_NVIDIAMCP67 HDA_CODEC_CONSTRUCT(NVIDIA, 0x0067)
#define HDA_CODEC_NVIDIAMCP73 HDA_CODEC_CONSTRUCT(NVIDIA, 0x8001)
#define HDA_CODEC_NVIDIAXXXX HDA_CODEC_CONSTRUCT(NVIDIA, 0xffff)
/* INTEL */
#define HDA_CODEC_INTELIPHDA_CODEC_CONSTRUCT(INTEL, 0x0054)
#define HDA_CODEC_INTELWBHDA_CODEC_CONSTRUCT(INTEL, 0x0a0c)
#define HDA_CODEC_INTELBLHDA_CODEC_CONSTRUCT(INTEL, 0x2801)
#define HDA_CODEC_INTELCAHDA_CODEC_CONSTRUCT(INTEL, 0x2802)
#define HDA_CODEC_INTELELHDA_CODEC_CONSTRUCT(INTEL, 0x2803)

Archive Download the corresponding diff file

Revision: 2878