aboutsummaryrefslogtreecommitdiffstats
path: root/vgasrc
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2015-04-08 10:36:22 +0200
committerGerd Hoffmann <kraxel@redhat.com>2015-06-11 09:23:03 +0200
commit87f848ec2d6ca609252b313b062bbd57bd290565 (patch)
treec81041f53e5ced791ebe9aa5c801d96481389205 /vgasrc
parent9c6edc4d27ec29ca7b57bbeef75baefd2f7e6cb2 (diff)
downloadseabios-87f848ec2d6ca609252b313b062bbd57bd290565.tar.gz
seabios-87f848ec2d6ca609252b313b062bbd57bd290565.tar.xz
seabios-87f848ec2d6ca609252b313b062bbd57bd290565.zip
vga: rework virtio-vga support
Unlike planned earlier virtio-vga will be compatible with the qemu stdvga, with the framebuffer in bar 0. Drop the virtio-vga chunk, update comment accordingly. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'vgasrc')
-rw-r--r--vgasrc/bochsvga.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/vgasrc/bochsvga.c b/vgasrc/bochsvga.c
index ee6f437..aa82fc5 100644
--- a/vgasrc/bochsvga.c
+++ b/vgasrc/bochsvga.c
@@ -403,10 +403,7 @@ bochsvga_setup(void)
case 0x15ad: /* qemu vmware vga */
barid = 1;
break;
- case 0x1af4: /* virtio-vga */
- barid = 2;
- break;
- default: /* stdvga, qxl */
+ default: /* stdvga, qxl, virtio */
barid = 0;
break;
}