Cirrus GD5429 doesn't support PCI, so don't look at the PCI command register when updating mappings. Fixes GD5429 on PCI systems.
This commit is contained in:
parent
c39dc641a6
commit
a9509e04ee
1 changed files with 1 additions and 1 deletions
|
|
@ -437,7 +437,7 @@ void gd5429_recalc_mapping(gd5429_t *gd5429)
|
|||
{
|
||||
svga_t *svga = &gd5429->svga;
|
||||
|
||||
if (PCI && !(gd5429->pci_regs[PCI_REG_COMMAND] & PCI_COMMAND_MEM))
|
||||
if (PCI && gd5429->type >= CL_TYPE_GD5430 && !(gd5429->pci_regs[PCI_REG_COMMAND] & PCI_COMMAND_MEM))
|
||||
{
|
||||
mem_mapping_disable(&svga->mapping);
|
||||
mem_mapping_disable(&gd5429->linear_mapping);
|
||||
|
|
|
|||
Loading…
Reference in a new issue