mirror of
https://github.com/reactos/reactos.git
synced 2025-01-06 06:20:13 +00:00
- Get NE2000 driver to build on msvc/ddk.
svn path=/trunk/; revision=20672
This commit is contained in:
parent
74015adb69
commit
736946617f
2 changed files with 8 additions and 5 deletions
|
@ -7,6 +7,9 @@
|
|||
#ifndef __NE2000_H
|
||||
#define __NE2000_H
|
||||
|
||||
#define NDIS_MINIPORT_DRIVER 1
|
||||
#define NDIS_LEGACY_MINIPORT 1
|
||||
#define NDIS51_MINIPORT 1
|
||||
#include <ndis.h>
|
||||
#include <8390.h>
|
||||
#include <debug.h>
|
||||
|
@ -59,7 +62,7 @@ typedef struct _MINIPORT_RESERVED
|
|||
PNDIS_PACKET Next;
|
||||
} MINIPORT_RESERVED, *PMINIPORT_RESERVED;
|
||||
|
||||
#define RESERVED(Packet) ((PMINIPORT_RESERVED)((Packet)->u.s1.MiniportReserved))
|
||||
#define RESERVED(Packet) ((PMINIPORT_RESERVED)((Packet)->MiniportReserved))
|
||||
|
||||
typedef UCHAR DRIVER_HARDWARE_ADDRESS[DRIVER_LENGTH_OF_ADDRESS];
|
||||
|
||||
|
|
|
@ -412,15 +412,15 @@ typedef struct _NDIS_PACKET {
|
|||
struct {
|
||||
UCHAR MiniportReserved[2 * sizeof(PVOID)];
|
||||
UCHAR WrapperReserved[2 * sizeof(PVOID)];
|
||||
} s1;
|
||||
};
|
||||
struct {
|
||||
UCHAR MiniportReservedEx[3 * sizeof(PVOID)];
|
||||
UCHAR WrapperReservedEx[sizeof(PVOID)];
|
||||
} s2;
|
||||
};
|
||||
struct {
|
||||
UCHAR MacReserved[4 * sizeof(PVOID)];
|
||||
} s3;
|
||||
} u;
|
||||
};
|
||||
};
|
||||
ULONG_PTR Reserved[2];
|
||||
UCHAR ProtocolReserved[1];
|
||||
} NDIS_PACKET, *PNDIS_PACKET, **PPNDIS_PACKET;
|
||||
|
|
Loading…
Reference in a new issue