aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/iseries/setup.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2006-05-14 23:44:01 -0400
committerPaul Mackerras <paulus@samba.org>2006-05-19 00:35:31 -0400
commitde0fe3b83f4bb47a0a6b47897bb3800862194016 (patch)
tree4187a5035042eddc3010e91f6c2a8eabf5e24859 /arch/powerpc/platforms/iseries/setup.c
parentdc3c9b8ca2ec15cf56d071b85f3734a07bf5f808 (diff)
[PATCH] powerpc: update iSeries viocd and viotape device-tree
Make their device_type entries more generic and their compatible entries more specific. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/iseries/setup.c')
-rw-r--r--arch/powerpc/platforms/iseries/setup.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/iseries/setup.c b/arch/powerpc/platforms/iseries/setup.c
index d3f94b4f28a8..074d1d949708 100644
--- a/arch/powerpc/platforms/iseries/setup.c
+++ b/arch/powerpc/platforms/iseries/setup.c
@@ -982,8 +982,8 @@ void dt_vdevices(struct iseries_flat_dt *dt)
982 for (i = 0; i < HVMAXARCHITECTEDVIRTUALCDROMS; i++) { 982 for (i = 0; i < HVMAXARCHITECTEDVIRTUALCDROMS; i++) {
983 snprintf(buf, 32, "viocd@%08x", reg + i); 983 snprintf(buf, 32, "viocd@%08x", reg + i);
984 dt_start_node(dt, buf); 984 dt_start_node(dt, buf);
985 dt_prop_str(dt, "device_type", "viocd"); 985 dt_prop_str(dt, "device_type", "block");
986 dt_prop_str(dt, "compatible", ""); 986 dt_prop_str(dt, "compatible", "IBM,iSeries-viocd");
987 dt_prop_u32(dt, "reg", reg + i); 987 dt_prop_u32(dt, "reg", reg + i);
988 dt_prop_u32(dt, "linux,unit_address", i); 988 dt_prop_u32(dt, "linux,unit_address", i);
989 dt_end_node(dt); 989 dt_end_node(dt);
@@ -992,8 +992,8 @@ void dt_vdevices(struct iseries_flat_dt *dt)
992 for (i = 0; i < HVMAXARCHITECTEDVIRTUALTAPES; i++) { 992 for (i = 0; i < HVMAXARCHITECTEDVIRTUALTAPES; i++) {
993 snprintf(buf, 32, "viotape@%08x", reg + i); 993 snprintf(buf, 32, "viotape@%08x", reg + i);
994 dt_start_node(dt, buf); 994 dt_start_node(dt, buf);
995 dt_prop_str(dt, "device_type", "viotape"); 995 dt_prop_str(dt, "device_type", "byte");
996 dt_prop_str(dt, "compatible", ""); 996 dt_prop_str(dt, "compatible", "IBM,iSeries-viotape");
997 dt_prop_u32(dt, "reg", reg + i); 997 dt_prop_u32(dt, "reg", reg + i);
998 dt_prop_u32(dt, "linux,unit_address", i); 998 dt_prop_u32(dt, "linux,unit_address", i);
999 dt_end_node(dt); 999 dt_end_node(dt);