From owner-freebsd-stable@FreeBSD.ORG Wed Mar 4 01:03:28 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32F48106564A for ; Wed, 4 Mar 2009 01:03:28 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.232]) by mx1.freebsd.org (Postfix) with ESMTP id EAF958FC14 for ; Wed, 4 Mar 2009 01:03:27 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id f6so3477534rvb.43 for ; Tue, 03 Mar 2009 17:03:27 -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=/7TZieZ+1SF/RRDWVOVHKfVBpVRmHrgEsS86vNzfXn0=; b=nsyemf/tCDRIFUDt5VMusPWQcwd0ilL4EPalBk7NVnwV3RhdQhRxbrUUW7wzvr9iND mOZEVcDgaQFHEWyMSGO1C8Qa8baX5tk6bNCT+KfYKKaRPc9bPHJiX36DB4qLLnpf+ylG SjyaHJ+CkSu1zqm5pRDU6nbKgFiJoo0Zh5r6o= 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=uoOLcEefBBVhyqmrPJrttw0AJ+25zsJI8UsFO8JmuWT1wMx/JZEg/FSEqYsLO4CeAW X1qa5Ps3Wv3IpoKo6/MKl8/i68Ld2tf+l7aU4e09l8ZaZC8QiFqIuvcMLWJTuk6NkOHH vffnO044baF/Ahhd25sm85Uiwvs1sY5Ts9OKQ= Received: by 10.140.247.11 with SMTP id u11mr3840538rvh.123.1236128607686; Tue, 03 Mar 2009 17:03:27 -0800 (PST) Received: from michelle.cdnetworks.co.kr ([114.111.62.249]) by mx.google.com with ESMTPS id g31sm22589672rvb.7.2009.03.03.17.03.25 (version=SSLv3 cipher=RC4-MD5); Tue, 03 Mar 2009 17:03:26 -0800 (PST) Received: by michelle.cdnetworks.co.kr (sSMTP sendmail emulation); Wed, 4 Mar 2009 10:10:19 +0900 From: Pyun YongHyeon Date: Wed, 4 Mar 2009 10:10:19 +0900 To: Cristiano Deana Message-ID: <20090304011019.GA87142@michelle.cdnetworks.co.kr> References: <20090303123156.GC84434@michelle.cdnetworks.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: delphij@FreeBSD.org, FreeBSD Stable Mailing List Subject: Re: bce: unable to fix media X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2009 01:03:28 -0000 On Tue, Mar 03, 2009 at 02:26:11PM +0100, Cristiano Deana wrote: > 2009/3/3 Pyun YongHyeon : > > >> # ifconfig bce0 media 1000baseSX > >> ifconfig: SIOCSIFMEDIA (media): Device not configured > > > I don't have experience on bce(4) hardwares so I'm not sure but how > > about adding full-duplex? > > e.g. ifconfig bce0 media 1000baseSX mediaopt full-duplex > > Thanks, that works. But put the card in "no carrier". > I will let in autoselect > Yeah, that would be the reason why you always have to rely on auto-negotiation. > > >> or (according to bce(4)): > >> > >> # ifconfig bce0 media 1000baseTX > >> ifconfig: SIOCSIFMEDIA (media): Device not configured > >> > > > > I guess your PHY type is not for 1000baseT. That's not valid option > > for your controller. > > I think there is a typo o incomplete description in bce(4): > > 1000baseTX Set 1000baseTX operation over twisted pair. Only > full-duplex mode is supported. > > No entry for "1000baseSX". > bce(4) man page should reflect reality. I think the man page was written when there was no support for TBI. Things has changed since then(e.g BCM5709, 1000baseSX/2500baseSX support etc). Xin Li, would you take care of this?(CCed)