Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2005 11:45:39 +0800 (CST)
From:      Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
To:        Vladimir Grebenschikov <vova@fbsd.ru>
Cc:        current@freebsd.org, "M. Warner Losh" <imp@bsdimp.com>
Subject:   Re: owi build broken in recent 7-CURRENT
Message-ID:  <05072911422415.24212@www.mmlab.cse.yzu.edu.tw>
In-Reply-To: <1122568705.1161.12.camel@localhost>
References:  <1122556411.1161.5.camel@localhost> <20050728.091810.85228740.imp@bsdimp.com> <1122568705.1161.12.camel@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1072737657-1122608598=:24212
Content-Type: TEXT/PLAIN; CHARSET=big5; format=flowed
Content-Transfer-Encoding: 8BIT
Content-ID: <0507291143431D.24212@www.mmlab.cse.yzu.edu.tw>

On Thu, 28 Jul 2005, Vladimir Grebenschikov wrote:
> В чт, 28/07/2005 в 09:18 -0600, M. Warner Losh пишет:
>> In message: <1122556411.1161.5.camel@localhost>
>>             Vladimir Grebenschikov <vova@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 @/tools/makeobjops.awk @/dev/pccard/card_if.m -h
>> : awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
>> : awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
>> : awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
>> : awk -f @/tools/pccarddevs2h.awk @/dev/pccard/pccarddevs
>> : cc -O2 -fno-strict-aliasing -pipe  -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-   -I. -I@ -I@/contrib/altq -I@/../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
--0-1072737657-1122608598=:24212--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05072911422415.24212>