lkml.org 
[lkml]   [2008]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] e100: Use pci_pme_active to clear PME_Status and disable PME#
    Date
    e100: Use pci_pme_active to clear PME_Status and disable PME#

    Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>

    ---
    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))) {

    \
     
     \ /
      Last update: 2008-08-08 00:17    [W:3.272 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site