win-pvdrivers

changeset 46:d69f904fcf28

xennet: remove obsolete comments
author Andy Grover <andy.grover@oracle.com>
date Fri Dec 14 13:30:56 2007 -0800 (2007-12-14)
parents cc2c13724f45
children 5cd75aeb77cb 94d0f2823b42
files xennet/xennet.c
line diff
     1.1 --- a/xennet/xennet.c	Fri Dec 14 13:23:59 2007 -0800
     1.2 +++ b/xennet/xennet.c	Fri Dec 14 13:30:56 2007 -0800
     1.3 @@ -367,9 +367,6 @@ XenNet_RxBufferCheck(struct xennet_info 
     1.4      mb();
     1.5    } while ((cons == prod) && (prod != xi->rx.sring->rsp_prod));
     1.6  
     1.7 -  /* if queued packets, send them now?
     1.8 -  network_maybe_wake_tx(dev); */
     1.9 -
    1.10    /* Give netback more buffers */
    1.11    XenNet_AllocRXBuffers(xi);
    1.12  
    1.13 @@ -400,8 +397,6 @@ XenNet_Interrupt(
    1.14    // KeReleaseSpinLock(&ChildDeviceData->Lock, KIrql);
    1.15    // KdPrint((__DRIVER_NAME " --> Dpc Event Set\n"));
    1.16  
    1.17 -  /* handle RX packets */
    1.18 -
    1.19    return TRUE;
    1.20  }
    1.21  
    1.22 @@ -1043,19 +1038,6 @@ XenNet_SendPackets(
    1.23    IN UINT NumberOfPackets
    1.24    )
    1.25  {
    1.26 -  /* for each packet:
    1.27 -    req_prod_pvt is the next entry in the cmd ring to use
    1.28 -    add pkt to array of saved packets
    1.29 -    fill out tx request for the first part of skb
    1.30 -    add to grant table
    1.31 -    do flags for csum etc
    1.32 -    gso (later)
    1.33 -    inc req_prod_pvt
    1.34 -    frags
    1.35 -    possibly notify
    1.36 -    network_tx)buf_gc
    1.37 -    stop netif if no more room
    1.38 -    */
    1.39    struct xennet_info *xi = MiniportAdapterContext;
    1.40    PNDIS_PACKET curr_packet;
    1.41    UINT i;