The cmi9739_patch function which is referenced by ac97.c (rev. 1.56) now...
Submitted by: Ariff Abdullah <skywizard@MyBSD.org.my> Pointy hat to: netchild (for not committing it with rev. 1.56 of ac97.c)
This commit is contained in:
parent
28ef3fb011
commit
d793e09c95
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=150829
@ -46,3 +46,13 @@ void ad198x_patch(struct ac97_info* codec)
|
||||
ac97_wrcd(codec, 0x76, ac97_rdcd(codec, 0x76) | 0x0420);
|
||||
}
|
||||
|
||||
void cmi9739_patch(struct ac97_info* codec)
|
||||
{
|
||||
/*
|
||||
* Few laptops (notably ASUS W1000N) need extra register
|
||||
* initialization to power up the internal speakers.
|
||||
*/
|
||||
ac97_wrcd(codec, AC97_REG_POWER, 0x000f);
|
||||
ac97_wrcd(codec, AC97_MIXEXT_CLFE, 0x0000);
|
||||
ac97_wrcd(codec, 0x64, 0x7110);
|
||||
}
|
||||
|
@ -29,3 +29,4 @@ typedef void (*ac97_patch)(struct ac97_info*);
|
||||
|
||||
void ad1886_patch(struct ac97_info*);
|
||||
void ad198x_patch(struct ac97_info*);
|
||||
void cmi9739_patch(struct ac97_info*);
|
||||
|
Loading…
Reference in New Issue
Block a user