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:42:29 -0400
committerPaul Mackerras <paulus@samba.org>2006-05-19 00:35:29 -0400
commitdc3c9b8ca2ec15cf56d071b85f3734a07bf5f808 (patch)
tree494e26fdf3736048ce0e9d1582ca1bf07f753ff8 /arch/powerpc/platforms/iseries/setup.c
parentfbabeb60ba783bf7a43858ecefc5066ac1f07162 (diff)
[PATCH] powerpc: update iSeries vdevice
Make it look more like the pSeries vdevice tree. 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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/iseries/setup.c b/arch/powerpc/platforms/iseries/setup.c
index 285f2b2e7d83..d3f94b4f28a8 100644
--- a/arch/powerpc/platforms/iseries/setup.c
+++ b/arch/powerpc/platforms/iseries/setup.c
@@ -921,13 +921,14 @@ void dt_vdevices(struct iseries_flat_dt *dt)
921 char buf[32]; 921 char buf[32];
922 922
923 dt_start_node(dt, "vdevice"); 923 dt_start_node(dt, "vdevice");
924 dt_prop_str(dt, "device_type", "vdevice");
925 dt_prop_str(dt, "compatible", "IBM,iSeries-vdevice");
924 dt_prop_u32(dt, "#address-cells", 1); 926 dt_prop_u32(dt, "#address-cells", 1);
925 dt_prop_u32(dt, "#size-cells", 0); 927 dt_prop_u32(dt, "#size-cells", 0);
926 928
927 snprintf(buf, sizeof(buf), "viocons@%08x", reg); 929 snprintf(buf, sizeof(buf), "vty@%08x", reg);
928 dt_start_node(dt, buf); 930 dt_start_node(dt, buf);
929 dt_prop_str(dt, "device_type", "serial"); 931 dt_prop_str(dt, "device_type", "serial");
930 dt_prop_str(dt, "compatible", "");
931 dt_prop_u32(dt, "reg", reg); 932 dt_prop_u32(dt, "reg", reg);
932 dt_end_node(dt); 933 dt_end_node(dt);
933 reg++; 934 reg++;