updated the VGA BIOS not found after first driverstart fix: now it actually works.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16276 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2006-02-07 12:04:49 +00:00
parent f495fd595b
commit f83eeab28a

View File

@ -693,9 +693,6 @@ static status_t map_device(device_info *di)
}
}
/* restore original ROM shadowing setting to prevent trouble starting (some) cards */
set_pci(NVCFG_ROMSHADOW, 4, tmpROMshadow);
if (!tmpUlong)
{
/* ROM was not assigned an adress, fetch it from ISA legacy memory map! */
@ -728,6 +725,9 @@ static status_t map_device(device_info *di)
set_pci(PCI_rom_base, 4, tmpUlong);
delete_area(rom_area);
/* restore original ROM shadowing setting to prevent trouble starting (some) cards */
set_pci(NVCFG_ROMSHADOW, 4, tmpROMshadow);
/* work out a name for the framebuffer mapping*/
sprintf(buffer, DEVICE_FORMAT " framebuffer",
di->pcii.vendor_id, di->pcii.device_id,