projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbabeb6
)
[PATCH] powerpc: update iSeries vdevice
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Mon, 15 May 2006 03:42:29 +0000
(13:42 +1000)
committer
Paul 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
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/iseries/setup.c
b/arch/powerpc/platforms/iseries/setup.c
index 285f2b2e7d83640e6fa153b020053349ed56a448..d3f94b4f28a81e465fd81e48da74bae37900f904 100644
(file)
--- 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), "v
iocons
@%08x", reg);
+ snprintf(buf, sizeof(buf), "v
ty
@%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++;