lkml.org 
[lkml]   [2006]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[RFC][PATCH 6/9] tg3 driver conversion

    Update the driver to make use of the NETIF_F_MEMALLOC feature.

    Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Signed-off-by: Daniel Phillips <phillips@google.com>

    ---
    drivers/net/tg3.c | 2 ++
    1 file changed, 2 insertions(+)

    Index: linux-2.6/drivers/net/tg3.c
    ===================================================================
    --- linux-2.6.orig/drivers/net/tg3.c
    +++ linux-2.6/drivers/net/tg3.c
    @@ -11643,6 +11643,8 @@ static int __devinit tg3_init_one(struct
    */
    pci_save_state(tp->pdev);

    + dev->features |= NETIF_F_MEMALLOC;
    +
    err = register_netdev(dev);
    if (err) {
    printk(KERN_ERR PFX "Cannot register net device, "
    -
    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/
    \
     
     \ /
      Last update: 2006-08-08 21:41    [W:0.020 / U:60.932 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site