More AC97, now with VIA kinda sorta working and ES1371

This commit is contained in:
RichardG867
2021-07-13 00:53:26 -03:00
parent 5bce2f09c7
commit ff1a55d08d
6 changed files with 402 additions and 316 deletions

View File

@@ -29,7 +29,8 @@
enum {
AC97_CODEC_ALC100 = AC97_CODEC_ID('A', 'L', 'C', 0x20)
AC97_CODEC_ALC100 = AC97_CODEC_ID('A', 'L', 'C', 0x20),
AC97_CODEC_CS4297A = AC97_CODEC_ID('C', 'R', 'Y', 0x11)
};
#define ENABLE_AC97_CODEC_LOG 1
@@ -225,3 +226,15 @@ const device_t alc100_device =
NULL,
NULL
};
const device_t cs4297a_device =
{
"Crystal CS4297A",
DEVICE_AC97,
AC97_CODEC_CS4297A,
ac97_codec_init, ac97_codec_close, ac97_codec_reset,
{ NULL },
NULL,
NULL,
NULL
};