summaryrefslogtreecommitdiffstats
path: root/discover
diff options
context:
space:
mode:
authorGeoff Levand <geoffrey.levand@am.sony.com>2009-07-09 10:40:43 -0700
committerGeoff Levand <geoffrey.levand@am.sony.com>2009-07-09 10:40:43 -0700
commit965e71e54686b0987409276933c085f794bf21f6 (patch)
tree5ba3ea06d5b7ad02466fab8c54b67e0dce5efa8c /discover
parent7043c5fcdf922b65dcef23bc03795dfd23e0dc61 (diff)
downloadtalos-petitboot-965e71e54686b0987409276933c085f794bf21f6.tar.gz
talos-petitboot-965e71e54686b0987409276933c085f794bf21f6.zip
Remove discover sd to ps3d hack
This is now old enough to be retired and allow config files on ps3d devices to refer to scsi devices. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
Diffstat (limited to 'discover')
-rw-r--r--discover/paths.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/discover/paths.c b/discover/paths.c
index 8e2a361..fe7a876 100644
--- a/discover/paths.c
+++ b/discover/paths.c
@@ -81,14 +81,6 @@ char *parse_device_path(void *alloc_ctx,
if (is_prefix(dev_str, "/dev/"))
dev_str += strlen("/dev/");
- /* PS3 hack: if we're reading from a ps3dx device, and we refer to
- * a sdx device, remap to ps3dx */
- if (cur_dev && is_prefix(cur_dev, "/dev/ps3d")
- && is_prefix(dev_str, "sd")) {
- snprintf(tmp, 255, "ps3d%s", dev_str + 2);
- dev_str = tmp;
- }
-
return join_paths(alloc_ctx, "/dev", dev_str);
}
OpenPOWER on IntegriCloud