From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 79F4D2C00A4 for ; Wed, 6 Nov 2013 13:17:39 +1100 (EST) Message-ID: <1383704240.4776.115.camel@pasglop> Subject: Re: [PATCH 3/7] IBM Akebono: Add support for a new PHY to the IBM emac driver From: Benjamin Herrenschmidt To: Alistair Popple Date: Wed, 06 Nov 2013 13:17:20 +1100 In-Reply-To: <9250529.5UedqhaNce@mexican> References: <1383629471-16979-1-git-send-email-alistair@popple.id.au> <81419762.0SyAdYsUqu@mexican> <9250529.5UedqhaNce@mexican> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: netdev , Florian Fainelli , linuxppc-dev , "David S. Miller" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2013-11-06 at 12:38 +1100, Alistair Popple wrote: > > Right, rgmii_mode_name() just has informative purposes and should be > > removed, I would suggest using standard device tree bindings > property > > (phy-mode) anyway such that you could use of_get_phy_mode() and use > > phy_interface_t types. > > Ok, that's what is currently done in the core IBM EMAC driver. As this > is used > just for informative purposes I will remove it. Thanks. Why ? Information is useful... Ben.