2002-09-27 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Fri, 27 Sep 2002 21:02:14 +0000 (21:02 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 27 Sep 2002 21:02:14 +0000 (21:02 +0000)
* hw_disk.c (hw_disk_init_address): Set device type to "block",
not "disk".

sim/ppc/ChangeLog
sim/ppc/hw_disk.c

index 4c2dfef..26d0431 100644 (file)
@@ -1,3 +1,8 @@
+2002-09-27  Andrew Cagney  <ac131313@redhat.com>
+
+       * hw_disk.c (hw_disk_init_address): Set device type to "block",
+       not "disk".
+
 2002-06-22  Andrew Cagney  <ac131313@redhat.com>
 
        * Makefile.in (INTL_SRC): Define.
index 84086ff..0e9573b 100644 (file)
@@ -233,7 +233,7 @@ hw_disk_init_address(device *me)
                        me);
 
   /* Tell the world we are a disk.  */
-  device_add_string_property(me, "device_type", "disk");
+  device_add_string_property(me, "device_type", "block");
 
   /* get the name of the file specifying the disk image */
   disk->name_index = 0;