Changeset ae320e0 in rtems


Ignore:
Timestamp:
Aug 12, 1998, 11:53:23 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
7e19c72b
Parents:
9693fac4
Message:

Removed spurious prints and cleaned up XXX.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/dmv177/sonic/sonic.c

    r9693fac4 rae320e0  
    310310  void *rp = dp->sonic;
    311311
    312 printf( "sonic_stop\n" );
    313312  /*
    314313   * Stop the transmitter and receiver.
     
    503502
    504503    /*
    505      * Free the packet
     504     *  Free the packet and reset a couple of fields
    506505     */
    507506    dp->tdaActiveCount--;
    508507    free_p ((struct mbuf **)&dp->tdaTail->mbufp);
    509508
    510 /*  XXX this does not help when you wrap */
    511509    dp->tdaTail->frag[0].frag_link = LSW(dp->tdaTail->link_pad);
    512510    dp->tdaTail->frag_count        = 0;
     
    561559   */
    562560  if (dp->txWaitTid) {
    563 printf( "TX: conflict delay\n" );
     561#if (SONIC_DEBUG & SONIC_DEBUG_FRAGMENTS)
     562    printf( "TX: conflict delay\n" );
     563#endif
    564564    dp->txRawWait++;
    565565    while (dp->txWaitTid)
     
    576576   */
    577577  if (dp->tdaActiveCount == dp->tdaCount) {
    578 puts( "Wait for more TDAs" );
     578#if (SONIC_DEBUG & SONIC_DEBUG_FRAGMENTS)
     579    puts( "Wait for more TDAs" );
     580#endif
    579581    /*
    580582     * Find out who we are
     
    853855
    854856  rwp = dp->rsa;
    855   rea = dp->rea; /* XXX was rwp; */
    856   rdp = dp->rda; /* XXX was rdp_last */
     857  rea = dp->rea;
     858  rdp = dp->rda;
    857859
    858860  /*
     
    888890      void *p;
    889891
    890 /* printf( "Valid packet\n" ); */
    891892      /*
    892893       * Get the mbuf pointer
     
    905906       */
    906907      bp->cnt = rdp->byte_count - sizeof (uint32);
    907 /* printf( "Routing the packet\n" ); */
    908908      net_route (iface, &bp);
    909909
     
    984984     * Move to next receive descriptor
    985985     */
    986     /* rdp->link |= RDA_LINK_EOL; XXX */
    987986    rdp->in_use = RDA_FREE;
    988987    rdp = rdp->next;
     
    10491048     */
    10501049
    1051 /* XXX not used by other drivers we looked at
     1050/* XXX not used by the BSD drivers
    10521051    if (i & 1)
    10531052      tdp->pkt_config = TDA_CONFIG_PINT;
Note: See TracChangeset for help on using the changeset viewer.