Message ID | 20171216090228.28505-15-hpoussin@reactos.org |
---|---|
State | New |
Headers | show |
Series | piix4: cleanup and improvements | expand |
diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c index 7358d7f5db..2e9aca6659 100644 --- a/hw/isa/piix4.c +++ b/hw/isa/piix4.c @@ -52,7 +52,7 @@ typedef struct PIIX4State { uint8_t rcr; } PIIX4State; -#define TYPE_PIIX4_PCI_DEVICE "PIIX4" +#define TYPE_PIIX4_PCI_DEVICE "piix4-isa" #define PIIX4_PCI_DEVICE(obj) \ OBJECT_CHECK(PIIX4State, (obj), TYPE_PIIX4_PCI_DEVICE) diff --git a/hw/mips/mips_malta.c b/hw/mips/mips_malta.c index c0ee2ad0cd..5fc2890d03 100644 --- a/hw/mips/mips_malta.c +++ b/hw/mips/mips_malta.c @@ -1187,7 +1187,7 @@ void mips_malta_init(MachineState *machine) ide_drive_get(hd, ARRAY_SIZE(hd)); pci = pci_create_multifunction(pci_bus, PCI_DEVFN(10, 0), - true, "PIIX4"); + true, "piix4-isa"); dev = DEVICE(pci); /* Floppy */
Other piix4 parts are already named piix4-ide and piix4-usb-uhci. Signed-off-by: Hervé Poussineau <hpoussin@reactos.org> --- hw/isa/piix4.c | 2 +- hw/mips/mips_malta.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)