aboutsummaryrefslogtreecommitdiff
path: root/hw/eccmemctl.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-07-12 21:43:24 +0300
committerBlue Swirl <blauwirbel@gmail.com>2009-07-12 21:43:24 +0300
commit798b721ec3d593911cbc4b41138b54c2b2e7d9a8 (patch)
tree541b9ef7ccb553764d0aa4dd4bedc3f91b1b8cd8 /hw/eccmemctl.c
parent344b983d9b653b47468b6f5b5a4fbbdc8894995f (diff)
Sparc32: use the OpenFirmware name for ecc
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/eccmemctl.c')
-rw-r--r--hw/eccmemctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/eccmemctl.c b/hw/eccmemctl.c
index 0c9708e3e9..d05962b70c 100644
--- a/hw/eccmemctl.c
+++ b/hw/eccmemctl.c
@@ -341,7 +341,7 @@ void ecc_init(target_phys_addr_t base, qemu_irq irq, uint32_t version)
DeviceState *dev;
SysBusDevice *s;
- dev = qdev_create(NULL, "ecc");
+ dev = qdev_create(NULL, "eccmemctl");
qdev_set_prop_int(dev, "version", version);
qdev_init(dev);
s = sysbus_from_qdev(dev);
@@ -354,7 +354,7 @@ void ecc_init(target_phys_addr_t base, qemu_irq irq, uint32_t version)
static void ecc_register_devices(void)
{
- sysbus_register_dev("ecc", sizeof(ECCState), ecc_init1);
+ sysbus_register_dev("eccmemctl", sizeof(ECCState), ecc_init1);
}
device_init(ecc_register_devices)