/*
 *               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.
 *
 */

#include <iostypes.h>
#include <hw.h>
#include <ioslibc.h>
#include <apputils.h>
#include <sys.h>

int 
m_getChipId(char *args, char *d)
{
  u32 maj, min;
  getChipId(&maj, &min);
  printf("ChipId: major: 0x%x minor: 0x%x\n", maj, min);
    return 0;
}

int 
m_initCompatMode(char *args, char *d)
{
    initSysMode(compatmode);
    return 0;
}
int 
m_initEnhancedMode(char *args, char *d)
{
    initSysMode(enhancedmode);
    return 0;
}

int 
m_initChip(char *args, char *d)
{
  initChip();
  return 0;
}
