Author: akhaldi
Date: Wed Jul 27 19:31:05 2011
New Revision: 52931
URL:
http://svn.reactos.org/svn/reactos?rev=52931&view=rev
Log:
[PCNET]
* Use pcnet.h as a PCH.
Modified:
trunk/reactos/drivers/network/dd/pcnet/CMakeLists.txt
trunk/reactos/drivers/network/dd/pcnet/pcnet.c
trunk/reactos/drivers/network/dd/pcnet/pcnet.h
trunk/reactos/drivers/network/dd/pcnet/pcnet.rbuild
trunk/reactos/drivers/network/dd/pcnet/requests.c
Modified: trunk/reactos/drivers/network/dd/pcnet/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/pcnet/C…
==============================================================================
--- trunk/reactos/drivers/network/dd/pcnet/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/pcnet/CMakeLists.txt [iso-8859-1] Wed Jul 27 19:31:05
2011
@@ -11,8 +11,7 @@
pcnet.rc)
add_library(pcnet SHARED ${SOURCE})
-
+add_pch(pcnet pcnet.h)
set_module_type(pcnet kernelmodedriver)
add_importlibs(pcnet ndis ntoskrnl hal)
-
add_cd_file(TARGET pcnet DESTINATION reactos/system32/drivers FOR all)
Modified: trunk/reactos/drivers/network/dd/pcnet/pcnet.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/pcnet/p…
==============================================================================
--- trunk/reactos/drivers/network/dd/pcnet/pcnet.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/pcnet/pcnet.c [iso-8859-1] Wed Jul 27 19:31:05 2011
@@ -38,9 +38,6 @@
* - this assumes a 32-bit machine
*/
-#include <ndis.h>
-#include "pci.h"
-#include "pcnethw.h"
#include "pcnet.h"
#define NDEBUG
Modified: trunk/reactos/drivers/network/dd/pcnet/pcnet.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/pcnet/p…
==============================================================================
--- trunk/reactos/drivers/network/dd/pcnet/pcnet.h [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/pcnet/pcnet.h [iso-8859-1] Wed Jul 27 19:31:05 2011
@@ -25,7 +25,9 @@
* - this assumes 32-bit physical addresses
*/
-#pragma once
+#include <ndis.h>
+#include "pci.h"
+#include "pcnethw.h"
/* statistics struct */
typedef struct _ADAPTER_STATS
Modified: trunk/reactos/drivers/network/dd/pcnet/pcnet.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/pcnet/p…
==============================================================================
--- trunk/reactos/drivers/network/dd/pcnet/pcnet.rbuild [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/pcnet/pcnet.rbuild [iso-8859-1] Wed Jul 27 19:31:05
2011
@@ -12,4 +12,5 @@
<file>pcnet.c</file>
<file>requests.c</file>
<file>pcnet.rc</file>
+ <pch>pcnet.h</pch>
</module>
Modified: trunk/reactos/drivers/network/dd/pcnet/requests.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/dd/pcnet/r…
==============================================================================
--- trunk/reactos/drivers/network/dd/pcnet/requests.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/dd/pcnet/requests.c [iso-8859-1] Wed Jul 27 19:31:05
2011
@@ -33,8 +33,6 @@
* necessary.
*/
-#include <ndis.h>
-#include "pcnethw.h"
#include "pcnet.h"
#define NDEBUG