Fw: ppc64 drivers???

Raghava Vatsavayi rajuraghava at yahoo.com
Fri Jul 11 02:46:48 EST 2003


Thanks for the help.  I have two more issues!!

1) I thought ppc64 was a big endian machine.
   But ppc64 machine recognises one of my hardware
   devices only if settings on device are little
   endian  mode only. correct me if I am wrong??

2) There is no mechanism to write 64 bit values in
   ppc64, because writeq and readq are not there
   in ppc64 kernel????

--- David Boutcher <boutcher at us.ibm.com> wrote:
> rajuraghava at yahoo.com wrote:
> > When I build my driver it is turning up as 32 bit
> > version as shown below.
> You need to make sure you are using a PPC64 cross
> compiler to build the
> driver.  It looks like you are using the normal gcc,
> which even on a system
> with a 64 bit kernel is a 32 bit compiler.
> For example, my makefile has the following in it
> (though this is a custom
> built cross compiler...I think SuSE names it
> something different.)
> /opt/ppc64-stable/bin/powerpc64-linux-
> And you are right that /usr/src/linux/include/asm
> should point to
> asm-ppc64.  If you use the right compiler, things
> should work great.
> Dave Boutcher

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc64-dev mailing list