/**************************************************************
***************************************************************
**
** Host Application, Copyright (C) 2003-2005
** Ikanos Communication, Fremont, CA 
** All rights reserved.
**
** The information and contents of this file are the
** proprietary information of Ikanos Communication and may not
** be disclosed or used without the formal written approval of 
** Ikanos Communication
**
***************************************************************

$Revision: 1.1 $
$Date: 2006/10/16 04:34:49 $
**************************************************************/

#ifndef _LINECRC_H_
#define _LINECRC_H_

#include "apitype.h"
#include "apistruct.h"

extern void setLineCrcThreshold (ipos_port_id pid, U32 dataRateF, U32 dataRateS);
extern void reCalLineCrcThreshold (ipos_port_id pid);
extern int evalLineCrc (ipos_port_id pid, U16 currentCntF, U16 currentCntS);
extern void dumpLineCrcStatus (ipos_port_id pid);

extern void setSixPtLineHoldEnable(int en);
extern int getSixPtLineHoldEnable();
extern int evalSixPtLineHold(U8 lineHold6ptOk);
#endif