Changeset bc09324 in network-demos


Ignore:
Timestamp:
Aug 12, 1998, 4:14:11 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master, netdemos-4-5-branch, network-demos-4-10-branch, network-demos-4-6-branch, network-demos-4-7-branch, network-demos-4-8-branch, network-demos-4-9-branch, rtems-4-5-branch
Children:
d265bbf
Parents:
062f725
Message:

Added code to turn on debug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ttcp/init.c

    r062f725 rbc09324  
    1616#include "../usercfg.h"
    1717
    18 /*#define TRACE_SCC1 1 */
    1918#include <bsp.h>
    2019
     
    9796                rtems_panic ("Can't attach Ethernet driver.\n");
    9897
     98#if (defined (TRACE_NETWORK_DRIVER))
     99        /*
     100         * Turn on debugging
     101         */
     102        puts( "Enabling debug mode of KA9Q" );
     103        if (rtems_ka9q_execute_command ("trace rtems input <stdout>")
     104         || rtems_ka9q_execute_command ("trace rtems output <stdout>")
     105         || rtems_ka9q_execute_command ("trace rtems ascii <stdout>"))
     106                rtems_panic ("Can't set tracing for Ethernet driver.\n");
     107#endif
     108
     109
    99110        /*
    100111         * Configure the driver
Note: See TracChangeset for help on using the changeset viewer.