diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2006-05-15 13:42:29 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-05-19 14:35:29 +1000 |
commit | dc3c9b8ca2ec15cf56d071b85f3734a07bf5f808 (patch) | |
tree | 494e26fdf3736048ce0e9d1582ca1bf07f753ff8 /arch/powerpc/platforms/iseries | |
parent | fbabeb60ba783bf7a43858ecefc5066ac1f07162 (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')
-rw-r--r-- | arch/powerpc/platforms/iseries/setup.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/iseries/setup.c b/arch/powerpc/platforms/iseries/setup.c index 285f2b2e7d8..d3f94b4f28a 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) char buf[32]; dt_start_node(dt, "vdevice"); + dt_prop_str(dt, "device_type", "vdevice"); + dt_prop_str(dt, "compatible", "IBM,iSeries-vdevice"); dt_prop_u32(dt, "#address-cells", 1); dt_prop_u32(dt, "#size-cells", 0); - snprintf(buf, sizeof(buf), "viocons@%08x", reg); + snprintf(buf, sizeof(buf), "vty@%08x", reg); dt_start_node(dt, buf); dt_prop_str(dt, "device_type", "serial"); - dt_prop_str(dt, "compatible", ""); dt_prop_u32(dt, "reg", reg); dt_end_node(dt); reg++; |