summaryrefslogtreecommitdiff
path: root/vgaio.c
diff options
context:
space:
mode:
Diffstat (limited to 'vgaio.c')
-rw-r--r--vgaio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vgaio.c b/vgaio.c
index 2dd7eb7..1fb0d52 100644
--- a/vgaio.c
+++ b/vgaio.c
@@ -570,6 +570,8 @@ vgahw_init(void)
found:
have_vga = 1;
+ pci_vga_bus = PCI_BUS(bdf);
+ pci_vga_dev = PCI_SLOT(bdf);
vmode_g = find_vga_entry(3);