diff options
Diffstat (limited to 'src/northbridge/via/vx800')
-rw-r--r-- | src/northbridge/via/vx800/vga.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/northbridge/via/vx800/vga.c b/src/northbridge/via/vx800/vga.c index d91ad9fea3..be522f884c 100644 --- a/src/northbridge/via/vx800/vga.c +++ b/src/northbridge/via/vx800/vga.c @@ -52,13 +52,13 @@ static int via_vx800_int15_handler(struct eregs *regs) { - int res=-1; + int res=0; printk(BIOS_DEBUG, "via_vx800_int15_handler\n"); switch(regs->eax & 0xffff) { case 0x5f19: regs->eax=0x5f; regs->ecx=0x03; - res=0; + res=1; break; case 0x5f18: { @@ -95,28 +95,28 @@ static int via_vx800_int15_handler(struct eregs *regs) i = i << 4; regs->ebx = regs->ebx + ((u32) i); regs->eax = 0x5f; - res = 0; + res = 1; break; } case 0x5f00: regs->eax = 0x005f; - res = 0; + res = 1; break; case 0x5f01: regs->eax = 0x5f; regs->ecx = (regs->ecx & 0xffffff00 ) | 2; // panel type = 2 = 1024 * 768 - res = 0; + res = 1; break; case 0x5f02: regs->eax=0x5f; regs->ebx= (regs->ebx & 0xffff0000) | 2; regs->ecx= (regs->ecx & 0xffff0000) | 0x401; // PAL + crt only regs->edx= (regs->edx & 0xffff0000) | 0; // TV Layout - default - res=0; + res=1; break; case 0x5f0f: regs->eax = 0x005f; - res = 0; + res = 1; break; default: printk(BIOS_DEBUG, "Unknown INT15 function %04x!\n", |