Philippe Mathieu-Daudé writes:
> On 3/16/20 7:23 AM, Markus Armbruster wrote:
>> Paolo Bonzini writes:
>>
>>> On 13/03/20 23:16, BALATON Zoltan wrote:
>
> + pci_dev = pci_create_simple(pci_bus, -1, "cmd646-ide");
> + pci_ide_create_devs(pci_dev);
Additionally, I
On 3/16/20 7:23 AM, Markus Armbruster wrote:
Paolo Bonzini writes:
On 13/03/20 23:16, BALATON Zoltan wrote:
+ pci_dev = pci_create_simple(pci_bus, -1, "cmd646-ide");
+ pci_ide_create_devs(pci_dev);
Additionally, I think it may also make sense to move pci_ide_create_devs
call into
Paolo Bonzini writes:
> On 13/03/20 23:16, BALATON Zoltan wrote:
>>>
>>> + pci_dev = pci_create_simple(pci_bus, -1, "cmd646-ide");
>>> + pci_ide_create_devs(pci_dev);
>>
>> Additionally, I think it may also make sense to move pci_ide_create_devs
>> call into the realize methods of these
On 13/03/20 23:16, BALATON Zoltan wrote:
>>
>> + pci_dev = pci_create_simple(pci_bus, -1, "cmd646-ide");
>> + pci_ide_create_devs(pci_dev);
>
> Additionally, I think it may also make sense to move pci_ide_create_devs
> call into the realize methods of these IDE controllers so boards do not
On Fri, 13 Mar 2020, BALATON Zoltan wrote:
The pci_ide_create_devs() function takes a hd_table parameter but all
callers just pass what ide_drive_get() returns so we can do it locally
simplifying callers and removing hd_table parameter.
Signed-off-by: BALATON Zoltan
---
hw/alpha/dp264.c
The pci_ide_create_devs() function takes a hd_table parameter but all
callers just pass what ide_drive_get() returns so we can do it locally
simplifying callers and removing hd_table parameter.
Signed-off-by: BALATON Zoltan
---
hw/alpha/dp264.c | 13 +++--
hw/i386/pc_piix.c