Fix nvidia 6200 0x161

This commit is contained in:
taruti 2011-05-31 07:20:21 +00:00
parent e6d579525f
commit ba6ec01b39

View file

@ -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;