📄 precomp.h
字号:
/******************* (c) Marvell Semiconductor, Inc., 2003 ********************
*
* Purpose:
*
* This file includes all the necessary header files for the MrvDrv NIDS driver
*
* Notes:
*
* $Author: Wuz $
*
* $Date: 2006/07/25 04:23:25 $
*
* $Revision: 1.3 $
*
*****************************************************************************/
#ifndef _PRECOMP_H_
#define _PRECOMP_H_
#ifdef IF_SPI
///Definition for different platforms
///Platform for CMCS
///#define CMCS 0
///Platform for Bulverde
#define PXA270_SPI 0
#define OMAP730_SPI 1
#endif
/*
===============================================================================
INCLUDE FILES
===============================================================================
*/
#include <ndis.h>
//
//Soujanya 1/14/2003
//
//To print traces in Debugger enable the define MRVL_USE_DBG. This will print the
// Traces both in release as well as checked builds.
//
//
#ifdef DBG
#define MRV_DRV_LOGFILE
#define MRVL_USE_DBG // Turn on debug info
#endif // #ifdef DBG
//#ifdef DBG
//#define MRVL_USE_DBG // Turn on debug info
//#endif
// jeff.spurgat 2003-04-02
// these were not defined in WinCE provided header file ntdndis.h
#ifdef UNDER_CE
#define fNDIS_GUID_ALLOW_READ 0x00000020
#define fNDIS_GUID_ALLOW_WRITE 0x00000040
#endif // UNDER_CE
#include "ndisdef.h" // 802.11-related NDIS definitions needed in NDIS 5.0
#include "dsdef.h" // Data structure definition
#include "macrodef.h" // Macro definition
#ifdef WMM
#include "wmm.h"
#endif
#include "ixstatus.h" // IGX status return codes.
#include "macreg.h" // SDIO & CF MAC registers
#include "procdef.h" // NDIS Miniport procedure definition
#include "hostcmd.h" // Host command
#include "eagledev.h" // Device Object definition
#include "IgxBug.h" // debug macros
#ifdef CF_DRIVER
#include "cf_Ifc.h" // Compact flash interface definition.
#endif // CF_DRIVER
#include "operfunc.h" // MrvDrv operation functions definition
#include "oid.h" // common OID header between driver and application
#include "If.h"
#ifdef UNDER_CE // PJG: no such header in XP ddk.
#include <cardserv.h>
#endif
/*****************************************************************/
//#define DEBUG_NIDIS_SETINFOR
#ifdef DEBUG_NIDIS_SETINFOR
extern void Para_NdisMSetInformationComplete(
TCHAR* szFuntion,ulong ulLine,
NDIS_HANDLE MiniportAdapterHandle,
NDIS_STATUS Status
);
#endif
/*****************************************************************/
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -