ppc64 drivers???
Raghava Vatsavayi
rajuraghava at yahoo.com
Wed Jul 9 13:52:37 EST 2003
Hi,
Our linux version is
BigBlue:# uname -a
Linux BigBlue 2.4.19-ul1-ppc64-SMP #1 SMP Wed Dec 4
18:41:23 UTC 2002 ppc64 unknown
I have mainly two concerns:
1) When I build my driver it is turning up as 32 bit
version as shown below.
file s2io.o
s2io.o: ELF 32-bit MSB relocatable, PowerPC or cisco
4500, version 1 (SYSV), not
stripped
I never had this problem when I compiled the driver on
other 64 bit machines like IA64.
I never gave extra options to gcc for IA64. But in
ppc64, is it that I should give
additional options to gcc specifying that target is
64bit ??
2) /usr/src/linux/include asm points to
/usr/src/linux/include/asm-ppc. But I think it
should point to /usr/src/linux/include/asm-ppc64. So I
changed the link so that it points
to /usr/src/linux/include/asm-ppc64. After this change
I ran into lots of compilation
errors as shown below(only few of the error messages
are shown). So is it ok if it points to asm-ppc
instead of asm-ppc64????
/lib/modules/2.4.19-ul1-ppc64-SMP/build/include/asm/io.h:
In function `_inb':
/lib/modules/2.4.19-ul1-ppc64-SMP/build/include/asm/io.h:254:
warning: right shi
ft count >= width of type
/lib/modules/2.4.19-ul1-ppc64-SMP/build/include/asm/io.h:
In function `_outb':
/lib/modules/2.4.19-ul1-ppc64-SMP/build/include/asm/io.h:262:
warning: right shi
ft count >= width of type
/lib/modules/2.4.19-ul1-ppc64-SMP/build/include/asm/io.h:
In function `_inw':
/lib/modules/2.4.19-ul1-ppc64-SMP/build/include/asm/io.h:268:
warning: right shi
ft count >= width of type
/lib/modules/2.4.19-ul1-ppc64-SMP/build/include/asm/io.h:
In function `_outw':
/lib/modules/2.4.19-ul1-ppc64-SMP/build/include/asm/io.h:276:
warning: right shi
ft count >= width of type
/lib/modules/2.4.19-ul1-ppc64-SMP/build/include/asm/io.h:
In function `_inl':
/lib/modules/2.4.19-ul1-ppc64-SMP/build/include/asm/io.h:282:
warning: right shi
ft count >= width of type
/lib/modules/2.4.19-ul1-ppc64-SMP/build/include/asm/io.h:
In function `_outl':
/lib/modules/2.4.19-ul1-ppc64-SMP/build/include/asm/io.h:290:
warning: right shi
ft count >= width of type
Kindly mail it back to rajuraghava at yahoo.com, as I
did't subscribe .
-Raghava.
** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc64-dev
mailing list