lkml.org 
[lkml]   [2011]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH net-next v5 05/10] forcedeth: Add messages to indicate using MSI or MSI-X
    Date
    From: Mike Ditto <mditto@google.com>

    This adds a few kernel messages to indicate whether PCIe interrupts
    are signaled with MSI or MSI-X.



    Signed-off-by: David Decotigny <david.decotigny@google.com>
    ---
    drivers/net/ethernet/nvidia/forcedeth.c | 2 ++
    1 files changed, 2 insertions(+), 0 deletions(-)

    diff --git a/drivers/net/ethernet/nvidia/forcedeth.c b/drivers/net/ethernet/nvidia/forcedeth.c
    index 374625b..fe17e42 100644
    --- a/drivers/net/ethernet/nvidia/forcedeth.c
    +++ b/drivers/net/ethernet/nvidia/forcedeth.c
    @@ -3810,6 +3810,7 @@ static int nv_request_irq(struct net_device *dev, int intr_test)
    writel(0, base + NvRegMSIXMap0);
    writel(0, base + NvRegMSIXMap1);
    }
    + netdev_info(dev, "MSI-X enabled\n");
    }
    }
    if (ret != 0 && np->msi_flags & NV_MSI_CAPABLE) {
    @@ -3831,6 +3832,7 @@ static int nv_request_irq(struct net_device *dev, int intr_test)
    writel(0, base + NvRegMSIMap1);
    /* enable msi vector 0 */
    writel(NVREG_MSI_VECTOR_0_ENABLED, base + NvRegMSIIrqMask);
    + netdev_info(dev, "MSI enabled\n");
    }
    }
    if (ret != 0) {
    --
    1.7.3.1


    \
     
     \ /
      Last update: 2011-11-16 06:19    [W:0.047 / U:31.456 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site