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.

208 lines
7.0 KiB

  1. ; Portions Copyright (c) 1996-2001 National Semiconductor Corp.
  2. ; Copyright (c) 1996-2001 Microsoft Corporation.
  3. ; This INF is designed for installation as part of the NT CD. To change it to
  4. ; floppy based install, comment out any lines ending with "; CD only"
  5. ; and uncomment all lines ending with "; floppy only"
  6. [Version]
  7. Signature = "$Windows NT$"
  8. Provider = %NSC%
  9. Class = Infrared
  10. ClassGUID = {6bdd1fc5-810f-11d0-BEC7-08002BE2092F}
  11. DriverVer = 05/24/2001, 1.0.0.0
  12. CatalogFile = delta.cat
  13. [SourceDisksNames] ; floppy only
  14. 1 = %MediaDescription%,, ; floppy only
  15. [SourceDisksFiles] ; floppy only
  16. nscirda.sys = 1 ; floppy only
  17. [DestinationDirs]
  18. ;
  19. ; Specify destination directories for groups of files.
  20. ; '12' indicates the Windows drivers directory.
  21. ; '17' indicates the Windows Inf directory.
  22. ;
  23. DefaultDestDir=12
  24. [NSC_CopySys]
  25. ;
  26. ; This section lists the source and destination names of files that need
  27. ; to be copied to the user's drive. The destination directory is given
  28. ; in the [DestinationDirs] section above.
  29. ;
  30. nscirda.sys,,,2 ; Do not Skip File
  31. [ControlFlags]
  32. ExcludeFromSelect= *NSC6001
  33. [Manufacturer]
  34. ;
  35. ; Specify a name and devices section for each supported manufacturer that
  36. ; makes products of this class.
  37. ;
  38. %NSC% = NSC_Devices
  39. [NSC_Devices]
  40. ;
  41. ; This section describes the devices of this class made by a particular
  42. ; manufacturer.
  43. ; The first descriptor, delimited by '%', is a symbolic string whose actual
  44. ; value is given in the [Strings] section below.
  45. ;
  46. %NSC6001.DeviceDesc% = NSC6001_ndi, *NSC6001 ; Generic NSC driver
  47. [NSC6001_ndi]
  48. DelReg = NSC_DelReg
  49. AddReg = NSC_AddReg,*NSC6001_AddReg,Dongle_Addreg,Speed_Addreg,Help_AddReg
  50. BusType = 14
  51. Characteristics = 0x84 ; NCF_PHYSICAL | NCF_HAS_UI
  52. CopyFiles = NSC_CopySys
  53. [NSC6001_ndi.Services]
  54. AddService= NSCIRDA, 2, NSCIRDA.AddService, common.EventLog
  55. [NSC_AddReg]
  56. ; Interfaces
  57. HKR, Ndi, Service, 0, "NSCIRDA"
  58. HKR, NDI\Interfaces, DefUpper, 0, ndisirda
  59. HKR, NDI\Interfaces, UpperRange, 0, ndisirda
  60. HKR, Ndi\Interfaces, DefLower, 0, nolower
  61. HKR, Ndi\Interfaces, LowerRange, 0, nolower
  62. HKR, Ndi, RequiredAll, 0, "MS_IrDA"
  63. [*NSC6001_AddReg]
  64. HKR,,BoardType,0,"3"
  65. HKR,NDI\params\Dongle_A_Type,default,,"1"
  66. HKR,NDI\params\MaxConnectRate,default,,"4000000"
  67. [Dongle_Addreg]
  68. ;
  69. ; These entries allow the user to select the Configuration Register
  70. ; Base Address that the IR108 driver uses from network properties
  71. ; dialog box AFTER INSTALLATION (under the 'Advanced' options).
  72. ; The user's selection is recorded in the registry and then read out
  73. ; by the nscirda.sys driver at boot time.
  74. ;
  75. HKR,NDI\params\Dongle_A_Type,ParamDesc,,%Dongle_A%
  76. HKR,NDI\params\Dongle_A_Type,flag,1,20,00,00,00
  77. ;HKR,NDI\params\Dongle_A_Type,default,,"5"
  78. HKR,NDI\params\Dongle_A_Type,type,,enum
  79. HKR,NDI\params\Dongle_A_Type\enum,"0",,%DongleType_0%
  80. HKR,NDI\params\Dongle_A_Type\enum,"1",,%DongleType_1%
  81. HKR,NDI\params\Dongle_A_Type\enum,"2",,%DongleType_2%
  82. HKR,NDI\params\Dongle_A_Type\enum,"3",,%DongleType_3%
  83. HKR,NDI\params\Dongle_A_Type\enum,"4",,%DongleType_4%
  84. HKR,NDI\params\Dongle_A_Type\enum,"5",,%DongleType_5%
  85. HKR,NDI\params\Dongle_A_Type\enum,"6",,%DongleType_6%
  86. HKR,NDI\params\Dongle_A_Type\enum,"7",,%DongleType_7%
  87. HKR,NDI\params\Dongle_A_Type\enum,"8",,%DongleType_8%
  88. HKR,NDI\params\Dongle_A_Type\enum,"9",,%DongleType_9%
  89. HKR,NDI\params\Dongle_A_Type\enum,"10",,%DongleType_10%
  90. HKR,NDI\params\Dongle_A_Type\enum,"11",,%DongleType_11%
  91. HKR,NDI\params\Dongle_B_Type,ParamDesc,,%Dongle_B%
  92. HKR,NDI\params\Dongle_B_Type,flag,1,20,00,00,00
  93. HKR,NDI\params\Dongle_B_Type,default,,"0"
  94. HKR,NDI\params\Dongle_B_Type,type,,enum
  95. HKR,NDI\params\Dongle_B_Type\enum,"0",,%DongleType_0%
  96. HKR,NDI\params\Dongle_B_Type\enum,"1",,%DongleType_1%
  97. HKR,NDI\params\Dongle_B_Type\enum,"2",,%DongleType_2%
  98. HKR,NDI\params\Dongle_B_Type\enum,"3",,%DongleType_3%
  99. HKR,NDI\params\Dongle_B_Type\enum,"4",,%DongleType_4%
  100. HKR,NDI\params\Dongle_B_Type\enum,"5",,%DongleType_5%
  101. HKR,NDI\params\Dongle_B_Type\enum,"6",,%DongleType_6%
  102. HKR,NDI\params\Dongle_B_Type\enum,"7",,%DongleType_7%
  103. HKR,NDI\params\Dongle_B_Type\enum,"8",,%DongleType_8%
  104. HKR,NDI\params\Dongle_B_Type\enum,"9",,%DongleType_9%
  105. HKR,NDI\params\Dongle_B_Type\enum,"10",,%DongleType_10%
  106. HKR,NDI\params\Dongle_B_Type\enum,"11",,%DongleType_11%
  107. [Speed_Addreg]
  108. ;
  109. ; These entries allow the user to select the Configuration Register
  110. ; Base Address that the IR108 driver uses from network properties
  111. ; dialog box AFTER INSTALLATION (under the 'Advanced' options).
  112. ; The user's selection is recorded in the registry and then read out
  113. ; by the nscirda.sys driver at boot time.
  114. ;
  115. HKR,NDI\params\MaxConnectRate,ParamDesc,,%MaxConnectRate%
  116. HKR,NDI\params\MaxConnectRate,type,,enum
  117. HKR,NDI\params\MaxConnectRate\enum,"4000000",,"4,000,000 bps"
  118. HKR,NDI\params\MaxConnectRate\enum,"1152000",,"1,152,000 bps"
  119. HKR,NDI\params\MaxConnectRate\enum,"115200",, " 115,200 bps"
  120. HKR,NDI\params\MaxConnectRate\enum,"57600",, " 57,600 bps"
  121. HKR,NDI\params\MaxConnectRate\enum,"38400",, " 38,400 bps"
  122. HKR,NDI\params\MaxConnectRate\enum,"19200",, " 19,200 bps"
  123. HKR,NDI\params\MaxConnectRate\enum,"9600",, " 9,600 bps"
  124. [Help_Addreg]
  125. HKR,NDI,HelpText,0,%IRMINI_HELP%
  126. [NSC_DelReg]
  127. HKR,,EnumPropPages32
  128. [NSCIRDA.AddService]
  129. DisplayName = %NSCIRDA.ServiceDesc%
  130. ServiceType = 1 ; %SERVICE_KERNEL_DRIVER%
  131. StartType = 3 ; %SERVICE_DEMAND_START%
  132. ErrorControl = 1 ; %SERVICE_ERROR_NORMAL%
  133. ServiceBinary = %12%\nscirda.sys ;12=drivers directory
  134. LoadOrderGroup = NDIS
  135. [common.EventLog]
  136. AddReg = common.AddEventLog.reg
  137. [common.AddEventLog.reg]
  138. HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
  139. HKR, , TypesSupported, 0x00010001, 7
  140. [Strings]
  141. ;
  142. ; This section defines symbolic string constants for use in the rest
  143. ; of the .inf script. You should create and use symbols for all
  144. ; translatable strings in order to make localization easier.
  145. ; Also, spaces within strings elsewhere in the script confuse infedit.exe;
  146. ; so use symbolic constants for any multi-word strings.
  147. ;
  148. MediaDescription = "Sample IrDA miniport install disk"
  149. IRMINI_HELP="The IrDA infrared port. It can be used to establish wireless serial and network links to other computers."
  150. NSCIRDA.ServiceDesc="NSC Infrared Device Driver"
  151. NSC6001.DeviceDesc="IrDA Fast Infrared Port(Sample)"
  152. V_CLASSNAME="Infrared adapters"
  153. NSC="National Semiconductor"
  154. Dongle_A="Infrared Transceiver A"
  155. Dongle_B="Infrared Transceiver B"
  156. DongleType_0="SIR Transceiver"
  157. DongleType_1="HP HSDL-1100/2100"
  158. DongleType_2="HP HSDL-2300/3600"
  159. DongleType_3="IBM 31T1100"
  160. DongleType_4="Sharp RY5HD01/KD01"
  161. DongleType_5="Sharp RY6FD11E"
  162. DongleType_6="Vishay TFDS-6000"
  163. DongleType_7="Vishay TFDS-6500"
  164. DongleType_8="Siemens IRMS/T6400"
  165. DongleType_9="TI TSLM1100"
  166. DongleType_10="IBM SC-20H2987"
  167. DongleType_11="Dell T-97"
  168. MaxConnectRate="Maxiumum Connect Rate"
  169. TurnaroundTime="Minimum Turn Around Time"