hda: added a few quirks.
* trace the quirks along with codec ids.
This commit is contained in:
parent
72dfdc7940
commit
4d9dca1905
@ -81,8 +81,12 @@ static const struct {
|
|||||||
} kCodecQuirks[] = {
|
} kCodecQuirks[] = {
|
||||||
{ HDA_ALL, HDA_ALL, HDA_ALL, HDA_ALL, HDA_QUIRK_IVREF, 0 },
|
{ HDA_ALL, HDA_ALL, HDA_ALL, HDA_ALL, HDA_QUIRK_IVREF, 0 },
|
||||||
{ HDA_ALL, HDA_ALL, HDA_ALL, HDA_ALL, HDA_QUIRK_IVREF, 0 },
|
{ HDA_ALL, HDA_ALL, HDA_ALL, HDA_ALL, HDA_QUIRK_IVREF, 0 },
|
||||||
|
{ 0x10de, 0x0d94, CIRRUSLOGIC_VENDORID, HDA_ALL,
|
||||||
|
HDA_QUIRK_GPIO1 | HDA_QUIRK_GPIO3, 0 }, // MacBookAir 3,1(2)
|
||||||
{ 0x10de, 0xcb79, CIRRUSLOGIC_VENDORID, 0x4206,
|
{ 0x10de, 0xcb79, CIRRUSLOGIC_VENDORID, 0x4206,
|
||||||
HDA_QUIRK_GPIO1 | HDA_QUIRK_GPIO3, 0 }, // MacBook Pro 5.5
|
HDA_QUIRK_GPIO1 | HDA_QUIRK_GPIO3, 0 }, // MacBook Pro 5,5
|
||||||
|
{ 0x10de, 0xcb89, CIRRUSLOGIC_VENDORID, 0x4206,
|
||||||
|
HDA_QUIRK_GPIO1 | HDA_QUIRK_GPIO3, 0 }, // MacBookPro 7,1
|
||||||
{ 0x8384, 0x7680, SIGMATEL_VENDORID, 0x7680,
|
{ 0x8384, 0x7680, SIGMATEL_VENDORID, 0x7680,
|
||||||
HDA_QUIRK_GPIO0 | HDA_QUIRK_GPIO1, 0}, // Apple Intel Mac
|
HDA_QUIRK_GPIO0 | HDA_QUIRK_GPIO1, 0}, // Apple Intel Mac
|
||||||
{ 0x106b, 0x00a1, REALTEK_VENDORID, 0x0885,
|
{ 0x106b, 0x00a1, REALTEK_VENDORID, 0x0885,
|
||||||
@ -1501,8 +1505,9 @@ hda_codec_new(hda_controller* controller, uint32 codecAddress)
|
|||||||
hda_codec_get_quirks(codec);
|
hda_codec_get_quirks(codec);
|
||||||
|
|
||||||
TRACE("Codec %ld Vendor: %04lx Product: %04lx, Revision: "
|
TRACE("Codec %ld Vendor: %04lx Product: %04lx, Revision: "
|
||||||
"%lu.%lu.%lu.%lu\n", codecAddress, response.vendor, response.device,
|
"%lu.%lu.%lu.%lu Quirks: %04lx\n", codecAddress, response.vendor,
|
||||||
response.major, response.minor, response.revision, response.stepping);
|
response.device, response.major, response.minor, response.revision,
|
||||||
|
response.stepping, codec->quirks);
|
||||||
|
|
||||||
for (uint32 nodeID = response.start;
|
for (uint32 nodeID = response.start;
|
||||||
nodeID < response.start + response.count; nodeID++) {
|
nodeID < response.start + response.count; nodeID++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user