📄 sysnet.c
字号:
/* sysNet.c - system network interface support library *//* Copyright 1984-2001 Wind River Systems, Inc. *//*modification history--------------------01a,21mar01,gh written.*//*DESCRIPTIONThis library contains board-specific routines for network subsystems.*/#if defined (INCLUDE_NETWORK)/* includes */#include "copyright_wrs.h"#include "vxWorks.h"#include "taskLib.h"#include "sysLib.h"#include "config.h"/***************************************************************************** sysNetHwInit - initialize the network interface** This routine initializes the network hardware to a quiescent state. It* does not connect interrupts.** Only polled mode operation is possible after calling this routine.* Interrupt mode operation is possible after the memory system has been* initialized and sysNetHwInit2() has been called.** RETURNS: N/A** SEE ALSO: sysHwInit()*/void sysNetHwInit (void) { }/***************************************************************************** sysNetHwInit2 - initialize additional features of the network interface** This routine completes initialization needed for interrupt mode operation* of the network device drivers. Interrupt handlers can be connected.* Interrupt or DMA operations can begin.** RETURNS: N/A** SEE ALSO: sysHwInit2*/void sysNetHwInit2 (void) {#ifdef INCLUDE_END#ifdef INCLUDE_FEI82557END sys557PciInit (); /* Intel 82557/9 device */#endif /* INJCLUDE_FEI82557END */#endif /* INCLUDE_END */ }#endif /* INCLUDE_NETWORK */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -