Commit 798b721ec3d593911cbc4b41138b54c2b2e7d9a8
1 parent
344b983d
Sparc32: use the OpenFirmware name for ecc
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Showing
1 changed file
with
2 additions
and
2 deletions
hw/eccmemctl.c
... | ... | @@ -341,7 +341,7 @@ void ecc_init(target_phys_addr_t base, qemu_irq irq, uint32_t version) |
341 | 341 | DeviceState *dev; |
342 | 342 | SysBusDevice *s; |
343 | 343 | |
344 | - dev = qdev_create(NULL, "ecc"); | |
344 | + dev = qdev_create(NULL, "eccmemctl"); | |
345 | 345 | qdev_set_prop_int(dev, "version", version); |
346 | 346 | qdev_init(dev); |
347 | 347 | s = sysbus_from_qdev(dev); |
... | ... | @@ -354,7 +354,7 @@ void ecc_init(target_phys_addr_t base, qemu_irq irq, uint32_t version) |
354 | 354 | |
355 | 355 | static void ecc_register_devices(void) |
356 | 356 | { |
357 | - sysbus_register_dev("ecc", sizeof(ECCState), ecc_init1); | |
357 | + sysbus_register_dev("eccmemctl", sizeof(ECCState), ecc_init1); | |
358 | 358 | } |
359 | 359 | |
360 | 360 | device_init(ecc_register_devices) | ... | ... |