Re: owi build broken in recent 7-CURRENT

From: Tai-hwa Liang <avatar_at_mmlab.cse.yzu.edu.tw>
Date: Fri, 29 Jul 2005 11:45:39 +0800 (CST)
On Thu, 28 Jul 2005, Vladimir Grebenschikov wrote:
> В чт, 28/07/2005 в 09:18 -0600, M. Warner Losh пишет:
>> In message: <1122556411.1161.5.camel_at_localhost>
>>             Vladimir Grebenschikov <vova_at_sw.ru> writes:
>> :
>> : Hi
>> :
>> : /sys/modules/owi# make
>> : Warning: Object directory not changed from original /usr/src/sys/modules/owi
>> : touch opt_wi.h
>> : awk -f _at_/tools/makeobjops.awk _at_/dev/pccard/card_if.m -h
>> : awk -f _at_/tools/makeobjops.awk _at_/kern/device_if.m -h
>> : awk -f _at_/tools/makeobjops.awk _at_/kern/bus_if.m -h
>> : awk -f _at_/tools/makeobjops.awk _at_/dev/pci/pci_if.m -h
>> : awk -f _at_/tools/pccarddevs2h.awk _at_/dev/pccard/pccarddevs
>> : cc -O2 -fno-strict-aliasing -pipe  -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-   -I. -I_at_ -I_at_/contrib/altq -I_at_/../include -finline-limit=8000 -fno-common  -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c /usr/src/sys/modules/owi/../../dev/owi/if_owi.c
>> : /usr/src/sys/modules/owi/../../dev/owi/if_owi.c: In function `owi_generic_attach':
>> : /usr/src/sys/modules/owi/../../dev/owi/if_owi.c:386: warning: passing arg 2 of `ether_ifattach' from incompatible pointer type
>> : *** Error code 1
>> :
>> : Stop in /usr/src/sys/modules/owi.
>> : /sys/modules/owi#
>> :
>> : Any clues about ?

   Does following patch work for you?

 	http://people.freebsd.org/~avatar/if_owi.patch

>>
>> Any reason you can't use modules/wi?
>
> Yes, I have very old radio-link based on old 4.x-based routers with old
> wi in ad-hoc mode and sometimes monitor it with my 7-CURRENT notebook.
> wi driver does not work in old wi ad-hoc compatibility mode.

   I'm wondering about whether the "old wi ad-hoc" and AHDEMO in if_wi are
the same...

-- 
Cheers,
Tai-hwa Liang
Received on Fri Jul 29 2005 - 01:45:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC