Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758012AbYHGWP3 (ORCPT ); Thu, 7 Aug 2008 18:15:29 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753881AbYHGWPM (ORCPT ); Thu, 7 Aug 2008 18:15:12 -0400 Received: from ogre.sisk.pl ([217.79.144.158]:37033 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753753AbYHGWPK (ORCPT ); Thu, 7 Aug 2008 18:15:10 -0400 From: "Rafael J. Wysocki" To: Jesse Barnes Subject: [PATCH] e100: Use pci_pme_active to clear PME_Status and disable PME# Date: Fri, 8 Aug 2008 00:18:04 +0200 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) Cc: Alessandro Guido , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pm list , Jeff Garzik References: <200808051730.27599.alessandro.guido@gmail.com> <200808080000.07156.rjw@sisk.pl> <200808080014.25493.rjw@sisk.pl> In-Reply-To: <200808080014.25493.rjw@sisk.pl> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200808080018.05887.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 967 Lines: 28 e100: Use pci_pme_active to clear PME_Status and disable PME# Signed-off-by: Rafael J. Wysocki --- drivers/net/e100.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) Index: linux-2.6/drivers/net/e100.c =================================================================== --- linux-2.6.orig/drivers/net/e100.c +++ linux-2.6/drivers/net/e100.c @@ -2738,9 +2738,7 @@ static int __devinit e100_probe(struct p nic->flags |= wol_magic; /* ack any pending wake events, disable PME */ - err = pci_enable_wake(pdev, 0, 0); - if (err) - DPRINTK(PROBE, ERR, "Error clearing wake event\n"); + pci_pme_active(pdev, false); strcpy(netdev->name, "eth%d"); if((err = register_netdev(netdev))) { -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/