IBM Turboways25 PCI

This is using the Linux driver from Mike Westall, it25-0.78e.

Copy makefile.sad to makefile before compiling as per README.

On Slackware 10.2.0, Linux 2.4.31 apply this change.

makefile.sad
diff makefile.sad  makefile
25,26c25,26
<            -pipe -m486 -malign-loops=2             \
<            -malign-jumps=2 -malign-functions=2
---
>            -pipe -march=i486 -falign-loops=2             \
>            -falign-jumps=2 -falign-functions=2

Also if compiling on a 64 bit machine, use -m32 to force compile to 32 bits. Maybe changing -march=i486 to a 64 bit arch might solve this (x86_64?).

in atmbase.c:-

[root@walnut] ~/atm/it25-0.78e ->more atmbase.err 
atmbase.c:32: error: __module_author causes a section type conflict
atmbase.c:33: error: __module_parm_interface causes a section type conflict
[root@walnut] ~/atm/it25-0.78e ->

Commenting these lines makes the error go away for now anyway.

[root@localhost it25-0.78e]# cat apelib.err
In file included from apelib.c:17:
atmdd.h:20:36: error: include/linux/spinlock.h: No such file or directory

This is the line:- #include <asm/spinlock.h> referred to in atmdd.h , but it can be found here:-

/usr/src/linux-2.6.32/arch/x86/include/asm/spinlock.h


rb/turboways25.txt · Last modified: 23/03/2018 16:55 by andrew