[Prism54-devel] linux-2.4.22-prism54-1.0.2.patch.bz2

Margit Schubert-While margitsw@t-online.de
Mon, 27 Oct 2003 18:46:21 +0100


Hi all,
	As per IRC, following probs with above :
	First the first few lines from kernel Makefile :
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 23
EXTRAVERSION = -pre8
	So, I'm on the right level.

	First prob :

isl_38xx.c:27:26: linux/device.h: No such file or directory
In file included from isl_38xx.c:35:
islpci_dev.h:26:26: linux/device.h: No such file or directory
isl_38xx.c: In function `isl38xx_upload_firmware':
isl_38xx.c:270: warning: passing arg 3 of `request_firmware_R38ce5074'
    from incompatible pointer type
make[4]: *** [isl_38xx.o] Error 1

	Taking out the includes from isl_38xx.c and islpci_dev.h proceeds further
	(but note the warning) until second prob:

gcc -D__KERNEL__ -I/var/tmp/linux-2.4.22/include -Wall -Wstrict-prototypes 
-Wno-trig
raphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe 
-mpreferred-st
ack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include 
/var/tmp/linux-2.4.22/inc
lude/linux/modversions.h -I. -DEXPORT_SYMTAB -nostdinc -iwithprefix include 
-DKBUILD
_BASENAME=islpci_dev  -c -o islpci_dev.o islpci_dev.c
islpci_dev.c: In function `islpci_reset':
islpci_dev.c:328: error: structure has no member named `dev'
islpci_dev.c: In function `islpci_probe':
islpci_dev.c:661: warning: implicit declaration of function `SET_NETDEV_DEV'
islpci_dev.c:661: error: structure has no member named `dev'

	Cheers

	Margit