From owner-freebsd-current@FreeBSD.ORG Fri Jul 29 03:45:41 2005 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DDE9216A41F for ; Fri, 29 Jul 2005 03:45:41 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: from www.mmlab.cse.yzu.edu.tw (www.mmlab.cse.yzu.edu.tw [140.138.150.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7197543D46 for ; Fri, 29 Jul 2005 03:45:41 +0000 (GMT) (envelope-from avatar@mmlab.cse.yzu.edu.tw) Received: by www.mmlab.cse.yzu.edu.tw (qmail, from userid 1000) id 58DD75078A9; Fri, 29 Jul 2005 11:45:39 +0800 (CST) Received: from localhost (localhost [127.0.0.1]) by www.mmlab.cse.yzu.edu.tw (qmail) with ESMTP id 5375D5078A4; Fri, 29 Jul 2005 11:45:39 +0800 (CST) Date: Fri, 29 Jul 2005 11:45:39 +0800 (CST) From: Tai-hwa Liang To: Vladimir Grebenschikov In-Reply-To: <1122568705.1161.12.camel@localhost> Message-ID: <05072911422415.24212@www.mmlab.cse.yzu.edu.tw> References: <1122556411.1161.5.camel@localhost> <20050728.091810.85228740.imp@bsdimp.com> <1122568705.1161.12.camel@localhost> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1072737657-1122608598=:24212" Content-ID: <05072911434315.24212@www.mmlab.cse.yzu.edu.tw> Cc: current@freebsd.org, "M. Warner Losh" Subject: Re: owi build broken in recent 7-CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 03:45:42 -0000 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 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--