Source code of Windows XP (NT5)
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.

91 lines
2.8 KiB

  1. Configuring Power Paramters:
  2. ----------------------------
  3. Scsiport allows adapters to configure some power settings.
  4. NeedsSystemShutdownNotification: DWORD
  5. If nonzero, this value tells scsiport that the adapter needs to
  6. have its AdapterControl routine called when a system shutdown
  7. occurs. See the section on request sense parameters below for the
  8. location of this key.
  9. Configuring Tunable Performance Parameters:
  10. -------------------------------------------
  11. Scsiport supports the following configurable perfomance parameters:
  12. RemainInReducedMaxQueueState: DWORD
  13. If set, this value indicates the number of seconds a logical unit will
  14. remain in a degraded performance state in which its MaxQueueDepth has
  15. been reduced due to one or more requests failed with QUEUE FULL status.
  16. This value is read from ScsiPort's DeviceParameters key in the registry.
  17. See the section on request sense parameters below for the location of
  18. this key.
  19. Configuring Request Sense Parameters:
  20. -------------------------------------
  21. Scsiport supports configurable request sense parameters on a per-adapter
  22. basis. The following parameters may be configured under the HBA's device
  23. entry:
  24. TotalSenseDataBytes: DWORD [18..255]
  25. If set, this value designates the size of the buffer Scsiport will allocate
  26. for request sense data. If the value is not set, the default size of 18 (0x12)
  27. bytes is used.
  28. RequestSenseTimeout: DWORD
  29. If set, this value designates the timeout period for REQUEST SENSE commands, in
  30. seconds. If the value is not set, the default timeout value of 2 seconds
  31. is used.
  32. HKLM
  33. System
  34. CurrentControlSet
  35. Enum
  36. <bus>
  37. <DeviceId>
  38. <Device>
  39. DeviceParameters
  40. ScsiPort
  41. DWORD TotalSenseDataBytes=<18..255>
  42. DWORD RequestSenseTimeout=<timeout in seconds>
  43. DWORD RemainInReducedMaxQueueState=<duration in seconds>
  44. DWORD NeedsSystemShutdownNotification=<0|1>
  45. Example:
  46. HKLM
  47. System
  48. CurrentControlSet
  49. Enum
  50. PCI
  51. VEN_9004&DEV_6178&SUBSYS_78619004&REV_03
  52. 3&1b3e6122&0&5070
  53. DeviceParameters
  54. ScsiPort
  55. TotalSenseDataBytes=0xff
  56. RequestSenseTimeout=0xa
  57. RemainInMaxQueueState=0x1e
  58. NeedsSystemShutdownNotification=1
  59. Verifier:
  60. --------
  61. To enable the scsi verifier, add the following registry entry to the scsiport
  62. control entry...
  63. HKLM\system\currentcontrolset\control\scsiport
  64. Verifier
  65. VerifyLevel = <verifier level>
  66. The following values control verifier behavior...
  67. #define SP_DONT_CHK_HW_INITIALIZE_DURATION 0x80000000
  68. #define SP_DONT_CHK_ACTIVE_UNTAGGED_REQUEST 0x40000000
  69. #define SP_DONT_CHK_REQUESTS_ON_RESET 0x20000000
  70. Also, from the debugger, setting SpVrfyLevel=0xffffffff will disable the
  71. verifier.