ath patch+hal for test

JoaoBR joao at matik.com.br
Sun Feb 19 02:26:25 PST 2006


On Tuesday 07 February 2006 02:32, Sam Leffler wrote:
> You can find the 0.9.16.13 hal (that's been out for a while) and an
> updated ath.patch at http://www.freebsd.org/~sam/ath.  Please test and
> report any regressions against what is in CVS.  This patch should work
> on both HEAD and RELENG_6.  I hope to get things in CVS in time to make
> the 6.1 release so timely feedback is important.


Hi
I get some compile erros on another machine with sources from fev-02
I updated the hal and patched the driver without errors, this is some lines 
from compiling the kernel, I did not tried as module.

João



cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-protot
ypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99
 -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq 
-I/usr/src/sys/contrib/ipfilter
 -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath 
-I/usr/src/sys/contrib/dev/ath/freeb
sd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param l
arge-function-growth=1000  -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno
-3dnow -mno-sse -mno-sse2 -ffreestanding 
-Werror  /usr/src/sys/dev/ath/if_ath.c
/usr/src/sys/dev/ath/if_ath.c: In function `ath_attach':
/usr/src/sys/dev/ath/if_ath.c:492: error: `HAL_CAP_RFSILENT' undeclared (first 
use in this fun
ction)
/usr/src/sys/dev/ath/if_ath.c:492: error: (Each undeclared identifier is 
reported only once
/usr/src/sys/dev/ath/if_ath.c:492: error: for each function it appears in.)
/usr/src/sys/dev/ath/if_ath.c: In function `ath_radar_proc':
/usr/src/sys/dev/ath/if_ath.c:924: error: structure has no member named 
`ah_processDfs'
/usr/src/sys/dev/ath/if_ath.c:926: error: structure has no member named 
`privFlags'
/usr/src/sys/dev/ath/if_ath.c: In function `ath_chan2flags':
/usr/src/sys/dev/ath/if_ath.c:944: error: `CHANNEL_ST' undeclared (first use 
in this function)
/usr/src/sys/dev/ath/if_ath.c:944: error: initializer element is not constant
/usr/src/sys/dev/ath/if_ath.c:944: error: (near initialization for 
`modeflags[5]')
/usr/src/sys/dev/ath/if_ath.c: In function `ath_stop':
/usr/src/sys/dev/ath/if_ath.c:1122: error: too few arguments to function
/usr/src/sys/dev/ath/if_ath.c: In function `ath_beacon_setup':
/usr/src/sys/dev/ath/if_ath.c:2015: error: too many arguments to function
/usr/src/sys/dev/ath/if_ath.c: In function `ath_rxbuf_init':
/usr/src/sys/dev/ath/if_ath.c:2688: error: structure has no member named 
`ds_vdata'
/usr/src/sys/dev/ath/if_ath.c: In function `ath_rx_proc':
/usr/src/sys/dev/ath/if_ath.c:2871: error: too many arguments to function
/usr/src/sys/dev/ath/if_ath.c:3061: error: too many arguments to function
/usr/src/sys/dev/ath/if_ath.c:3062: error: structure has no member named 
`ah_radarHaveEvent'
/usr/src/sys/dev/ath/if_ath.c: In function `ath_tx_start':
/usr/src/sys/dev/ath/if_ath.c:3717: error: too many arguments to function
/usr/src/sys/dev/ath/if_ath.c: In function `ath_stoprecv':
/usr/src/sys/dev/ath/if_ath.c:4103: error: too many arguments to function
/usr/src/sys/dev/ath/if_ath.c: In function `ath_dfswait':
/usr/src/sys/dev/ath/if_ath.c:4191: error: structure has no member named 
`ah_radarWait'
/usr/src/sys/dev/ath/if_ath.c:4192: error: structure has no member named 
`privFlags'
/usr/src/sys/dev/ath/if_ath.c:4195: error: structure has no member named 
`privFlags'
/usr/src/sys/dev/ath/if_ath.c:4195: error: `CHANNEL_INTERFERENCE' undeclared 
(first use in thi
s function)
/usr/src/sys/dev/ath/if_ath.c:4198: error: structure has no member named 
`privFlags'
/usr/src/sys/dev/ath/if_ath.c:4201: error: structure has no member named 
`privFlags'
/usr/src/sys/dev/ath/if_ath.c:4201: error: `CHANNEL_DFS' undeclared (first use 
in this functio
n)
/usr/src/sys/dev/ath/if_ath.c:4205: error: structure has no member named 
`privFlags'
/usr/src/sys/dev/ath/if_ath.c:4205: error: `CHANNEL_DFS_CLEAR' undeclared 
(first use in this f
unction)
/usr/src/sys/dev/ath/if_ath.c:4206: error: structure has no member named 
`privFlags'
/usr/src/sys/dev/ath/if_ath.c:4210: error: structure has no member named 
`privFlags'
/usr/src/sys/dev/ath/if_ath.c: In function `ath_chan_set':
/usr/src/sys/dev/ath/if_ath.c:4236: warning: passing arg 1 of 
`ath_hal_mhz2ieee' makes integer
 from pointer without a cast
/usr/src/sys/dev/ath/if_ath.c:4236: error: too many arguments to function 
`ath_hal_mhz2ieee'
/usr/src/sys/dev/ath/if_ath.c:4236: warning: passing arg 1 of 
`ath_hal_mhz2ieee' makes integer
 from pointer without a cast
/usr/src/sys/dev/ath/if_ath.c:4236: error: too many arguments to function 
`ath_hal_mhz2ieee'
/usr/src/sys/dev/ath/if_ath.c:4293: error: structure has no member named 
`privFlags'
/usr/src/sys/dev/ath/if_ath.c:4293: error: `CHANNEL_DFS' undeclared (first use 
in this functio                                                n)
/usr/src/sys/dev/ath/if_ath.c:4293: error: `CHANNEL_DFS_CLEAR' undeclared 
(first use in this f                                                unction)
/usr/src/sys/dev/ath/if_ath.c: In function `ath_calibrate':
/usr/src/sys/dev/ath/if_ath.c:4346: error: too many arguments to function
/usr/src/sys/dev/ath/if_ath.c: In function `ath_getchannels':
/usr/src/sys/dev/ath/if_ath.c:4611: warning: passing arg 5 of 
`ath_hal_init_channels' makes in                                                
teger from pointer without a cast
/usr/src/sys/dev/ath/if_ath.c:4611: error: incompatible type for argument 7 of 
`ath_hal_init_c                                                hannels'
/usr/src/sys/dev/ath/if_ath.c:4611: error: too many arguments to function 
`ath_hal_init_channe                                                ls'
/usr/src/sys/dev/ath/if_ath.c:4629: warning: passing arg 1 of 
`ath_hal_mhz2ieee' makes integer                                                 
from pointer without a cast
/usr/src/sys/dev/ath/if_ath.c:4629: error: too many arguments to function 
`ath_hal_mhz2ieee'
/usr/src/sys/dev/ath/if_ath.c:4650: error: `CHANNEL_STURBO' undeclared (first 
use in this func                                                tion)
/usr/src/sys/dev/ath/if_ath.c: In function `ath_sysctl_rfkill':
/usr/src/sys/dev/ath/if_ath.c:5214: error: `HAL_CAP_RFSILENT' undeclared 
(first use in this fu                                                nction)
/usr/src/sys/dev/ath/if_ath.c: In function `ath_sysctl_rfsilent':
/usr/src/sys/dev/ath/if_ath.c:5235: error: `HAL_CAP_RFSILENT' undeclared 
(first use in this fu                                                nction)
/usr/src/sys/dev/ath/if_ath.c: In function `ath_sysctlattach':
/usr/src/sys/dev/ath/if_ath.c:5360: error: `HAL_CAP_RFSILENT' undeclared 
(first use in this fu                                                nction)
*** Error code 1

Stop in /usr/obj/usr/src/sys/wipcentral.kernel.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br


More information about the freebsd-stable mailing list