linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Andre' Draszik <andid@gmx.net>
To: linuxppc-embedded@ozlabs.org
Subject: [PATCH][PPC32] ibmstb4 ocp fix
Date: Mon, 07 Feb 2005 05:38:05 +0100	[thread overview]
Message-ID: <4206F0AD.1010203@gmx.net> (raw)

this one fixes the OCP device definition for STB04.
Please consider applying.

Signed-off-by: Andre' Draszik <andid@gmx.net>

diff -urN linuxppc-2.5.orig/arch/ppc/platforms/4xx/ibmstb4.c linuxppc-2.5/arch/ppc/platforms/4xx/ibmstb4.c
--- linuxppc-2.5.orig/arch/ppc/platforms/4xx/ibmstb4.c	2005-02-06 00:16:33.000000000 +0100
+++ linuxppc-2.5/arch/ppc/platforms/4xx/ibmstb4.c	2005-02-05 21:20:58.000000000 +0100
@@ -22,7 +22,7 @@
  };
  OCP_SYSFS_IIC_DATA()

-struct ocp_def core_ocp[] __initdata = {
+struct ocp_def core_ocp[] = {
  	{ .vendor	= OCP_VENDOR_IBM,
  	  .function	= OCP_FUNC_16550,
  	  .index	= 0,
@@ -46,6 +46,7 @@
  	},
  	{ .vendor	= OCP_VENDOR_IBM,
  	  .function	= OCP_FUNC_IIC,
+	  .index	= 0,
  	  .paddr	= IIC0_BASE,
  	  .irq		= IIC0_IRQ,
  	  .pm		= IBM_CPM_IIC0,
@@ -54,6 +55,7 @@
  	},
  	{ .vendor	= OCP_VENDOR_IBM,
  	  .function	= OCP_FUNC_IIC,
+	  .index	= 1,
  	  .paddr	= IIC1_BASE,
  	  .irq		= IIC1_IRQ,
  	  .pm		= IBM_CPM_IIC1,

                 reply	other threads:[~2005-02-07  4:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4206F0AD.1010203@gmx.net \
    --to=andid@gmx.net \
    --cc=linuxppc-embedded@ozlabs.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;
as well as URLs for NNTP newsgroup(s).