[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <DB904C5425BA6F4E8424B3B51A1414D16D3BA945D1@NWD2CMBX1.ad.analog.com>
Date: Tue, 25 Oct 2011 03:26:50 -0400
From: "Zhang, Sonic" <Sonic.Zhang@...log.com>
To: Kyle Moffett <Kyle.D.Moffett@...ing.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: "David S. Miller" <davem@...an.davemloft.net>,
Mike Frysinger <vapier@...too.org>,
Tobias Klauser <tklauser@...tanz.ch>,
"uclinux-dist-devel@...ckfin.uclinux.org"
<uclinux-dist-devel@...ckfin.uclinux.org>
Subject: RE: [RFC PATCH 08/17] drivers/net/bfin_mac: Don't unnecessarily
reset the PHY
Acked-by: Sonic Zhang <sonic.zhang@...log.com>
Sonic
>-----Original Message-----
>From: Kyle Moffett [mailto:Kyle.D.Moffett@...ing.com]
>Sent: Friday, October 21, 2011 5:00 AM
>To: linux-kernel@...r.kernel.org; netdev@...r.kernel.org
>Cc: Kyle Moffett; David S. Miller; Mike Frysinger; Zhang,
>Sonic; Tobias Klauser; uclinux-dist-devel@...ckfin.uclinux.org
>Subject: [RFC PATCH 08/17] drivers/net/bfin_mac: Don't
>unnecessarily reset the PHY
>
>The PHY is already reset during driver probing, and this
>manual reset afterwards will wipe out board-specific PHY
>fixups and driver-specific
>phy->drv->config_init() register tweaks.
>
>Signed-off-by: Kyle Moffett <Kyle.D.Moffett@...ing.com>
>---
> drivers/net/bfin_mac.c | 1 -
> 1 files changed, 0 insertions(+), 1 deletions(-)
>
>diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c
>index 6c019e1..1427ec3 100644
>--- a/drivers/net/bfin_mac.c
>+++ b/drivers/net/bfin_mac.c
>@@ -1402,7 +1402,6 @@ static int bfin_mac_open(struct net_device *dev)
> return ret;
>
> phy_start(lp->phydev);
>- phy_write(lp->phydev, MII_BMCR, BMCR_RESET);
> setup_system_regs(dev);
> setup_mac_addr(dev->dev_addr);
>
>--
>1.7.2.5
>
>
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists