diff options
author | Bill Paul <wpaul@FreeBSD.org> | 2004-01-19 20:45:27 +0000 |
---|---|---|
committer | Bill Paul <wpaul@FreeBSD.org> | 2004-01-19 20:45:27 +0000 |
commit | 40e22f3c3f3a520846fc1b66b4d510dc2ccdfddf (patch) | |
tree | 0323e85faf92017e6a46e2f65c23f131aa24f077 /sys/compat | |
parent | 6bd39fe97840366e063fc9383443bc0d3076df53 (diff) | |
download | src-40e22f3c3f3a520846fc1b66b4d510dc2ccdfddf.tar.gz src-40e22f3c3f3a520846fc1b66b4d510dc2ccdfddf.zip |
Add WDM major/minor #defines.
Notes
Notes:
svn path=/head/; revision=124729
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/ndis/ntoskrnl_var.h | 7 |
1 files changed, 7 insertions, 0 deletions
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: |