win-pvdrivers

view xennet/xennet.inx @ 266:b88529df8b60

More wdm updates
author James Harper <james.harper@bendigoit.com.au>
date Wed May 07 10:47:03 2008 +1000 (2008-05-07)
parents dce3943a11ec
children da9b1e17fbc0
line source
1 [Version]
2 Signature="$WINDOWS NT$"
3 Class=Net
4 ClassGuid={4D36E972-E325-11CE-BFC1-08002BE10318}
5 Provider=%XenGplPv%
7 [DestinationDirs]
8 DefaultDestDir = 12
9 ClassInstall32_CopyFiles=11
10 CoInstaller_CopyFiles = 11
12 ; ================= Class section =====================
14 [ClassInstall32]
15 Addreg=ClassInstall32_AddReg
16 CopyFiles=ClassInstall32_CopyFiles
18 [ClassInstall32_AddReg]
19 HKR,,,0,%ClassName%
20 HKR,,Icon,,-5
21 HKR,,DeviceCharacteristics,0x10001,0x100
22 HKR,,Security,,"D:P(A;;GA;;;SY)(A;;GA;;;BA)"
24 [ClassInstall32_CopyFiles]
26 [ControlFlags]
27 ExcludeFromSelect=*
30 [Manufacturer]
31 %XenGplPv%=XenGplPv,NTx86
32 %XenGplPv%=XenGplPv,NTamd64
34 [XenGplPv.NTx86]
35 %XenNet.DRVDESC%=XenNet_Inst, XEN\VIFDEV
37 [XenGplPv.NTamd64]
38 %XenNet.DRVDESC%=XenNet_Inst, XEN\VIFDEV
40 [XenNet_Inst.NT]
41 CopyFiles=XenNet.CopyFiles
42 Characteristics = 0x1 ; NCF_VIRTUAL
43 AddReg = XenNet_Reg, XenNet_Params
45 [XenNet_Reg]
46 HKR, Ndi, Service, 0, "XenNet"
47 HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
48 HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
50 [XenNet_Params]
51 HKR, Ndi\Params\MTU, ParamDesc, , "MTU"
52 HKR, Ndi\Params\MTU, default, , "1500"
53 HKR, Ndi\Params\MTU, type, , "dword"
54 HKR, Ndi\Params\MTU, min, , "1500"
55 HKR, Ndi\Params\MTU, max, , "9000"
56 HKR, Ndi\Params\MTU, step, , "500"
57 HKR, Ndi\Params\MTU, base, , "10"
59 HKR, Ndi\Params\ChecksumOffload, ParamDesc, , "Checksum Offload"
60 HKR, Ndi\Params\ChecksumOffload, default, , "1"
61 HKR, Ndi\Params\ChecksumOffload, type, , "enum"
62 HKR, Ndi\Params\ChecksumOffload\enum, 0, , "Disabled"
63 HKR, Ndi\Params\ChecksumOffload\enum, 1, , "Enabled"
65 HKR, Ndi\Params\LargeSendOffload, ParamDesc, , "Large Send Offload"
66 HKR, Ndi\Params\LargeSendOffload, default, , "61440"
67 HKR, Ndi\Params\LargeSendOffload, type, , "enum"
68 HKR, Ndi\Params\LargeSendOffload\enum, 0, , "Disabled"
69 HKR, Ndi\Params\LargeSendOffload\enum, 8192, , "8192"
70 HKR, Ndi\Params\LargeSendOffload\enum, 16384, , "16384"
71 HKR, Ndi\Params\LargeSendOffload\enum, 32768, , "32768"
72 HKR, Ndi\Params\LargeSendOffload\enum, 61440, , "61440"
74 HKR, Ndi\Params\ScatterGather, ParamDesc, , "Scatter/Gather"
75 HKR, Ndi\Params\ScatterGather, default, , "1"
76 HKR, Ndi\Params\ScatterGather, type, , "enum"
77 HKR, Ndi\Params\ScatterGather\enum, 0, , "Disabled"
78 HKR, Ndi\Params\ScatterGather\enum, 1, , "Enabled"
80 [XenNet.CopyFiles]
81 xennet.sys
83 [SourceDisksFiles]
84 xennet.sys=1
85 WdfCoinstaller$KMDFCOINSTALLERVERSION$.dll=1,,
87 [SourceDisksNames.x86]
88 1 = %DISK_NAME%,,,\i386
90 [SourceDisksNames.amd64]
91 1 = %DISK_NAME%,,,\amd64
93 [XenNet_Inst.Services]
94 AddService=XenNet,2,XenNet_Service
96 [XenNet_Inst.NT.Services]
97 AddService=XenNet,2,XenNet_Service
99 [XenNet_Service]
100 DisplayName = %XenNet.SVCDESC%
101 ServiceType = 1
102 StartType = 3
103 ErrorControl = 1
104 LoadOrderGroup = NDIS
105 ServiceBinary = %12%\xennet.sys
106 AddReg = XenNet_Service_AddReg
108 [XenNet_Service_AddReg]
109 ; 5 = PciBus, 0 = Internal, 15 = PnpBus
110 HKR,"Parameters\PnpInterface", "15", 0x00010001, 0x00000001
112 [XenNet_Inst.NT.CoInstallers]
113 AddReg=CoInstaller_AddReg
114 CopyFiles=CoInstaller_CopyFiles
116 [CoInstaller_CopyFiles]
117 WdfCoinstaller$KMDFCOINSTALLERVERSION$.dll,,,2
119 [CoInstaller_AddReg]
120 HKR,,CoInstallers32,0x00010000, "WdfCoinstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"
122 [XenNet_Inst.NT.Wdf]
123 KmdfService = xennet, xennet_wdfsect
125 [xennet_wdfsect]
126 KmdfLibraryVersion = $KMDFVERSION$
128 [Strings]
129 XenGplPv = "Xen GPL PV Driver Developers"
130 ClassName = "Network Adapters"
131 XenNet.SVCDESC = "Xen Net Device Driver"
132 XenNet.DRVDESC = "Xen Net Device Driver"
133 DISK_NAME = "Xen Net Device Driver Install Disk"