machineyosemite: attach CMD646 Ultra ATA controller.

This commit is contained in:
Maxim Poliakovski 2024-08-12 14:02:12 +02:00
parent 9915c15086
commit 2132922c7b

View File

@ -59,6 +59,10 @@ int initialize_yosemite(std::string& id)
grackle_obj->pci_register_device(DEV_FUN(13,0),
dynamic_cast<PCIBase*>(gMachineObj->get_comp_by_name("Dec21154")));
// register CMD646U2 PCI Ultra ATA Controller
sec_bridge->pci_register_device(DEV_FUN(1,0),
dynamic_cast<PCIDevice*>(gMachineObj->get_comp_by_name("CmdAta")));
sec_bridge->pci_register_device(DEV_FUN(5,0),
dynamic_cast<PCIDevice*>(gMachineObj->get_comp_by_name("Heathrow")));
@ -126,7 +130,7 @@ static const PropMap yosemite_settings = {
};
static vector<string> yosemite_devices = {
"Grackle", "Dec21154", "BurgundySnd", "Heathrow", "AtapiCdrom"
"Grackle", "Dec21154", "CmdAta", "BurgundySnd", "Heathrow", "AtapiCdrom"
};
static const MachineDescription yosemite_descriptor = {