Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bc1e0a095e9b8c4df4a2eedd7dc6a9d470a0e6b7 Commit: bc1e0a095e9b8c4df4a2eedd7dc6a9d470a0e6b7 Parent: 09e06f652d86d358583df0b601c0c4d11923dd88 Author: Domen Puncer <[EMAIL PROTECTED]> AuthorDate: Fri Aug 17 08:54:45 2007 +0200 Committer: Jeff Garzik <[EMAIL PROTECTED]> CommitDate: Sat Aug 25 02:31:02 2007 -0400
phy layer: fix genphy_setup_forced (don't reset) Writing BMCR_RESET bit will reset MII_BMCR to default values. This is clearly not what we want. Signed-off-by: Domen Puncer <[EMAIL PROTECTED]> Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> --- drivers/net/phy/phy_device.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/phy/phy_device.c b/drivers/net/phy/phy_device.c index a8b74cd..e275df8 100644 --- a/drivers/net/phy/phy_device.c +++ b/drivers/net/phy/phy_device.c @@ -364,7 +364,7 @@ EXPORT_SYMBOL(genphy_config_advert); */ int genphy_setup_forced(struct phy_device *phydev) { - int ctl = BMCR_RESET; + int ctl = 0; phydev->pause = phydev->asym_pause = 0; - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html