/*
 *               Copyright (C) 2005, BroadOn Communications Corp.
 *
 *  These coded instructions, statements, and computer programs contain
 *  unpublished  proprietary information of BroadOn Communications Corp.,
 *  and  are protected by Federal copyright law. They may not be disclosed
 *  to  third  parties or copied or duplicated in any form, in whole or in
 *  part, without the prior written consent of BroadOn Communications Corp.
 *
 */
#ifndef __TRACE_H__
#define __TRACE_H__

/*
 * Primitive trace data format:
 *
 * +---------------+---------------+---------------+---------------+
 * |  Major Ident  |    Reserved   |   Reserved    | Minor Ident   |
 * +---------------+---------------+---------------+---------------+
 *
 */
#define TRACE_DATA(a,b) ((a & 0xff) << 24 | (b & 0xff))

#define MAIN_LINE              1
#define SETUP_TRANS_TABLE      2
#define DEVICE_SETUP           3
#define HANDLE_STATUS_REGISTER 4
#define INTERRUPT_SERVICE      5


/*
 * Prototypes
 */
extern void trace_it (int trace_datum);

#endif /* __TRACE_H__ */
