Date: Sun, 19 Feb 2006 07:26:13 -0300 From: JoaoBR <joao@matik.com.br> To: freebsd-stable@freebsd.org Subject: Re: ath patch+hal for test Message-ID: <200602190726.13672.joao@matik.com.br> In-Reply-To: <43E822DA.3010004@errno.com> References: <43E822DA.3010004@errno.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. =A0Please test and > report any regressions against what is in CVS. =A0This patch should work > on both HEAD and RELENG_6. =A0I 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= =20 from compiling the kernel, I did not tried as module. Jo=E3o cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-exte= rns=20 =2DWstrict-protot ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual =20 =2Dfformat-extensions -std=3Dc99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq=20 =2DI/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath=20 =2DI/usr/src/sys/contrib/dev/ath/freeb sd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL=20 =2DDHAVE_KERNEL_OPTION_HEADERS =2Dinclude opt_global.h -fno-common -finline-limit=3D8000 --param=20 inline-unit-growth=3D100 --param l arge-function-growth=3D1000 -mno-align-long-strings=20 =2Dmpreferred-stack-boundary=3D2 -mno-mmx -mno =2D3dnow -mno-sse -mno-sse2 -ffreestanding=20 =2DWerror /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 (fi= rst=20 use in this fun ction) /usr/src/sys/dev/ath/if_ath.c:492: error: (Each undeclared identifier is=20 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=20 `ah_processDfs' /usr/src/sys/dev/ath/if_ath.c:926: error: structure has no member named=20 `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 us= e=20 in this function) /usr/src/sys/dev/ath/if_ath.c:944: error: initializer element is not consta= nt /usr/src/sys/dev/ath/if_ath.c:944: error: (near initialization for=20 `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=20 `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=20 `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=20 `ah_radarWait' /usr/src/sys/dev/ath/if_ath.c:4192: error: structure has no member named=20 `privFlags' /usr/src/sys/dev/ath/if_ath.c:4195: error: structure has no member named=20 `privFlags' /usr/src/sys/dev/ath/if_ath.c:4195: error: `CHANNEL_INTERFERENCE' undeclare= d=20 (first use in thi s function) /usr/src/sys/dev/ath/if_ath.c:4198: error: structure has no member named=20 `privFlags' /usr/src/sys/dev/ath/if_ath.c:4201: error: structure has no member named=20 `privFlags' /usr/src/sys/dev/ath/if_ath.c:4201: error: `CHANNEL_DFS' undeclared (first = use=20 in this functio n) /usr/src/sys/dev/ath/if_ath.c:4205: error: structure has no member named=20 `privFlags' /usr/src/sys/dev/ath/if_ath.c:4205: error: `CHANNEL_DFS_CLEAR' undeclared=20 (first use in this f unction) /usr/src/sys/dev/ath/if_ath.c:4206: error: structure has no member named=20 `privFlags' /usr/src/sys/dev/ath/if_ath.c:4210: error: structure has no member named=20 `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=20 `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=20 `ath_hal_mhz2ieee' /usr/src/sys/dev/ath/if_ath.c:4236: warning: passing arg 1 of=20 `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=20 `ath_hal_mhz2ieee' /usr/src/sys/dev/ath/if_ath.c:4293: error: structure has no member named=20 `privFlags' /usr/src/sys/dev/ath/if_ath.c:4293: error: `CHANNEL_DFS' undeclared (first = use=20 in this functio n) /usr/src/sys/dev/ath/if_ath.c:4293: error: `CHANNEL_DFS_CLEAR' undeclared=20 (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=20 `ath_hal_init_channels' makes in = =20 teger from pointer without a cast /usr/src/sys/dev/ath/if_ath.c:4611: error: incompatible type for argument 7= of=20 `ath_hal_init_c hannels' /usr/src/sys/dev/ath/if_ath.c:4611: error: too many arguments to function=20 `ath_hal_init_channe ls' /usr/src/sys/dev/ath/if_ath.c:4629: warning: passing arg 1 of=20 `ath_hal_mhz2ieee' makes integer = =20 from pointer without a cast /usr/src/sys/dev/ath/if_ath.c:4629: error: too many arguments to function=20 `ath_hal_mhz2ieee' /usr/src/sys/dev/ath/if_ath.c:4650: error: `CHANNEL_STURBO' undeclared (fir= st=20 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=20 (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=20 (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=20 (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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602190726.13672.joao>