www.pudn.com > nxplpc2204bsp.rar > sysEnd.c


/* sysEnd.c - System Enhanced Network interface support library */ 
 
/* Copyright 1984-2001 Wind River Systems, Inc. */ 
#include "copyright_wrs.h" 
 
/* 
modification history 
-------------------- 
01a,12apr01,m_h  created from snds100 template. 
*/ 
 
/* 
DESCRIPTION 
This file contains the board-specific routines for Ethernet adapter 
initialization. 
 
 
SEE ALSO: ifLib 
*/ 
 
#include "vxWorks.h" 
#include "intLib.h" 
#include "config.h" 
 
#ifdef INCLUDE_END 
 
/******************************************************************************* 
* 
* sysLanIntEnable - enable network driver interrupts 
* 
* This routine enables network driver interrupts.  This may involve 
* operations on interrupt control hardware. 
* 
* RETURNS: OK or ERROR for invalid arguments. 
*/ 
 
STATUS sysLanIntEnable 
    ( 
    int	level		/* level number */ 
    ) 
    { 
    return intEnable(level); 
    } 
 
/******************************************************************************* 
* 
* sysLanIntDisable - disable network driver interrupts 
* 
* This routine disables network driver interrupts.  This may involve 
* operations on interrupt control hardware. 
* 
* RETURNS: OK or ERROR for invalid arguments. 
*/ 
 
STATUS sysLanIntDisable 
    ( 
    int	level		/* level number */ 
    ) 
    { 
    return intDisable(level); 
    } 
 
#endif /* INCLUDE_END */