From owner-freebsd-current@FreeBSD.ORG Tue Jan 19 19:37:49 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67E27106568B for ; Tue, 19 Jan 2010 19:37:49 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 19FE98FC23 for ; Tue, 19 Jan 2010 19:37:48 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so971039qwd.7 for ; Tue, 19 Jan 2010 11:37:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=8Ni6KGMZIs1DiZ063vE24egZXpHrq2whwzJuPvgnklE=; b=V5KvemxHXezzgnsG1VOozfMLf6TWaXIx8ER1ox0HdGQ6yPLXLBCbeb0lKxDsawsBm+ uotQD0gkpDHg8F/5sR/yPhbLntpSKGzrmJ+Fl/xtWey5CBAQ/Siv3glY3THfVPam8PD7 AgjP1BZu51jn6M0HzZFaRstL8dr+BR+u4qm3I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=q4smbR7V38Y3tvgk4pq6Zj7BWyDSB9e/irET+jzEdRfb+bJZ1nxFuTA4igNlI26ddW DKIml8q87iEiocCdq8FC9LTyuj4OiodSsbQ3eOkA8ZBQA9PpiuibYXnwkZfZTfhEFbU+ rd0f1z/2Y8IZg43Br8qE5oYaiwRR7V1NWWZKA= Received: by 10.224.89.196 with SMTP id f4mr5520297qam.90.1263929868299; Tue, 19 Jan 2010 11:37:48 -0800 (PST) Received: from pyunyh@gmail.com ([174.35.1.224]) by mx.google.com with ESMTPS id 23sm6296835qyk.3.2010.01.19.11.37.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 19 Jan 2010 11:37:47 -0800 (PST) Received: by pyunyh@gmail.com (sSMTP sendmail emulation); Tue, 19 Jan 2010 11:37:43 -0800 From: Pyun YongHyeon Date: Tue, 19 Jan 2010 11:37:43 -0800 To: Oliver Fromme Message-ID: <20100119193743.GC6201@michelle.cdnetworks.com> References: <20100119181518.GA6201@michelle.cdnetworks.com> <201001191923.o0JJNDPM064136@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001191923.o0JJNDPM064136@lurza.secnetix.de> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@FreeBSD.ORG Subject: Re: bce(4) on IBM BladeCenter HS22 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 19:37:49 -0000 On Tue, Jan 19, 2010 at 08:23:13PM +0100, Oliver Fromme wrote: > Pyun YongHyeon wrote: > > Thanks for the detailed information. I vaguely guess bce(4) used > > wrong PHY address for controller. How about attached patch? > > The patch just reset the PHY address to 1, it's not correct way to > > set it but just wants to know whether brgphy(4) is attached to the > > PHY. > > Unfortunately, it produces almost the same output, > except the registers now read 0xffff instead of 0x0000: > :-( Ok, could you remove the safety belt of bce_miibus_read_reg() to allow accessing all PHY address? You can comment out sc->bce_phy_addr check in bce_miibus_read_reg() to allow mii_phy_probe try to read all 32 possible PHY addresses. Does mii(4) probe manage to read something?