From owner-freebsd-sparc64@FreeBSD.ORG Fri Aug 22 14:47:39 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56BC416A4BF for ; Fri, 22 Aug 2003 14:47:39 -0700 (PDT) Received: from geddar.km.ua (geddar.km.ua [62.149.0.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30F7D43FCB for ; Fri, 22 Aug 2003 14:47:38 -0700 (PDT) (envelope-from maxim@geddar.km.ua) Received: from geddar.km.ua (localhost [127.0.0.1]) by geddar.km.ua (8.12.9/8.12.9) with ESMTP id h7MLlaPR038026; Sat, 23 Aug 2003 00:47:36 +0300 (EEST) (envelope-from maxim@geddar.km.ua) Received: (from maxim@localhost) by geddar.km.ua (8.12.9/8.12.9/Submit) id h7MLlaH2038025; Sat, 23 Aug 2003 00:47:36 +0300 (EEST) Date: Sat, 23 Aug 2003 00:47:36 +0300 From: Maxim Mazurok To: Thomas Moestl Message-ID: <20030822214736.GN21392@km.ua> References: <20030801132240.GA77415@km.ua> <20030801170417.GC834@crow.dom2ip.de> <20030822131349.GD21392@km.ua> <20030822145956.GA673@crow.dom2ip.de> <20030822185956.GL21392@km.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030822185956.GL21392@km.ua> User-Agent: Mutt/1.5.4i cc: freebsd-sparc@freebsd.org Subject: Re: sio(4) driver X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2003 21:47:39 -0000 On Fri, Aug 22, 2003 at 09:59:56PM +0300, Maxim Mazurok wrote: >>> i try to upgrade my 5.1-RELEASE to 5-CURRENT. >>> in 5-CURRENT tree this patch not applied yet. >>> i try to apply your patch and rebuild kernel, but have this: >>> >>> root@fang:/sys/sparc64/compile/FANG#make all >>> cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I../../.. -I../../../dev -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing -mcmodel=medlow -msoft-float -ffreestanding -Werror ../../../dev/sio/sio.c >>> cc1: warnings being treated as errors >>> ../../../dev/sio/sio.c: In function `siocnmap': >>> ../../../dev/sio/sio.c:3448: warning: implicit declaration of function `sparc64_fake_bustag' >>> *** Error code 1 >>> >>> Stop in /var/src/sys/sparc64/compile/FANG. >>> >>> can you help me? >> >>The declaration for this function was moved around, so you need an >>additional include; an updated patch is available at >>http://people.freebsd.org/~tmm/sio-s64-20030822.diff > >tnx, it's worked. >but i no reslolve next problem. >in my Ultra AXi motherboard i have: >1. 4 rl cards >2. dual-port sio card >3. VGA+dual ethernet (hme) card > >on 5.1-RELEASE on all hme cards (one onboard and two on PCI card) i have >same mac-address. Width any value OFW option "local-mac-address?". >i rebuild kernel to 5-CURRENT width options OFW_NEWPCI, but i have same >effect. width new problem: rl cards no worked. i have not any arp addresses >from rl cards. ohhh. i have big troubles. after experiments my any ethernet cards worked only in promiscuous mode. i not do buildworld and installworld. i only update src, buildkernel, installkernel. but after experiments my old kernel (5.1-RELEASE) not worked too. -- Maxim Mazurok (MMP2-RIPE)