From owner-freebsd-sparc64@FreeBSD.ORG Thu Sep 22 02:10:26 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org 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 46E0816A41F for ; Thu, 22 Sep 2005 02:10:26 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF30E43D45 for ; Thu, 22 Sep 2005 02:10:25 +0000 (GMT) (envelope-from pyunyh@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so46379nzk for ; Wed, 21 Sep 2005 19:10:25 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:reply-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=neKqqagrt9r3vQW2j5bCCYCKk5xlTf98082gBTkUwavcJlG3SRi2XFCQyYT1BvVAPg+Peyse04woBNqAAY0DyoS/+wgG3CpnvSkWCzR43kCQviLznfdGsjXBeCDY0MEJyLhMEktS6u37v2ZmjA/cVzyounmg0bzUiBN9QOjnvzU= Received: by 10.36.100.13 with SMTP id x13mr5437745nzb; Wed, 21 Sep 2005 19:10:25 -0700 (PDT) Received: from michelle.rndsoft.co.kr ( [211.32.202.211]) by mx.gmail.com with ESMTP id 10sm132559nzo.2005.09.21.19.10.23; Wed, 21 Sep 2005 19:10:25 -0700 (PDT) Received: from michelle.rndsoft.co.kr (localhost.rndsoft.co.kr [127.0.0.1]) by michelle.rndsoft.co.kr (8.13.1/8.13.1) with ESMTP id j8M2Ah0b011134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 22 Sep 2005 11:10:43 +0900 (KST) (envelope-from yongari@gmail.com) Received: (from yongari@localhost) by michelle.rndsoft.co.kr (8.13.1/8.13.1/Submit) id j8M2Ac8K011133; Thu, 22 Sep 2005 11:10:38 +0900 (KST) (envelope-from yongari@gmail.com) Date: Thu, 22 Sep 2005 11:10:38 +0900 From: Pyun YongHyeon To: Miles Nordin Message-ID: <20050922021038.GA10719@rndsoft.co.kr> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-sparc64@freebsd.org Subject: Re: bge(4) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Sep 2005 02:10:26 -0000 On Wed, Sep 21, 2005 at 12:40:40PM -0400, Miles Nordin wrote: > When I do 'kldload if_bge' i get: > > -----8<----- > bge0: mem 0x10000-0x1ffff at device 3.0 on pci2 > bge0: firmware handshake timed out > bge0 PHY read timed out > bge0: MII without any PHY! > device_attach: bge0 attach returned 6 > -----8<----- > > Is this expected? > Yes. :-( > I'm looking for a good card to do forwarding of high pps on a Netra T1 > 200, because AFAICT gem and hme aren't documented to support interrupt > mitigation nor polling(9). Will em(4) work on sparc64? Do people > have other suggestions? > Polling support for hme(4) is one of item in my TODO list. It's not complex and easy to add polling support code but I have no idea polling on SMP really helps. At present em(4) does not work on sparc64. See http://people.freebsd.org/~yongari/em.patch.0419 It's old patch but you may see the point. There is also bge(4) patch(http://people.freebsd.org/~yongari/bge.patch.0908). Due to recent bge(4) changes it wouldn't apply cleanly but I think you can patch the driver manually. -- Regards, Pyun YongHyeon