Andrew J. Barr wrote:
> Larry Finger wrote:
>> For any version of the bcm43xx devices, maximum performance is 
>> obtained only by downloading and installing the appropriate patch from 
>> ftp://lwfinger.dynalias.org/patches for any kernel through 2.6.21-rc7. 
>> It is expected that 2.6.22-rc1 (when it is released) will have all 
>> current improvements installed.
> 
> Hi,
> 
> I'm having trouble with the standalone distribution on the Debian etch 
> PowerPC kernel:
> 
> [EMAIL PROTECTED]:~/bcm43xx-softmac-sa$ make
> make -C /lib/modules/2.6.18-4-powerpc/build 
> M=/home/andrew/bcm43xx-softmac-sa modules
> make[1]: Entering directory `/usr/src/linux-headers-2.6.18-4-powerpc'
>   CC [M]  /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.o
> In file included from 
> /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.c:44:
> /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx.h:829: error: field 
> ‘periodic_work’ has incomplete type
> /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.c: In function 
> ‘bcm43xx_initialize_irq’:
> /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.c:2170: warning: 
> passing argument 2 of ‘request_irq’ from incompatible pointer type
> /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.c: In function 
> ‘bcm43xx_periodic_work_handler’:
> /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.c:3255: warning: 
> type defaults to ‘int’ in declaration of ‘__mptr’
> /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.c:3255: warning: 
> initialization from incompatible pointer type
> /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.c: In function 
> ‘bcm43xx_periodic_tasks_setup’:
> /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.c:3320: warning: 
> implicit declaration of function ‘INIT_DELAYED_WORK’
> /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.c:3321: warning: 
> passing argument 1 of ‘schedule_delayed_work’ from incompatible pointer 
> type
> /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.c: In function 
> ‘bcm43xx_init_one’:
> /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.c:4177: warning: 
> assignment discards qualifiers from pointer target type
> /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.c:4257:50: error: 
> macro "INIT_WORK" requires 3 arguments, but only 2 given
> /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.c: In function 
> ‘bcm43xx_controller_restart’:
> /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.c:4257: error: 
> ‘INIT_WORK’ undeclared (first use in this function)
> /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.c:4257: error: 
> (Each undeclared identifier is reported only once
> /home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.c:4257: error: for 
> each function it appears in.)
> make[3]: *** [/home/andrew/bcm43xx-softmac-sa/bcm43xx/bcm43xx_main.o] 
> Error 1
> make[2]: *** [/home/andrew/bcm43xx-softmac-sa/bcm43xx] Error 2
> make[1]: *** [_module_/home/andrew/bcm43xx-softmac-sa] Error 2
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-4-powerpc'
> make: *** [modules] Error 2
> 
> There is a 2.6.20 kernel available in sid, should I try that instead?

Yes, there was a change in the API for deferred work queues. I need to check 
what kernel version 
changed that and error the build process, but 2.6.20 will work.

Larry
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to