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.

283 lines
7.5 KiB

  1. ;
  2. ; USB8023.INF
  3. ;
  4. ; Stand-alone install script for USB Communications-Class (CDC) Devices
  5. ;
  6. ; Copyright 1999, Microsoft Corporation
  7. ;
  8. ; Author: ervinp
  9. ;
  10. [Version]
  11. Signature = "$Windows NT$"
  12. Class = Net
  13. ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
  14. Provider = %Microsoft%
  15. [DestinationDirs]
  16. DefaultDestDir = 12
  17. Common.CopyFiles = 12
  18. Common.CopyFiles.Win9x = 11
  19. [Manufacturer]
  20. %KLSI% = KLSI
  21. %Intel% = Intel
  22. %Peracom% = Peracom
  23. %ThreeCom% = ThreeCom
  24. [Intel]
  25. %USB\VID_8086&PID_0201% = Intel_CableModem, USB\VID_8086&PID_0201
  26. [KLSI]
  27. %USB\VID_05E9&PID_0008% = KLSI_Ethernet, USB\VID_05E9&PID_0008
  28. [Peracom]
  29. %USB\VID_0565&PID_0040% = Peracom_LDR, USB\VID_0565&PID_0040 ; BUGBUG REMOVE
  30. %USB\VID_0565&PID_0041% = Peracom_Ethernet, USB\VID_0565&PID_0041
  31. [ThreeCom]
  32. %USB\VID_0506&PID_03E9% = ThreeCom_CM, USB\VID_0506&PID_03E9
  33. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  34. ;
  35. ; KLSI Ethernet
  36. ;
  37. [KLSI_Ethernet.NT]
  38. Characteristics = 0x84 ; BUGBUG ?
  39. BusType = 1 ; BUGBUG ?
  40. AddReg = Common.Reg, KLSI_Ethernet.Reg
  41. LogConfig = Common.LogConfig
  42. CopyFiles = Common.CopyFiles
  43. [KLSI_Ethernet.NT.Services]
  44. AddService = USB_CDC, 2, Common.ServiceInst
  45. [KLSI_Ethernet]
  46. ; Win9x install section
  47. DeviceID=usb8023
  48. MaxInstance=1
  49. AddReg = Common.Reg.Win9x, KLSI_Ethernet.Reg, KLSI_Ethernet.Reg.Win9x
  50. [KLSI_Ethernet.Reg]
  51. HKR, , IsKlsiPrototype, 0x00010001, 1
  52. [KLSI_Ethernet.Reg.Win9x]
  53. HKR,Ndi,DeviceId,,"USB\VID_05E9&PID_0008"
  54. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  55. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  56. ;
  57. ; Intel Cable Modem
  58. ;
  59. [Intel_CableModem.NT]
  60. Characteristics = 0x84 ; BUGBUG ?
  61. BusType = 1 ; BUGBUG ?
  62. AddReg = Common.Reg, Intel_CableModem.Reg
  63. LogConfig = Common.LogConfig
  64. CopyFiles = Common.CopyFiles
  65. [Intel_CableModem.NT.Services]
  66. AddService = USB_CDC, 2, Common.ServiceInst
  67. [Intel_CableModem]
  68. ; Win9x install section
  69. DeviceID=usb8023
  70. MaxInstance=1
  71. AddReg = Common.Reg.Win9x, Intel_CableModem.Reg, Intel_CableModem.Reg.Win9x
  72. [Intel_CableModem.Reg]
  73. HKR, , IsIntelCableModem, 0x00010001, 1
  74. [Intel_CableModem.Reg.Win9x]
  75. HKR,Ndi,DeviceId,,"USB\VID_8086&PID_0201"
  76. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  77. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  78. ;
  79. ; Peracom Ethernet
  80. ;
  81. [Peracom_Ethernet.NT]
  82. Characteristics = 0x84 ; BUGBUG ?
  83. BusType = 1 ; BUGBUG ?
  84. AddReg = Common.Reg, Peracom_Ethernet.Reg
  85. LogConfig = Common.LogConfig
  86. CopyFiles = Common.CopyFiles
  87. [Peracom_Ethernet.NT.Services]
  88. AddService = USB_CDC, 2, Common.ServiceInst
  89. [Peracom_Ethernet]
  90. ; Win9x install section
  91. DeviceID=usb8023
  92. MaxInstance=1
  93. AddReg = Common.Reg.Win9x, Peracom_Ethernet.Reg, Peracom_Ethernet.Reg.Win9x
  94. [Peracom_Ethernet.Reg]
  95. HKR, , IsPeracomEthernet, 0x00010001, 1
  96. ;
  97. ; BUGBUG REMOVE - use to control simulated/native behavior
  98. ; for KEEPALIVE and RESET OIDs.
  99. ; Note: '1' value is ignored - the presence of a flag
  100. ; (with any value) triggers the simulated behavior
  101. ; for the respective OID.
  102. ;
  103. HKR, , SimulateKeepAlive, 0x00010001, 1
  104. HKR, , SimulateReset, 0x00010001, 1
  105. [Peracom_Ethernet.Reg.Win9x]
  106. HKR,Ndi,DeviceId,,"USB\VID_0565&PID_0041"
  107. ;;;;; Peracom Loader
  108. ;;;;; - initial PnP id loads peracom driver that downloads microcode
  109. ;;;;; and resets device with new PnP id that loads usb8023.sys .
  110. ;;;;; BUGBUG - REMOVE this section when no longer needed.
  111. [Peracom_LDR.NT]
  112. Characteristics = 0x84 ; BUGBUG ?
  113. BusType = 1 ; BUGBUG ?
  114. AddReg = PeracomLDR.Reg, Peracom_Ethernet.Reg
  115. LogConfig = Common.LogConfig
  116. CopyFiles = Common.CopyFiles
  117. [Peracom_LDR.NT.Services]
  118. AddService = Peracom_LDR, 2, PeracomLDR.ServiceInst
  119. [Peracom_LDR]
  120. ; Win9x install section
  121. DeviceID=rndisldr
  122. MaxInstance=1
  123. AddReg = PeracomLDR.Reg.Win9x, Peracom_Ethernet.Reg, Peracom_Ethernet.Reg.Win9x
  124. [PeracomLDR.ServiceInst]
  125. DisplayName = "Peracom Microcode Loader"
  126. ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
  127. StartType = 3 ;%SERVICE_DEMAND_START%
  128. ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%
  129. ; This Peracom driver just downloads microcode and resets device
  130. ServiceBinary = %12%\rndisldr.sys
  131. LoadOrderGroup = NDIS
  132. [PeracomLDR.Reg]
  133. HKR, Ndi, Service, 0, "Peracom_LDR" ; must match service name
  134. HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
  135. HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
  136. [PeracomLDR.Reg.Win9x]
  137. ; BUGBUG ? HKR,,DevLoader,,*ndis
  138. ; HKR,,DeviceVxDs,,rndisldr.sys
  139. HKR,,DevLoader,,*ntkern
  140. HKR,,NTMPDriver,,rndisldr.sys
  141. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  142. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  143. ;
  144. ; 3COM Cable Modem
  145. ;
  146. [ThreeCom_CM.NT]
  147. Characteristics = 0x84 ; BUGBUG ?
  148. BusType = 1 ; BUGBUG ?
  149. AddReg = Common.Reg, ThreeCom_CM.Reg
  150. LogConfig = Common.LogConfig
  151. CopyFiles = Common.CopyFiles
  152. [ThreeCom_CM.NT.Services]
  153. AddService = USB_CDC, 2, Common.ServiceInst
  154. [ThreeCom_CM]
  155. ; Win9x install section
  156. DeviceID=usb8023
  157. MaxInstance=1
  158. AddReg = Common.Reg.Win9x, ThreeCom_CM.Reg, ThreeCom_CM.Reg.Win9x
  159. [ThreeCom_CM.Reg]
  160. HKR, , Is3COMCableModem, 0x00010001, 1
  161. [ThreeCom_CM.Reg.Win9x]
  162. HKR,Ndi,DeviceId,,"USB\VID_0506&PID_03E9"
  163. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  164. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  165. ;
  166. ; (Common Sections)
  167. ;
  168. [Common.Reg]
  169. HKR, Ndi, Service, 0, "USB_CDC" ; must match service name
  170. HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
  171. HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
  172. [Common.Reg.Win9x]
  173. ; BUGBUG need DeviceId declaration ?
  174. HKR,,DevLoader,,*ndis
  175. HKR,,DeviceVxDs,,usb8023.sys
  176. HKR,NDIS,LogDriverName,,"usb8023"
  177. ; BUGBUG - declare as NDIS4 miniport for Win98 ? Ask jamesb about these .
  178. HKR,NDIS,MajorNdisVersion,1,5
  179. HKR,NDIS,MinorNdisVersion,1,0
  180. HKR,Ndi\Interfaces,DefUpper,,"ndis3"
  181. HKR,Ndi\Interfaces,DefLower,,"ethernet"
  182. HKR,Ndi\Interfaces,UpperRange,,"ndis3"
  183. HKR,Ndi\Interfaces,LowerRange,,"ethernet"
  184. ; NDIS Install sections
  185. ; BUGBUG 'ndis3' ?
  186. HKR,Ndi\Install,ndis3,,"Common.Win9x.Ndis.Install"
  187. [Common.Win9x.Ndis.Install]
  188. CopyFiles=Common.CopyFiles.Win9x
  189. [Common.LogConfig]
  190. ConfigPriority = HARDRECONFIG ; BUGBUG ?
  191. [Common.ServiceInst]
  192. DisplayName = %CommonServiceDisplayName%
  193. ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
  194. StartType = 3 ;%SERVICE_DEMAND_START%
  195. ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%
  196. ServiceBinary = %12%\usb8023.sys
  197. LoadOrderGroup = NDIS
  198. [Common.CopyFiles]
  199. usb8023.sys
  200. rndismp.sys
  201. [Common.CopyFiles.Win9x]
  202. usb8023.sys
  203. rndismp.sys
  204. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  205. [Strings]
  206. Microsoft = "Microsoft"
  207. KLSI = "KLSI"
  208. Intel = "Intel"
  209. Peracom = "Peracom"
  210. ThreeCom = "3COM"
  211. USB\VID_05E9&PID_0008 = "KLSI USB Ethernet (Reference Design)"
  212. USB\VID_0565&PID_0040 = "Peracom USB Ethernet (Reference Design Microcode Loader)" ; BUGBUG REMOVE
  213. USB\VID_0565&PID_0041 = "Peracom USB Ethernet (Reference Design)"
  214. USB\VID_8086&PID_0201 = "Intel Cable Modem (Reference Design)"
  215. USB\VID_0506&PID_03E9 = "3COM Cable Modem (Reference Design)"
  216. CommonServiceDisplayName = "USB Communications Class"