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.

200 lines
6.9 KiB

  1. ; /****************************************************************************
  2. ; ** COPYRIGHT (C) 1994-1997 INTEL CORPORATION **
  3. ; ** DEVELOPED FOR MICROSOFT BY INTEL CORP., HILLSBORO, OREGON **
  4. ; ** HTTP://WWW.INTEL.COM/ **
  5. ; ** THIS FILE IS PART OF THE INTEL ETHEREXPRESS PRO/100B(TM) AND **
  6. ; ** ETHEREXPRESS PRO/100+(TM) NDIS 5.0 MINIPORT SAMPLE DRIVER **
  7. ; ****************************************************************************/
  8. [version]
  9. ;Layoutfile parameter is reserved for internal Microsoft use only
  10. ;LayoutFile = layout.inf
  11. Signature = "$Chicago$"
  12. CatalogFile = net557ex.cat
  13. Class = Net
  14. ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
  15. Provider = %Msft%
  16. Compatible = 1
  17. DriverVer = 12/12/2001,1.06.00.0000
  18. [Manufacturer]
  19. %Intel% = Intel
  20. [ControlFlags]
  21. ExcludeFromSelect = PCI\VEN_8086&DEV_1229
  22. [Intel]
  23. ; DisplayName Section DeviceID
  24. ; ----------- ------- --------
  25. %E100B.DeviceDesc% = E100B.ndi, PCI\VEN_8086&DEV_1229 ; Intel EtherExpress PRO PCI Ethernet Adapter
  26. ; Intel 82557/82558 Based PCI Ethernet Adapter (10/100) and Intel compatibles
  27. ;
  28. ; Windows 9X specific entry
  29. [E100B.ndi]
  30. AddReg = e100b.id.reg, Speed100.reg, 82557.reg, 82557Flags.reg, e100b.win.reg
  31. DeviceID = "PCI\VEN_8086&DEV_1229"
  32. ; Windows NT specific entry
  33. [E100B.ndi.NT]
  34. Characteristics = 0x84
  35. BusType = 5
  36. AddReg = Speed100.reg, 82557.reg, e100b.reg
  37. CopyFiles = e100b.CopyFiles
  38. [E100B.ndi.NT.Services]
  39. AddService = E100B, 2, e100b.Service, common.EventLog
  40. ;----------------------------------------------------------------------------
  41. ; Win9x id registry sections
  42. ; These are not needed by NT
  43. [e100b.id.reg]
  44. HKR, Ndi, DeviceID, 0, "PCI\VEN_8086&DEV_1229"
  45. ;----------------------------------------------------------------------------
  46. ; Win9x flags section
  47. ; Flags are not needed by NT
  48. [82557Flags.reg]
  49. HKR, Ndi\params\NumRfd, flag, 1, 20,00,00,00
  50. HKR, Ndi\params\NumTcb, flag, 1, 20,00,00,00
  51. HKR, Ndi\params\NumCoalesce, flag, 1, 20,00,00,00
  52. HKR, Ndi\params\SpeedDuplex, flag, 1, 30,00,00,00
  53. ;-----------------------------------------------------------------------------
  54. ; common base for 10/100Mb Adapters
  55. ;
  56. [Speed100.reg]
  57. HKR, Ndi\params\SpeedDuplex, ParamDesc, 0, %SpeedDuplex%
  58. HKR, Ndi\params\SpeedDuplex, default, 0, "0"
  59. HKR, Ndi\params\SpeedDuplex, type, 0, "enum"
  60. HKR, Ndi\params\SpeedDuplex\enum, "0", 0, %AutoDetect%
  61. HKR, Ndi\params\SpeedDuplex\enum, "1", 0, %10Mb-Half-Duplex%
  62. HKR, Ndi\params\SpeedDuplex\enum, "2", 0, %10Mb-Full-Duplex%
  63. HKR, Ndi\params\SpeedDuplex\enum, "3", 0, %100Mb-Half-Duplex%
  64. HKR, Ndi\params\SpeedDuplex\enum, "4", 0, %100Mb-Full-Duplex%
  65. ;-----------------------------------------------------------------------------
  66. ; 82557 common
  67. ;
  68. [82557.reg]
  69. HKR, Ndi\params\NumRfd, ParamDesc, 0, "%ReceiveFrameDescriptors%"
  70. HKR, Ndi\params\NumRfd, default, 0, "16"
  71. HKR, Ndi\params\NumRfd, min, 0, "1"
  72. HKR, Ndi\params\NumRfd, max, 0, "00001024"
  73. HKR, Ndi\params\NumRfd, step, 0, "1"
  74. HKR, Ndi\params\NumRfd, Base, 0, "10"
  75. HKR, Ndi\params\NumRfd, type, 0, "int"
  76. HKR, Ndi\params\NumTcb, ParamDesc, 0, "%TransmitControlBlocks%"
  77. HKR, Ndi\params\NumTcb, default, 0, "16"
  78. HKR, Ndi\params\NumTcb, min, 0, "1"
  79. HKR, Ndi\params\NumTcb, max, 0, "00000064"
  80. HKR, Ndi\params\NumTcb, step, 0, "1"
  81. HKR, Ndi\params\NumTcb, Base, 0, "10"
  82. HKR, Ndi\params\NumTcb, type, 0, "int"
  83. HKR, Ndi\params\NumCoalesce, ParamDesc, 0, "%CoalesceBuffers%"
  84. HKR, Ndi\params\NumCoalesce, default, 0, "8"
  85. HKR, Ndi\params\NumCoalesce, min, 0, "1"
  86. HKR, Ndi\params\NumCoalesce, max, 0, "00000032"
  87. HKR, Ndi\params\NumCoalesce, step, 0, "1"
  88. HKR, Ndi\params\NumCoalesce, Base, 0, "10"
  89. HKR, Ndi\params\NumCoalesce, type, 0, "int"
  90. ;-----------------------------------------------------------------------------
  91. ; e100b NT specific
  92. ;
  93. [e100b.reg]
  94. HKR, Ndi, Service, 0, "E100B"
  95. ; use ndis5 as the upper bound because NT supports it
  96. HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
  97. HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
  98. [e100b.Service]
  99. DisplayName = %e100bex.Service.DispName%
  100. ServiceType = 1 ;%SERVICE_KERNEL_DRIVER%
  101. StartType = 3 ;%SERVICE_DEMAND_START%
  102. ErrorControl = 1 ;%SERVICE_ERROR_NORMAL%
  103. ServiceBinary = %12%\e100bex.sys
  104. LoadOrderGroup = NDIS
  105. [common.EventLog]
  106. AddReg = common.AddEventLog.reg
  107. [common.AddEventLog.reg]
  108. HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
  109. HKR, , TypesSupported, 0x00010001, 7
  110. ;----------------------------------------------------------------------------
  111. ; e100b Win9x specific
  112. ;
  113. [e100b.win.reg]
  114. HKR, , DevLoader, 0, "*ndis"
  115. HKR, , DeviceVxDs, 0, "e100bex.sys"
  116. HKR, , EnumPropPages, 0, "netdi.dll,EnumPropPages"
  117. ; memphis appears to not support the ndis5 upper range, so use ndis3
  118. HKR, Ndi\Interfaces,DefUpper, 0, "ndis3"
  119. HKR, Ndi\Interfaces,DefLower, 0, "ethernet"
  120. HKR, Ndi\Interfaces,UpperRange, 0, "ndis3"
  121. HKR, Ndi\Interfaces,LowerRange, 0, "ethernet"
  122. HKR, NDIS, LogDriverName, 0, "E100BEX"
  123. HKR, NDIS, MajorNdisVersion, 1, 03
  124. HKR, NDIS, MinorNdisVersion, 1, 0A
  125. HKR, Ndi\Install, ndis3, 0, "e100b.install"
  126. [e100b.install]
  127. CopyFiles = e100b.win.CopyFiles
  128. ;-----------------------------------------------------------------------------
  129. ; DestinationDirs
  130. ;
  131. [e100b.CopyFiles]
  132. e100bex.sys,,,2
  133. [e100b.win.CopyFiles]
  134. e100bex.sys,,,2
  135. [SourceDisksNames]
  136. ;
  137. ; diskid = description[, [tagfile] [, <unused>, subdir]]
  138. ;
  139. 1 = "Intel Driver Disk 1",e100bex.sys,,
  140. [SourceDisksFiles]
  141. ;
  142. ; filename_on_source = diskID[, [subdir][, size]]
  143. ;
  144. e100bex.sys = 1,, ; on distribution disk 1
  145. [DestinationDirs]
  146. e100b.CopyFiles = 12
  147. e100b.win.CopyFiles = 11
  148. DefaultDestDirs = 11
  149. [Strings]
  150. Msft = "Microsoft"
  151. Intel = "Intel"
  152. AutoDetect = "Auto Detect"
  153. SpeedDuplex = "Link Speed & Duplex"
  154. 10Mb-Half-Duplex = "10Mbps/Half Duplex"
  155. 10Mb-Full-Duplex = "10Mbps/Full Duplex"
  156. 100Mb-Half-Duplex = "100Mbps/Half Duplex"
  157. 100Mb-Full-Duplex = "100Mbps/Full Duplex"
  158. ReceiveFrameDescriptors = "Receive Frame Descriptors"
  159. TransmitControlBlocks = "Transmit Control Blocks"
  160. CoalesceBuffers = "Coalesce Buffers"
  161. E100B.DeviceDesc = "Intel EtherExpress PRO PCI Ethernet Adapter"
  162. e100bex.Service.DispName = "Intel 8255x based Ethernet Adapter NT Driver"