linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd.bergmann@de.ibm.com>
To: "Ming Liu" <eemingliu@hotmail.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: a problem of kernel-module version mismatch.
Date: Fri, 9 Jun 2006 16:18:50 +0200	[thread overview]
Message-ID: <200606091618.51169.arnd.bergmann@de.ibm.com> (raw)
In-Reply-To: <BAY110-F337711EB19C0B1D8417B18B2880@phx.gbl>

On Friday 09 June 2006 16:07, Ming Liu wrote:
> Are in_le32 and out_le32 two functions defined by the kernel to input and 
> output 32-bit data? When we define XIo_In32 and XIo_Out32 as them, which is 
> we use out_le32 and in_le32 to input and output data, they are still not 
> resolvable. Any other suggestions? Thanks a lot.

They should be defined in include/asm-powerpc/io.h, include <asm/io.h>
to get the definition.
If your kernel is too old, they may not be there however, so you need
to use readl/writel or inl/outl, also defined in that file.

	Arnd <><

  reply	other threads:[~2006-06-09 16:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-08 13:27 a problem of kernel-module version mismatch Ming Liu
2006-06-08 13:36 ` Arnd Bergmann
2006-06-08 13:52   ` Ming Liu
2006-06-08 15:25     ` Arnd Bergmann
2006-06-08 15:54       ` Ming Liu
2006-06-09  8:58       ` Ming Liu
2006-06-09 14:07       ` Ming Liu
2006-06-09 14:18         ` Arnd Bergmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-06-09 14:02 Ming Liu

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=200606091618.51169.arnd.bergmann@de.ibm.com \
    --to=arnd.bergmann@de.ibm.com \
    --cc=eemingliu@hotmail.com \
    --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).