]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[PATCH] powerpc: update iSeries vdevice
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 15 May 2006 03:42:29 +0000 (13:42 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 19 May 2006 04:35:29 +0000 (14:35 +1000)
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>
arch/powerpc/platforms/iseries/setup.c

index 285f2b2e7d83640e6fa153b020053349ed56a448..d3f94b4f28a81e465fd81e48da74bae37900f904 100644 (file)
@@ -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++;