How to Pass Parameters to a SCSI Miniport via the RegistryID: Q133706
|
This article describes how to pass information from the Windows NT registry
to a SCSI miniport driver. The parameter string passed to the SCSI miniport
is in the fourth parameter of the HwFindAdapter routine. This article
refers to the following registry location:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
There are two formats that can be used to pass registry information to
SCSI miniports. The first is used when a different parameter string must be
passed to each HBA that the SCSI miniport supports. The second is used when
the same parameter string should be passed to all the HBAs the SCSI
miniport supports.
The registry string described below will be passed in as the fourth
parameter (the ArgumentString) in the SCSI miniport's HwScsiFindAdapter
routine. The FD8XX driver in the Windows NT DDK shows an example of the
parameter string being passed to the SCSI miniport.
WARNING: Use extreme care when making changes to the Windows NT Registry.
Improper changes can cause the system to become unbootable. Refer to the
Windows NT DDK documentation for assistance on general registry changes.
MpName // SCSI miniport key name
Parameters // key name
Device0 // key name
DriverParameter // value name
REG_SZ // value data type
Parm string for HBA-0 // parameter string
Device1
DriverParameter
REG_SZ
Parm string for HBA-1
...
DeviceN
DriverParameter
REG_SZ
Parm string for HBA-N
MpName // SCSI miniport key name
Parameters // key name
Device // key name
DriverParameter // value name
REG_SZ // value data type
Parm string for all MpName HBA's // parameter string
Additional query words: 3.51 parm
Keywords :
Version :
Platform :
Issue type :
Last Reviewed: March 2, 1999