LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: paulus@samba.org
Cc: ppc-dev <linuxppc-dev@ozlabs.org>
Subject: [PATCH 3/4] powerpc: update iSeries vdevice
Date: Mon, 15 May 2006 13:42:29 +1000	[thread overview]
Message-ID: <20060515134229.45bde004.sfr@canb.auug.org.au> (raw)
In-Reply-To: <20060515133947.626e10dc.sfr@canb.auug.org.au>

Make it look more like the pSeries vdevice tree.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---

 arch/powerpc/platforms/iseries/setup.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

a8b78e46b1b998769fb45fbd9e37fc6ceebf06b1
diff --git a/arch/powerpc/platforms/iseries/setup.c b/arch/powerpc/platforms/iseries/setup.c
index 285f2b2..d3f94b4 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 
 	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++;
-- 
1.3.1.ge923

  parent reply	other threads:[~2006-05-15  3:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-15  3:39 [PATCH 1/4] powerpc: update iseries_veth device-tree information Stephen Rothwell
2006-05-15  3:41 ` [PATCH 2/4] powerpc: update iSeries viodasd device-tree entries Stephen Rothwell
2006-05-15  3:42 ` Stephen Rothwell [this message]
2006-05-15  3:44 ` [PATCH 4/4] powerpc: update iSeries viocd and viotape device-tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2006-05-04  3:45 [PATCH 1/4] powerpc: update iseries_veth device-tree information Stephen Rothwell
2006-05-04  3:46 ` [PATCH 2/4] powerpc: update iSeries viodasd device-tree entries Stephen Rothwell
2006-05-04  3:47   ` [PATCH 3/4] powerpc: update iSeries vdevice Stephen Rothwell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060515134229.45bde004.sfr@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox