aboutsummaryrefslogtreecommitdiff
path: root/emulators/psim-freebsd/files
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-03-26 00:10:28 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-03-26 00:10:28 +0000
commitcb8526379b38f8054af043bacbb4a9d5b3a6808c (patch)
tree7aa19839e9e28bcc11e0faa842e44d391a6d046a /emulators/psim-freebsd/files
parent5307d2e296e6cee0e34fc1328285665345f2dc43 (diff)
downloadports-cb8526379b38f8054af043bacbb4a9d5b3a6808c.tar.gz
ports-cb8526379b38f8054af043bacbb4a9d5b3a6808c.zip
Notes
Diffstat (limited to 'emulators/psim-freebsd/files')
-rw-r--r--emulators/psim-freebsd/files/patch-hw_disk.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/emulators/psim-freebsd/files/patch-hw_disk.c b/emulators/psim-freebsd/files/patch-hw_disk.c
new file mode 100644
index 000000000000..53b67cf2d51a
--- /dev/null
+++ b/emulators/psim-freebsd/files/patch-hw_disk.c
@@ -0,0 +1,12 @@
+--- sim/ppc/hw_disk.c.orig Thu Apr 15 18:35:09 1999
++++ sim/ppc/hw_disk.c Mon Mar 25 15:58:01 2002
+@@ -232,6 +232,9 @@
+ 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",