Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 28700
b: refs/heads/master
c: dc3c9b8
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Rothwell authored and Paul Mackerras committed May 19, 2006
1 parent da1af1e commit 996f348
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fbabeb60ba783bf7a43858ecefc5066ac1f07162
refs/heads/master: dc3c9b8ca2ec15cf56d071b85f3734a07bf5f808
5 changes: 3 additions & 2 deletions trunk/arch/powerpc/platforms/iseries/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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++;
Expand Down

0 comments on commit 996f348

Please sign in to comment.