Fix nvidia 6200 0x161
This commit is contained in:
parent
e6d579525f
commit
ba6ec01b39
1 changed files with 3 additions and 0 deletions
|
@ -222,6 +222,9 @@ snarf(Vga* vga, Ctlr* ctlr)
|
|||
* Unlock
|
||||
*/
|
||||
vgaxo(Crtx, 0x1F, 0x57);
|
||||
outportb(Crtx, 0x11);
|
||||
outportb(Crtx+1, inportb(Crtx+1) & ~0x80);
|
||||
trace("nvidia: Unlocked\n");
|
||||
|
||||
if (nv->pextdev[0] & 0x40)
|
||||
nv->crystalfreq = RefFreq;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue