From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 16 09:47:01 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55A58106566C; Thu, 16 Aug 2012 09:47:01 +0000 (UTC) (envelope-from rb@gid.co.uk) Received: from mx0.gid.co.uk (mx0.gid.co.uk [194.32.164.250]) by mx1.freebsd.org (Postfix) with ESMTP id E252B8FC0A; Thu, 16 Aug 2012 09:47:00 +0000 (UTC) Received: from [194.32.164.22] (80-46-130-69.static.dsl.as9105.com [80.46.130.69]) by mx0.gid.co.uk (8.14.2/8.14.2) with ESMTP id q7G9kl4V087203; Thu, 16 Aug 2012 10:46:47 +0100 (BST) (envelope-from rb@gid.co.uk) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Bob Bishop In-Reply-To: <20120816091336.GA28757@alchemy.franken.de> Date: Thu, 16 Aug 2012 10:46:42 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <4A66D60B-5824-423B-906C-309A1F925E95@gid.co.uk> References: <20120816091336.GA28757@alchemy.franken.de> To: Marius Strobl X-Mailer: Apple Mail (2.1278) Cc: David Duchscher , Adrian Chadd , hackers@freebsd.org, Marius Strobl Subject: Re: Disabling ethernet link on an Intel nic? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2012 09:47:01 -0000 Hi, On 16 Aug 2012, at 10:13, Marius Strobl wrote: > I'm working on adding support to mii(4) for powering down PHYs when > the network interface is down, but as you have noticed this non- > trivial to get right, i.e. so they actually come out of power down > mode again when bringing up the interface regardless of the media > options used. We also clearly need a way to disable this behavior > for the known-broken PHYs. Please be very careful in case the PHY is carrying a piggy-backed IPMI = NIC too. > This is orthogonal to the 1 and 10 Gigabit Intel Ethernet drivers > so as these don't take advantage of mii(4). Some time ago someone > posted patches to net@ implementing/activating powering down the > PHYs when these interfaces are down though. >=20 > Marius -- Bob Bishop rb@gid.co.uk