win-pvdrivers

view xennet/xennet.inx @ 170:ae761953516e

Updates to make it easier to build with another version of the ddk. Tested with 6000 and 6001
author James Harper <james.harper@bendigoit.com.au>
date Mon Feb 04 21:31:14 2008 +1100 (2008-02-04)
parents 06ff6f324c80
children 6f57a4124ab7
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
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.CopyFiles]
51 xennet.sys
53 [SourceDisksFiles]
54 xennet.sys=1
55 WdfCoinstaller$KMDFCOINSTALLERVERSION$.dll=1,,
57 [SourceDisksNames.x86]
58 1 = %DISK_NAME%,,,\i386
60 [SourceDisksNames.amd64]
61 1 = %DISK_NAME%,,,\amd64
63 [XenNet_Inst.Services]
64 AddService=XenNet,2,XenNet_Service
66 [XenNet_Inst.NT.Services]
67 AddService=XenNet,2,XenNet_Service
69 [XenNet_Service]
70 DisplayName = %XenNet.SVCDESC%
71 ServiceType = 1
72 StartType = 3
73 ErrorControl = 1
74 LoadOrderGroup = NDIS
75 ServiceBinary = %12%\xennet.sys
76 AddReg = XenNet_Service_AddReg
78 [XenNet_Service_AddReg]
79 ; 5 = PciBus, 0 = Internal, 15 = PnpBus
80 HKR,"Parameters\PnpInterface", "15", 0x00010001, 0x00000001
82 [XenNet_Inst.NT.CoInstallers]
83 AddReg=CoInstaller_AddReg
84 CopyFiles=CoInstaller_CopyFiles
86 [CoInstaller_CopyFiles]
87 WdfCoinstaller$KMDFCOINSTALLERVERSION$.dll,,,2
89 [CoInstaller_AddReg]
90 HKR,,CoInstallers32,0x00010000, "WdfCoinstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"
92 [XenNet_Inst.NT.Wdf]
93 KmdfService = xennet, xennet_wdfsect
95 [xennet_wdfsect]
96 KmdfLibraryVersion = $KMDFVERSION$
98 [Strings]
99 XenGplPv = "Xen GPL PV Driver Developers"
100 ClassName = "Network Adapters"
101 XenNet.SVCDESC = "Xen Net Device Driver"
102 XenNet.DRVDESC = "Xen Net Device Driver"
103 DISK_NAME = "Xen Net Device Driver Install Disk"