* Use ne2000.h as a PCH.

svn path=/trunk/; revision=52930
This commit is contained in:
Amine Khaldi 2011-07-27 19:30:24 +00:00
parent 6ece3cae14
commit afca49adf2
5 changed files with 4 additions and 6 deletions

View file

@ -7,8 +7,7 @@ list(APPEND SOURCE
ne2000.rc) ne2000.rc)
add_library(ne2000 SHARED ${SOURCE}) add_library(ne2000 SHARED ${SOURCE})
add_pch(ne2000 include/ne2000.h)
set_module_type(ne2000 kernelmodedriver) set_module_type(ne2000 kernelmodedriver)
add_importlibs(ne2000 ndis ntoskrnl hal) add_importlibs(ne2000 ndis ntoskrnl hal)
add_cd_file(TARGET ne2000 DESTINATION reactos/system32/drivers FOR all) add_cd_file(TARGET ne2000 DESTINATION reactos/system32/drivers FOR all)

View file

@ -5,8 +5,6 @@
* PURPOSE: NE2000 driver definitions * PURPOSE: NE2000 driver definitions
*/ */
#pragma once
#define NDIS_MINIPORT_DRIVER 1 #define NDIS_MINIPORT_DRIVER 1
#define NDIS_LEGACY_MINIPORT 1 #define NDIS_LEGACY_MINIPORT 1
#define NDIS51_MINIPORT 1 #define NDIS51_MINIPORT 1

View file

@ -9,5 +9,8 @@
<file>8390.c</file> <file>8390.c</file>
<file>main.c</file> <file>main.c</file>
</directory> </directory>
<directory name="include">
<pch>ne2000.h</pch>
</directory>
<file>ne2000.rc</file> <file>ne2000.rc</file>
</module> </module>

View file

@ -8,7 +8,6 @@
* CSH 27/08-2000 Created * CSH 27/08-2000 Created
*/ */
#include <ne2000.h> #include <ne2000.h>
#include <debug.h>
/* Null-terminated array of ports to probe. This is "semi-risky" (Don Becker). */ /* Null-terminated array of ports to probe. This is "semi-risky" (Don Becker). */
ULONG_PTR ProbeAddressList[] = { 0x280, 0x300, 0x320, 0x340, 0x360, 0x380, 0 }; ULONG_PTR ProbeAddressList[] = { 0x280, 0x300, 0x320, 0x340, 0x360, 0x380, 0 };

View file

@ -8,7 +8,6 @@
* CSH 27/08-2000 Created * CSH 27/08-2000 Created
*/ */
#include <ne2000.h> #include <ne2000.h>
#include <debug.h>
NTSTATUS NTSTATUS
NTAPI NTAPI