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 A32DADDF5B for ; Tue, 8 Jul 2008 10:46:17 +1000 (EST) Subject: Re: [PATCH] ibm_newemac: Add MII mode support to the EMAC RGMII bridge. From: Benjamin Herrenschmidt To: Grant Erickson In-Reply-To: References: Content-Type: text/plain Date: Tue, 08 Jul 2008 10:46:06 +1000 Message-Id: <1215477966.8970.181.camel@pasglop> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, sr@denx.de, jgarzik@pobox.com Reply-To: benh@kernel.crashing.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2008-07-07 at 16:47 -0700, Grant Erickson wrote: > > Would you prefer? > > +#define RGMII_FER_MII(idx) RGMII_FER_GMII(idx) > > Having the "extra" mnemonic makes the code end up looking less like a typo > and more like a conscious decision: "Yes, we know MII and GMII are the same > setting, but we're being explicit about it." Yeah, that looks better. Either that or a comment. Cheers, Ben.