diff options
Diffstat (limited to 'sim/ppc/hw_disk.c')
-rw-r--r-- | sim/ppc/hw_disk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/ppc/hw_disk.c b/sim/ppc/hw_disk.c index 5934fea..84086ff 100644 --- a/sim/ppc/hw_disk.c +++ b/sim/ppc/hw_disk.c @@ -232,6 +232,9 @@ hw_disk_init_address(device *me) space, address, 0/*size*/, access_read_write_exec, me); + /* Tell the world we are a disk. */ + device_add_string_property(me, "device_type", "disk"); + /* get the name of the file specifying the disk image */ disk->name_index = 0; disk->nr_names = device_find_string_array_property(me, "file", |