mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* drivers/net/ndis/include/.cvsignore: New file. * drivers/net/ndis/.cvsignore: Add *.d. * drivers/net/ndis/Makefile (TARGET_PCH): Set to include/ndissys.h. * drivers/net/ndis/*.c: Use pre-compiled header. svn path=/trunk/; revision=10568
This commit is contained in:
parent
7ffd28c060
commit
455ea22b67
24 changed files with 47 additions and 35 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||||
|
|
||||||
|
* drivers/net/ndis/include/.cvsignore: New file.
|
||||||
|
* drivers/net/ndis/.cvsignore: Add *.d.
|
||||||
|
* drivers/net/ndis/Makefile (TARGET_PCH): Set to include/ndissys.h.
|
||||||
|
* drivers/net/ndis/*.c: Use pre-compiled header.
|
||||||
|
|
||||||
2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||||
|
|
||||||
* drivers/net/afd/include/.cvsignore: New file.
|
* drivers/net/afd/include/.cvsignore: New file.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $Id: Makefile,v 1.20 2004/07/29 05:00:43 arty Exp $
|
# $Id: Makefile,v 1.21 2004/08/15 23:12:32 chorns Exp $
|
||||||
|
|
||||||
PATH_TO_TOP = ../../..
|
PATH_TO_TOP = ../../..
|
||||||
|
|
||||||
|
@ -6,6 +6,8 @@ TARGET_TYPE = export_driver
|
||||||
|
|
||||||
TARGET_NAME = ndis
|
TARGET_NAME = ndis
|
||||||
|
|
||||||
|
TARGET_PCH = include/ndissys.h
|
||||||
|
|
||||||
TARGET_CFLAGS = -I./include -DNDIS_WRAPPER -Wall -Werror
|
TARGET_CFLAGS = -I./include -DNDIS_WRAPPER -Wall -Werror
|
||||||
|
|
||||||
TARGET_OBJECTS = \
|
TARGET_OBJECTS = \
|
||||||
|
|
2
reactos/drivers/net/ndis/include/.cvsignore
Normal file
2
reactos/drivers/net/ndis/include/.cvsignore
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
*.o
|
||||||
|
*.gch
|
|
@ -23,6 +23,9 @@
|
||||||
#include <net/ndis.h>
|
#include <net/ndis.h>
|
||||||
#endif /* _MSC_VER */
|
#endif /* _MSC_VER */
|
||||||
|
|
||||||
|
#include "miniport.h"
|
||||||
|
#include "protocol.h"
|
||||||
|
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
/* Exported functions */
|
/* Exported functions */
|
||||||
|
|
|
@ -8,11 +8,6 @@
|
||||||
#ifndef __PROTOCOL_H
|
#ifndef __PROTOCOL_H
|
||||||
#define __PROTOCOL_H
|
#define __PROTOCOL_H
|
||||||
|
|
||||||
#include <ndissys.h>
|
|
||||||
#include <net/ndis.h>
|
|
||||||
#include "miniport.h"
|
|
||||||
|
|
||||||
|
|
||||||
typedef struct _PROTOCOL_BINDING {
|
typedef struct _PROTOCOL_BINDING {
|
||||||
LIST_ENTRY ListEntry; /* Entry on global list */
|
LIST_ENTRY ListEntry; /* Entry on global list */
|
||||||
KSPIN_LOCK Lock; /* Protecting spin lock */
|
KSPIN_LOCK Lock; /* Protecting spin lock */
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
*.o
|
*.o
|
||||||
*.map
|
*.gch
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
* REVISIONS:
|
* REVISIONS:
|
||||||
* CSH 01/08-2000 Created
|
* CSH 01/08-2000 Created
|
||||||
*/
|
*/
|
||||||
#include <ndissys.h>
|
|
||||||
|
#include "ndissys.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
* REVISIONS:
|
* REVISIONS:
|
||||||
* CSH 01/08-2000 Created
|
* CSH 01/08-2000 Created
|
||||||
*/
|
*/
|
||||||
#include <ndissys.h>
|
|
||||||
|
#include "ndissys.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
* REVISIONS:
|
* REVISIONS:
|
||||||
* CSH 01/08-2000 Created
|
* CSH 01/08-2000 Created
|
||||||
*/
|
*/
|
||||||
#include <buffer.h>
|
|
||||||
|
|
||||||
|
#include <buffer.h>
|
||||||
|
|
||||||
|
|
||||||
__inline ULONG SkipToOffset(
|
__inline ULONG SkipToOffset(
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
* REVISIONS:
|
* REVISIONS:
|
||||||
* CSH 01/08-2000 Created
|
* CSH 01/08-2000 Created
|
||||||
*/
|
*/
|
||||||
#include <ndissys.h>
|
|
||||||
|
#include "ndissys.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
* REVISIONS:
|
* REVISIONS:
|
||||||
* CSH 01/08-2000 Created
|
* CSH 01/08-2000 Created
|
||||||
*/
|
*/
|
||||||
#include <ndissys.h>
|
|
||||||
|
#include "ndissys.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
* REVISIONS:
|
* REVISIONS:
|
||||||
* CSH 01/08-2000 Created
|
* CSH 01/08-2000 Created
|
||||||
*/
|
*/
|
||||||
#include <ndissys.h>
|
|
||||||
|
#include "ndissys.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
* - All the routines in this file are PASSIVE_LEVEL only, and all memory is PagedPool
|
* - All the routines in this file are PASSIVE_LEVEL only, and all memory is PagedPool
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <miniport.h>
|
#include "ndissys.h"
|
||||||
|
|
||||||
#define NDIS_VERSION 0x00040000 /* the version of NDIS we claim to be to miniport drivers */
|
#define NDIS_VERSION 0x00040000 /* the version of NDIS we claim to be to miniport drivers */
|
||||||
#define PARAMETERS_KEY L"Parameters" /* The parameters subkey under the device-specific key */
|
#define PARAMETERS_KEY L"Parameters" /* The parameters subkey under the device-specific key */
|
||||||
|
|
|
@ -9,7 +9,8 @@
|
||||||
* CSH 01/08-2000 Created
|
* CSH 01/08-2000 Created
|
||||||
* 3 Oct 2003 Vizzini - Formatting and minor bugfixes
|
* 3 Oct 2003 Vizzini - Formatting and minor bugfixes
|
||||||
*/
|
*/
|
||||||
#include <ndissys.h>
|
|
||||||
|
#include "ndissys.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -16,8 +16,7 @@
|
||||||
* - Break these functions up a bit; i hate 200-line functions
|
* - Break these functions up a bit; i hate 200-line functions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ndissys.h>
|
#include "ndissys.h"
|
||||||
#include <miniport.h>
|
|
||||||
|
|
||||||
/* Registry path to the enumeration database */
|
/* Registry path to the enumeration database */
|
||||||
#define ENUM_KEY L"\\Registry\\Machine\\System\\CurrentControlSet\\Enum"
|
#define ENUM_KEY L"\\Registry\\Machine\\System\\CurrentControlSet\\Enum"
|
||||||
|
|
|
@ -13,9 +13,8 @@
|
||||||
* TODO:
|
* TODO:
|
||||||
* - Fix HalGetBusDataByOffset() param 2 in most calls below
|
* - Fix HalGetBusDataByOffset() param 2 in most calls below
|
||||||
*/
|
*/
|
||||||
#include <ndis.h>
|
|
||||||
#include <ndissys.h>
|
#include "ndissys.h"
|
||||||
#include "../include/miniport.h"
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
* 20 Aug 2003 Vizzini - DMA support
|
* 20 Aug 2003 Vizzini - DMA support
|
||||||
* 3 Oct 2003 Vizzini - Formatting and minor bugfixes
|
* 3 Oct 2003 Vizzini - Formatting and minor bugfixes
|
||||||
*/
|
*/
|
||||||
#include <ndissys.h>
|
|
||||||
#include <miniport.h>
|
#include "ndissys.h"
|
||||||
|
|
||||||
|
|
||||||
VOID STDCALL HandleDeferredProcessing(
|
VOID STDCALL HandleDeferredProcessing(
|
||||||
|
|
|
@ -10,10 +10,9 @@
|
||||||
* 20 Aug 2003 Vizzini - NDIS4/5 revisions
|
* 20 Aug 2003 Vizzini - NDIS4/5 revisions
|
||||||
* 3 Oct 2003 Vizzini - formatting and minor bugfixing
|
* 3 Oct 2003 Vizzini - formatting and minor bugfixing
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <roscfg.h>
|
#include <roscfg.h>
|
||||||
#include <ndissys.h>
|
#include "ndissys.h"
|
||||||
#include <protocol.h>
|
|
||||||
#include <miniport.h>
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef DBG
|
#ifdef DBG
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
* 15 Aug 2003 Vizzini - DMA support
|
* 15 Aug 2003 Vizzini - DMA support
|
||||||
* 3 Oct 2003 Vizzini - formatting and minor bugfixing
|
* 3 Oct 2003 Vizzini - formatting and minor bugfixing
|
||||||
*/
|
*/
|
||||||
#include <ndissys.h>
|
|
||||||
#include <miniport.h>
|
#include "ndissys.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -11,8 +11,7 @@
|
||||||
* 3 Oct 2003 vizzini - SendPackets support
|
* 3 Oct 2003 vizzini - SendPackets support
|
||||||
*/
|
*/
|
||||||
#include <roscfg.h>
|
#include <roscfg.h>
|
||||||
#include <miniport.h>
|
#include "ndissys.h"
|
||||||
#include <protocol.h>
|
|
||||||
|
|
||||||
#ifdef DBG
|
#ifdef DBG
|
||||||
#include <buffer.h>
|
#include <buffer.h>
|
||||||
|
|
|
@ -10,9 +10,7 @@
|
||||||
* 09-13-2003 Vizzini Updates for SendPackets support
|
* 09-13-2003 Vizzini Updates for SendPackets support
|
||||||
*/
|
*/
|
||||||
#include <roscfg.h>
|
#include <roscfg.h>
|
||||||
#include <ndissys.h>
|
#include "ndissys.h"
|
||||||
#include <miniport.h>
|
|
||||||
#include <protocol.h>
|
|
||||||
#include <buffer.h>
|
#include <buffer.h>
|
||||||
|
|
||||||
#define SERVICES_KEY L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\"
|
#define SERVICES_KEY L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\"
|
||||||
|
|
|
@ -9,7 +9,8 @@
|
||||||
* CSH 01/08-2000 Created
|
* CSH 01/08-2000 Created
|
||||||
* Vizzini 08-Oct-2003 Error checking, documentation, and formatting
|
* Vizzini 08-Oct-2003 Error checking, documentation, and formatting
|
||||||
*/
|
*/
|
||||||
#include <ndissys.h>
|
|
||||||
|
#include "ndissys.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -7,7 +7,8 @@
|
||||||
* REVISIONS:
|
* REVISIONS:
|
||||||
* CSH 01/08-2000 Created
|
* CSH 01/08-2000 Created
|
||||||
*/
|
*/
|
||||||
#include <ndissys.h>
|
|
||||||
|
#include "ndissys.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -18,7 +18,8 @@
|
||||||
* - Nearly this entire file is PAGED_CODE (with the exception of the
|
* - Nearly this entire file is PAGED_CODE (with the exception of the
|
||||||
* MiniportTimerDpc() function)
|
* MiniportTimerDpc() function)
|
||||||
*/
|
*/
|
||||||
#include <ndissys.h>
|
|
||||||
|
#include "ndissys.h"
|
||||||
|
|
||||||
|
|
||||||
VOID STDCALL
|
VOID STDCALL
|
||||||
|
|
Loading…
Reference in a new issue