Message ID | 20230725141009.3372529-1-mjt@tls.msk.ru |
---|---|
State | New |
Headers | show |
Series | Patch Round-up for stable 7.2.5, freeze on 2023-08-05 | expand |
diff --git a/hw/ide/piix.c b/hw/ide/piix.c index 267dbf37db..066be77c8e 100644 --- a/hw/ide/piix.c +++ b/hw/ide/piix.c @@ -123,7 +123,7 @@ static void piix_ide_reset(DeviceState *dev) pci_set_word(pci_conf + PCI_COMMAND, 0x0000); pci_set_word(pci_conf + PCI_STATUS, PCI_STATUS_DEVSEL_MEDIUM | PCI_STATUS_FAST_BACK); - pci_set_byte(pci_conf + 0x20, 0x01); /* BMIBA: 20-23h */ + pci_set_long(pci_conf + 0x20, 0x1); /* BMIBA: 20-23h */ } static int pci_piix_init_ports(PCIIDEState *d)