From owner-freebsd-mobile@FreeBSD.ORG Thu Sep 25 20:46:39 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A552916A4B3 for ; Thu, 25 Sep 2003 20:46:39 -0700 (PDT) Received: from mx9.mail.ru (mx9.mail.ru [194.67.23.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED32843FFD for ; Thu, 25 Sep 2003 20:46:38 -0700 (PDT) (envelope-from maxtaylor@mail.ru) Received: from [195.239.175.134] (port=3286 helo=mail.ru) by mx9.mail.ru with esmtp id 1A2jYe-000OtA-00 for freebsd-mobile@freebsd.org; Fri, 26 Sep 2003 07:46:16 +0400 Message-ID: <3F73B692.30009@mail.ru> Date: Fri, 26 Sep 2003 11:46:26 +0800 From: TaxF Organization: ix.com User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5a) Gecko/20030328 X-Accept-Language: ru, en-us MIME-Version: 1.0 To: freebsd-mobile@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected Subject: Beta BroadCom 4401 driver X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2003 03:46:39 -0000 Hello ! I try compile those on FreeBSD 4.7 . And correct 'make: don't know how to make miidevs.h. Stop'(i copy miidevs.h into /sys/modules/bcm) and (i edit if_bcm.c line 67,68): '/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:67: dev/pci/pcireg.h: No such file or directory' '/usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:68: dev/pci/pcivar.h: No such file or directory' But result == 0. What wrong ? Warning: Object directory not changed from original /usr/src/sys/modules/bcm cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I/usr/include -mpreferred-stack-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi -c /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c In file included from /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:70: @/dev/bcm/if_bcmreg.h:180: field `mtx' has incomplete type /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c: In function `bcm_attach': /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:202: warning: implicit declaration of function `mtx_init' /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:202: `MTX_NETWORK_LOCK' undeclared (first use in this function) /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:202: (Each undeclared identifier is reported only once /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:202: for each function it appears in.) /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:203: `MTX_DEF' undeclared (first use in this function) /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:203: `MTX_RECURSE' undeclared (first use in this function) /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:292: `busdma_lock_mutex' undeclared (first use in this function) /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:292: `Giant' undeclared (first use in this function) /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:293: too many arguments to function `bus_dma_tag_create' /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:309: too many arguments to function `bus_dma_tag_create' /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:326: too many arguments to function `bus_dma_tag_create' /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:364: too many arguments to function `bus_dma_tag_create' /usr/src/sys/modules/bcm/../../dev/bcm/if_bcm.c:430: warning: passing arg 2 of `ether_ifattach' makes .........