From owner-freebsd-net@FreeBSD.ORG Tue Sep 1 16:13:14 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97DA51065679 for ; Tue, 1 Sep 2009 16:13:14 +0000 (UTC) (envelope-from john@traktor.dnepro.net) Received: from traktor.dnepro.net (roof1.dnepro.net [212.3.111.66]) by mx1.freebsd.org (Postfix) with ESMTP id 135C48FC0C for ; Tue, 1 Sep 2009 16:13:13 +0000 (UTC) Received: from traktor.dnepro.net (localhost [127.0.0.1]) by traktor.dnepro.net (8.14.3/8.14.3) with ESMTP id n81GDArf049266; Tue, 1 Sep 2009 19:13:10 +0300 (EEST) (envelope-from john@traktor.dnepro.net) Received: (from john@localhost) by traktor.dnepro.net (8.14.3/8.14.3/Submit) id n81GDAdd049263; Tue, 1 Sep 2009 19:13:10 +0300 (EEST) (envelope-from john) Date: Tue, 1 Sep 2009 19:13:10 +0300 From: Eugene Perevyazko To: freebsd-net@freebsd.org Message-ID: <20090901161310.GA37481@traktor.dnepro.net> Mail-Followup-To: freebsd-net@freebsd.org, Pyun YongHyeon References: <20090821142039.GA40018@traktor.dnepro.net> <20090821221932.GE1262@michelle.cdnetworks.com> <20090825083857.GA22983@traktor.dnepro.net> <20090825114649.GA11642@traktor.dnepro.net> <20090825130821.GA41669@traktor.dnepro.net> <20090825182553.GD1282@michelle.cdnetworks.com> <20090826093916.GB10790@traktor.dnepro.net> <20090826094856.GC10790@traktor.dnepro.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090826094856.GC10790@traktor.dnepro.net> User-Agent: Mutt/1.4.2.3i Cc: Pyun YongHyeon Subject: Re: D-Link DGE-560SX (Marvell 88E8061-based) doesn't see link X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 16:13:14 -0000 On Wed, Aug 26, 2009 at 12:48:56PM +0300, Eugene Perevyazko wrote: > On Wed, Aug 26, 2009 at 12:39:16PM +0300, Eugene Perevyazko wrote: > > On Tue, Aug 25, 2009 at 11:25:53AM -0700, Pyun YongHyeon wrote: > > > > > > Try attached patch and let me know how it goes on your box. > > > You can see statistics counters maintained in driver with sysctl. > > > "sysctl dev.msk.0.stats" will show some numbers if it can see > > > packets on wire. > > > > With attached patch NIC doesn't see link again. > > All counters in dev.msk.0.stats are 0s. > > > > At the same time the link led on NIC is on, and switch shows that port is up. > That's different from the unpatched system, where led was off and switch port > was down. > Any chances to get that NIC working? I tried to look at linux driver for it (sk98lin) but quickly got lost - it's about 700 lines only for SkGmInitPhyMarv() - Initialize the Marvell PHY registers And hw programming is definitely not my expertise :( -- Eugene Perevyazko