From fe1198e63e0178b31761a3c26009c1987ac3e218 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 27 Sep 2002 21:02:14 +0000 Subject: [PATCH] 2002-09-27 Andrew Cagney * hw_disk.c (hw_disk_init_address): Set device type to "block", not "disk". --- sim/ppc/ChangeLog | 5 +++++ sim/ppc/hw_disk.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 4c2dfef..26d0431 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,8 @@ +2002-09-27 Andrew Cagney + + * hw_disk.c (hw_disk_init_address): Set device type to "block", + not "disk". + 2002-06-22 Andrew Cagney * Makefile.in (INTL_SRC): Define. diff --git a/sim/ppc/hw_disk.c b/sim/ppc/hw_disk.c index 84086ff..0e9573b 100644 --- a/sim/ppc/hw_disk.c +++ b/sim/ppc/hw_disk.c @@ -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; -- 2.7.4