From 40e22f3c3f3a520846fc1b66b4d510dc2ccdfddf Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Mon, 19 Jan 2004 20:45:27 +0000 Subject: [PATCH] Add WDM major/minor #defines. --- sys/compat/ndis/ntoskrnl_var.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sys/compat/ndis/ntoskrnl_var.h b/sys/compat/ndis/ntoskrnl_var.h index 1e720e06d891..adbf68bbbbd0 100644 --- a/sys/compat/ndis/ntoskrnl_var.h +++ b/sys/compat/ndis/ntoskrnl_var.h @@ -55,6 +55,13 @@ #define MDL_VA(b) \ ((void *)((char *)((b)->nb_startva) + (b)->nb_byteoffset)) +#define WDM_MAJOR 1 +#define WDM_MINOR_WIN98 0x00 +#define WDM_MINOR_WINME 0x05 +#define WDM_MINOR_WIN2000 0x10 +#define WDM_MINOR_WINXP 0x20 +#define WDM_MINOR_WIN2003 0x30 + /*- * The ndis_kspin_lock type is called KSPIN_LOCK in MS-Windows. * According to the Windows DDK header files, KSPIN_LOCK is defined like this: