From: Mike Frysinger Date: Sat, 14 Jan 2012 19:56:39 -0500 Subject: [U-Boot] [PATCH 3/5] miiphyutil: Add Micrel KSZ9021 support to miiphy_speed In-Reply-To: <1326456604-25137-3-git-send-email-dirk.behme@de.bosch.com> References: <1326456604-25137-1-git-send-email-dirk.behme@de.bosch.com> <1326456604-25137-3-git-send-email-dirk.behme@de.bosch.com> Message-ID: <201201141956.40778.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday 13 January 2012 07:10:02 Dirk Behme wrote: > common/miiphyutil.c | 18 +++++++++++++++++- > 1 files changed, 17 insertions(+), 1 deletions(-) this is dead code ... i think we're pushing people to use the name phy framework rather than fixing/extending the old one. > --- a/common/miiphyutil.c > +++ b/common/miiphyutil.c > > +#ifdef CONFIG_PHY_MICREL_KSZ9021 > +#define MII_PHY_CTL 0x1f > +#define MII_PHY_CTL_1000 (1 << 6) > +#define MII_PHY_CTL_100 (1 << 5) > +#define MII_PHY_CTL_10 (1 << 4) are you sure there aren't defines already in linux/mii.h for these ? -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: