Skip to content

Commit df49026

Browse files
committed
[NETWORK:NE2000] Move the NDIS_* defines to the CMakeFiles.txt
1 parent 5b1224b commit df49026

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

drivers/network/dd/ne2000/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11

22
include_directories(BEFORE include)
33

4+
add_definitions(
5+
-DNDIS51_MINIPORT
6+
-DNDIS_MINIPORT_DRIVER
7+
-DNDIS_LEGACY_MINIPORT=1)
8+
49
list(APPEND SOURCE
510
ne2000/8390.c
611
ne2000/main.c

drivers/network/dd/ne2000/include/ne2000.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
#ifndef _NE2000_PCH_
99
#define _NE2000_PCH_
1010

11-
#define NDIS_MINIPORT_DRIVER
12-
#define NDIS_LEGACY_MINIPORT 1
13-
#define NDIS51_MINIPORT
1411
#include <ndis.h>
1512
#include <8390.h>
1613

0 commit comments

Comments
 (0)