Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.9 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. mp_cmn.h
  5. Abstract:
  6. Common definitions for the miniport and kd extension dll
  7. Revision History:
  8. Who When What
  9. -------- -------- ----------------------------------------------
  10. DChen 11-01-99 created
  11. Notes:
  12. --*/
  13. #ifndef _MP_CMN_H
  14. #define _MP_CMN_H
  15. // MP_TCB flags
  16. #define fMP_TCB_IN_USE 0x00000001
  17. #define fMP_TCB_USE_LOCAL_BUF 0x00000002
  18. #define fMP_TCB_MULTICAST 0x00000004 // a hardware workaround using multicast
  19. // MP_RFD flags
  20. #define fMP_RFD_RECV_PEND 0x00000001
  21. #define fMP_RFD_ALLOC_PEND 0x00000002
  22. #define fMP_RFD_RECV_READY 0x00000004
  23. #define fMP_RFD_RESOURCES 0x00000008
  24. // MP_ADAPTER flags
  25. #define fMP_ADAPTER_SCATTER_GATHER 0x00000001
  26. #define fMP_ADAPTER_MAP_REGISTER 0x00000002
  27. #define fMP_ADAPTER_RECV_LOOKASIDE 0x00000004
  28. #define fMP_ADAPTER_INTERRUPT_IN_USE 0x00000008
  29. #define fMP_ADAPTER_SECONDARY 0x00000010
  30. #if OFFLOAD
  31. // MP_ SHARED flags
  32. #define fMP_SHARED_MEM_IN_USE 0x00000100
  33. #endif
  34. #define fMP_ADAPTER_NON_RECOVER_ERROR 0x00800000
  35. #define fMP_ADAPTER_RESET_IN_PROGRESS 0x01000000
  36. #define fMP_ADAPTER_NO_CABLE 0x02000000
  37. #define fMP_ADAPTER_HARDWARE_ERROR 0x04000000
  38. #define fMP_ADAPTER_REMOVE_IN_PROGRESS 0x08000000
  39. #define fMP_ADAPTER_HALT_IN_PROGRESS 0x10000000
  40. #define fMP_ADAPTER_LINK_DETECTION 0x20000000
  41. #define fMP_ADAPTER_FAIL_SEND_MASK 0x1ff00000
  42. #define fMP_ADAPTER_NOT_READY_MASK 0x3ff00000
  43. #endif // _MP_CMN_H