one more compatibility issue

Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
SergeySlice 2021-10-05 19:00:02 +03:00
parent 198a8e3d9b
commit 26f6050622
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@
#define HDA_MAX_CONNS 32 #define HDA_MAX_CONNS 32
#define HDA_MAX_NAMELEN 32 #define HDA_MAX_NAMELEN 32
typedef struct { typedef struct HdaWidget {
UINT8 NodeId = 0; UINT8 NodeId = 0;
UINT8 Type = 0; UINT8 Type = 0;
UINT32 Capabilities = 0; UINT32 Capabilities = 0;
@ -62,7 +62,7 @@ typedef struct {
UINT8 DefaultVolume = 0; UINT8 DefaultVolume = 0;
} HdaWidget; } HdaWidget;
typedef struct { typedef struct HdaCodec {
UINT8 Header[4]; UINT8 Header[4];
CHAR8 Name[HDA_MAX_NAMELEN]; CHAR8 Name[HDA_MAX_NAMELEN];
UINT8 CodecAddress; UINT8 CodecAddress;

View File

@ -340,7 +340,7 @@ PLATFORMDATA ApplePlatformData[] =
// Intel Core i3, i5, or i7 (1000NG4, 1030NG7, 1060NG7) ("Ice Lake") // Intel Core i3, i5, or i7 (1000NG4, 1030NG7, 1060NG7) ("Ice Lake")
{ "MacBookAir9,1"_XS8, "MBA91.88Z.F000.B00.2107050235"_XS8, "1715.0.57.0.0"_XS8, "Mac-0CFF9C7C2B63DF8D"_XS8, // Intel Core i5-1030NG7 @ 1.10 GHz { "MacBookAir9,1"_XS8, "MBA91.88Z.F000.B00.2107050235"_XS8, "1715.0.57.0.0"_XS8, "Mac-0CFF9C7C2B63DF8D"_XS8, // Intel Core i5-1030NG7 @ 1.10 GHz
"MacBook Air"_XS8, "1.0"_XS8, "FVFCCHACMNHP"_XS8, "Air-Enclosure"_XS8, "MacBook Air"_XS8, "1.0"_XS8, "FVFCCHACMNHP"_XS8, "Air-Enclosure"_XS8,
0, 0, 0, 0, 0, 0, ""_XS8, "j223k"_XS8, 0 }, 0, 0, 0, 0, 0, 0, ""_XS8, "j230k"_XS8, 0 },
//Macmini1,1 / Mac mini (Early 2006) //Macmini1,1 / Mac mini (Early 2006)
{ "Macmini1,1"_XS8, "MM11.88Z.0055.B08.0610121326"_XS8, ""_XS8, "Mac-F4208EC8"_XS8, // Intel Core 2 Duo T2300 @ 1.67 GHz { "Macmini1,1"_XS8, "MM11.88Z.0055.B08.0610121326"_XS8, ""_XS8, "Mac-F4208EC8"_XS8, // Intel Core 2 Duo T2300 @ 1.67 GHz
"Mac mini"_XS8, "1.0"_XS8, "W8702N1JU35"_XS8, "Mini-Aluminum"_XS8, "Mac mini"_XS8, "1.0"_XS8, "W8702N1JU35"_XS8, "Mini-Aluminum"_XS8,