Update ViRGE mapping on writes to PCI command register - fixes text console in Debian 5.0.
This commit is contained in:
parent
e69c41d0d6
commit
1b2f58326e
1 changed files with 1 additions and 0 deletions
|
|
@ -3255,6 +3255,7 @@ static void s3_virge_pci_write(int func, int addr, uint8_t val, void *p)
|
|||
else
|
||||
io_removehandler(0x03c0, 0x0020, s3_virge_in, NULL, NULL, s3_virge_out, NULL, NULL, virge);
|
||||
virge->pci_regs[PCI_REG_COMMAND] = val & 0x27;
|
||||
s3_virge_updatemapping(virge);
|
||||
return;
|
||||
case 0x07:
|
||||
virge->pci_regs[0x07] = val & 0x3e;
|
||||
|
|
|
|||
Loading…
Reference in a new issue