fix vmbus_fb_mmio_res after r368168

mixed efifb versus vbefb struct use did slip in by mistake.
This commit is contained in:
Toomas Soome 2020-11-30 08:31:41 +00:00
parent a4a10b37d4
commit cb79418266

View File

@ -1367,8 +1367,8 @@ vmbus_fb_mmio_res(device_t dev)
fb_start = vbefb->fb_addr;
fb_end = vbefb->fb_addr + vbefb->fb_size;
fb_count = vbefb->fb_size;
fb_height = efifb->fb_height;
fb_width = efifb->fb_width;
fb_height = vbefb->fb_height;
fb_width = vbefb->fb_width;
} else {
fb_start = efifb->fb_addr;
fb_end = efifb->fb_addr + efifb->fb_size;
@ -1376,6 +1376,7 @@ vmbus_fb_mmio_res(device_t dev)
fb_height = efifb->fb_height;
fb_width = efifb->fb_width;
}
if (fb_start == 0) {
if (bootverbose)
device_printf(dev,