win-pvdrivers

view xennet/xennet.inx @ 821:9c0c4210b778

Fix xennet build under Windows 2000
Fix xenvbd install under Windows 2000
author James Harper <james.harper@bendigoit.com.au>
date Sat Oct 16 20:03:30 2010 +1100 (2010-10-16)
parents 233c06b133e9
children 9be11a753ca2
line source
1 [Version]
2 Signature="$WINDOWS NT$"
3 Class=Net
4 ClassGuid={4D36E972-E325-11CE-BFC1-08002BE10318}
5 Provider=%XenGplPv%
6 CatalogFile="xennet.cat"
8 [DestinationDirs]
9 DefaultDestDir = 12
11 [ControlFlags]
12 ExcludeFromSelect=*
14 [Manufacturer]
15 %XenGplPv%=XenGplPv,NT$ARCH$
17 [XenGplPv.NT$ARCH$]
18 %XenNet.DRVDESC%=XenNet_Inst, XEN\VIF
20 [XenGplPv]
21 %XenNet.DRVDESC%=XenNet_Inst, XEN\VIF
23 [XenNet_Inst.NT]
24 CopyFiles=XenNet.CopyFiles
25 Characteristics = 0x1 ; NCF_VIRTUAL
26 AddReg = XenNet_Reg, XenNet_Params
28 [XenNet_Reg]
29 HKR, Ndi, Service, 0, "XenNet"
30 HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
31 HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
33 [XenNet_Params]
34 HKR, Ndi\Params\MTU, ParamDesc, , "MTU"
35 HKR, Ndi\Params\MTU, default, , "1500"
36 HKR, Ndi\Params\MTU, type, , "dword"
37 HKR, Ndi\Params\MTU, min, , "1500"
38 HKR, Ndi\Params\MTU, max, , "9000"
39 HKR, Ndi\Params\MTU, step, , "500"
40 HKR, Ndi\Params\MTU, base, , "10"
42 HKR, Ndi\Params\ChecksumOffload, ParamDesc, , "Checksum Offload"
43 HKR, Ndi\Params\ChecksumOffload, default, , "1"
44 HKR, Ndi\Params\ChecksumOffload, type, , "enum"
45 HKR, Ndi\Params\ChecksumOffload\enum, 0, , "Disabled"
46 HKR, Ndi\Params\ChecksumOffload\enum, 1, , "Enabled"
48 HKR, Ndi\Params\ChecksumOffloadRxCheck, ParamDesc, , "Check checksum on RX packets"
49 HKR, Ndi\Params\ChecksumOffloadRxCheck, default, , "1"
50 HKR, Ndi\Params\ChecksumOffloadRxCheck, type, , "enum"
51 HKR, Ndi\Params\ChecksumOffloadRxCheck\enum, 0, , "Disabled"
52 HKR, Ndi\Params\ChecksumOffloadRxCheck\enum, 1, , "Enabled"
54 HKR, Ndi\Params\LargeSendOffload, ParamDesc, , "Large Send Offload"
55 HKR, Ndi\Params\LargeSendOffload, default, , "61440"
56 HKR, Ndi\Params\LargeSendOffload, type, , "enum"
57 HKR, Ndi\Params\LargeSendOffload\enum, 0, , "Disabled"
58 HKR, Ndi\Params\LargeSendOffload\enum, 8192, , "8192"
59 HKR, Ndi\Params\LargeSendOffload\enum, 16384, , "16384"
60 HKR, Ndi\Params\LargeSendOffload\enum, 32768, , "32768"
61 HKR, Ndi\Params\LargeSendOffload\enum, 61440, , "61440"
63 HKR, Ndi\Params\ScatterGather, ParamDesc, , "Scatter/Gather"
64 HKR, Ndi\Params\ScatterGather, default, , "1"
65 HKR, Ndi\Params\ScatterGather, type, , "enum"
66 HKR, Ndi\Params\ScatterGather\enum, 0, , "Disabled"
67 HKR, Ndi\Params\ScatterGather\enum, 1, , "Enabled"
69 HKR, Ndi\Params\RxInterruptModeration, ParamDesc, , "Rx Interrupt Moderation (beta)"
70 HKR, Ndi\Params\RxInterruptModeration, default, , "0"
71 HKR, Ndi\Params\RxInterruptModeration, type, , "enum"
72 HKR, Ndi\Params\RxInterruptModeration\enum, 0, , "Disabled"
73 HKR, Ndi\Params\RxInterruptModeration\enum, 1, , "Enabled"
75 HKR, Ndi\Params\NetworkAddress, ParamDesc, , "Locally Administered Address"
76 HKR, Ndi\Params\NetworkAddress, Type, , "edit"
77 HKR, Ndi\Params\NetworkAddress, LimitText, , "12"
78 HKR, Ndi\Params\NetworkAddress, UpperCase, , "1"
79 HKR, Ndi\Params\NetworkAddress, Default, , ""
80 HKR, Ndi\Params\NetworkAddress, Optional, , "1"
82 [XenNet.CopyFiles]
83 xennet.sys,,0x00001000 ; COPYFLG_REPLACE_BOOT_FILE
85 [SourceDisksFiles]
86 xennet.sys=1
88 [SourceDisksNames]
89 1 = %DISK_NAME%
91 [XenNet_Inst.Services]
92 AddService=XenNet,2,XenNet_Service
94 [XenNet_Inst.NT.Services]
95 AddService=XenNet,2,XenNet_Service
97 [XenNet_Service]
98 DisplayName = %XenNet.SVCDESC%
99 ServiceType = 1
100 StartType = 3
101 ErrorControl = 1
102 LoadOrderGroup = NDIS
103 ServiceBinary = %12%\xennet.sys
104 AddReg = XenNet_Service_AddReg
106 [XenNet_Service_AddReg]
107 ; 5 = PciBus, 0 = Internal, 15 = PnpBus
108 HKR,"Parameters\PnpInterface", "15", 0x00010001, 0x00000001
109 ; hide Qemu Network in XenPCI
110 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "hide_devices", 0x00010008, "#vif#"
111 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "hide_devices", 0x00010008, "VEN_10EC&DEV_8139"
112 ; tell Qemu to hide stuff
113 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "qemu_hide_flags", 0x00010008, %QEMU_UNPLUG_ALL_NICS%
115 [Strings]
116 XenGplPv = "Xen GPL PV Driver Developers"
117 XenNet.SVCDESC = "Xen Net Device Driver"
118 XenNet.DRVDESC = "Xen Net Device Driver"
119 DISK_NAME = "Xen Net Device Driver Install Disk"
120 QEMU_UNPLUG_ALL_IDE_DISKS = 1
121 QEMU_UNPLUG_ALL_NICS = 2
122 QEMU_UNPLUG_AUX_IDE_DISKS = 4