From patchwork Mon Sep 22 13:55:35 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ayaz Abdulla X-Patchwork-Id: 903 X-Patchwork-Delegate: jgarzik@pobox.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id EB652DE50F for ; Tue, 23 Sep 2008 03:11:37 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751011AbYIVRLd (ORCPT ); Mon, 22 Sep 2008 13:11:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751095AbYIVRLd (ORCPT ); Mon, 22 Sep 2008 13:11:33 -0400 Received: from hqemgate03.nvidia.com ([216.228.112.145]:16076 "EHLO hqemgate03.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751011AbYIVRLc (ORCPT ); Mon, 22 Sep 2008 13:11:32 -0400 Received: from hqnvupgp03.nvidia.com (Not Verified[172.17.102.18]) by hqemgate03.nvidia.com id ; Mon, 22 Sep 2008 10:08:55 -0700 Received: from hqemfe03.nvidia.com ([172.17.108.22]) by hqnvupgp03.nvidia.com (PGP Universal service); Mon, 22 Sep 2008 10:11:24 -0700 X-PGP-Universal: processed; by hqnvupgp03.nvidia.com on Mon, 22 Sep 2008 10:11:24 -0700 Received: from [172.16.137.226] ([172.17.108.22]) by hqemfe03.nvidia.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 22 Sep 2008 10:10:47 -0700 Message-ID: <48D7A3D7.2010602@nvidia.com> Date: Mon, 22 Sep 2008 09:55:35 -0400 From: Ayaz Abdulla User-Agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeff Garzik , Manfred Spraul , Andrew Morton , nedev Subject: [PATCH] forcedeth fix: take phy out of reset during power up X-NVConfidentiality: public X-OriginalArrivalTime: 22 Sep 2008 17:10:47.0504 (UTC) FILETIME=[27EAAD00:01C91CD6] Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch will add the phy reset bit into the power up mask which is used during power up. Certain BIOSes will place the phy in reset and therefore the driver must take the phy out of reset when it loads. Signed-off-by: Ayaz Abdulla --- old/drivers/net/forcedeth.c 2008-09-22 09:46:17.000000000 -0400 +++ new/drivers/net/forcedeth.c 2008-09-22 09:46:20.000000000 -0400 @@ -337,7 +337,7 @@ NvRegMSIXIrqStatus = 0x3f0, NvRegPowerState2 = 0x600, -#define NVREG_POWERSTATE2_POWERUP_MASK 0x0F11 +#define NVREG_POWERSTATE2_POWERUP_MASK 0x0F15 #define NVREG_POWERSTATE2_POWERUP_REV_A3 0x0001 #define NVREG_POWERSTATE2_PHY_RESET 0x0004 };