mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-12-22 15:29:58 +00:00
machineyosemite: attach CMD646 Ultra ATA controller.
This commit is contained in:
parent
9915c15086
commit
2132922c7b
@ -59,6 +59,10 @@ int initialize_yosemite(std::string& id)
|
|||||||
grackle_obj->pci_register_device(DEV_FUN(13,0),
|
grackle_obj->pci_register_device(DEV_FUN(13,0),
|
||||||
dynamic_cast<PCIBase*>(gMachineObj->get_comp_by_name("Dec21154")));
|
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),
|
sec_bridge->pci_register_device(DEV_FUN(5,0),
|
||||||
dynamic_cast<PCIDevice*>(gMachineObj->get_comp_by_name("Heathrow")));
|
dynamic_cast<PCIDevice*>(gMachineObj->get_comp_by_name("Heathrow")));
|
||||||
|
|
||||||
@ -126,7 +130,7 @@ static const PropMap yosemite_settings = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static vector<string> yosemite_devices = {
|
static vector<string> yosemite_devices = {
|
||||||
"Grackle", "Dec21154", "BurgundySnd", "Heathrow", "AtapiCdrom"
|
"Grackle", "Dec21154", "CmdAta", "BurgundySnd", "Heathrow", "AtapiCdrom"
|
||||||
};
|
};
|
||||||
|
|
||||||
static const MachineDescription yosemite_descriptor = {
|
static const MachineDescription yosemite_descriptor = {
|
||||||
|
Loading…
Reference in New Issue
Block a user