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 4c2dfef81817ead4a9699737205b0f6452acdc2a..26d04311625a85a59cf46e67181234fe1d2b4f42 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 84086ff1d4ae16e1717b0fa1d7ee9f5700328607..0e9573bda6eff94893b955d578d748b0dd9982fd 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;