win-pvdrivers

view xennet/xennet.inx @ 942:81f132396f9e

xennet6 now appears to pass all significat whql tests. Need to turn down the noise a bit now.
author James Harper <james.harper@bendigoit.com.au>
date Sat Jul 09 18:40:28 2011 +1000 (2011-07-09)
parents a61e4e452f43
children 05ece536b204
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$,NT$ARCH$.6.0
17 [XenGplPv.NT$ARCH$]
18 %XenNet.DRVDESC%=XenNet_Inst_NDIS5, XEN\VIF
20 [XenGplPv.NT$ARCH$.6.0]
21 %XenNet.DRVDESC%=XenNet_Inst_NDIS6, XEN\VIF
23 [XenGplPv]
24 %XenNet.DRVDESC%=XenNet_Inst_NDIS5, XEN\VIF
26 [XenNet_Inst_NDIS5]
27 CopyFiles=XenNet.CopyFiles
28 Characteristics = 0x81 ; NCF_VIRTUAL | NCF_HAS_UI
29 AddReg = XenNet_Reg, XenNet_Params_Common, XenNet_Params_NDIS5
30 *IfType = 6 ; Ethernet
31 *MediaType = 0 ; NdisMedium802_3
32 *PhysicalMediaType = 19 ; NdisPhysicalMediumOther
34 [XenNet_Inst_NDIS6]
35 CopyFiles=XenNet.CopyFiles
36 Characteristics = 0x81 ; NCF_VIRTUAL | NCF_HAS_UI
37 AddReg = XenNet_Reg, XenNet_Params_Common, XenNet_Params_NDIS6
38 *IfType = 6 ; Ethernet
39 *MediaType = 0 ; NdisMedium802_3
40 *PhysicalMediaType = 19 ; NdisPhysicalMediumOther
42 [XenNet_Reg]
43 HKR, Ndi, Service, 0, "XenNet"
44 HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
45 HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
47 [XenNet_Params_Common]
48 HKR, Ndi\Params\MTU, ParamDesc, , "MTU"
49 HKR, Ndi\Params\MTU, default, , "1500"
50 HKR, Ndi\Params\MTU, type, , "dword"
51 HKR, Ndi\Params\MTU, min, , "1500"
52 HKR, Ndi\Params\MTU, max, , "9000"
53 HKR, Ndi\Params\MTU, step, , "500"
54 HKR, Ndi\Params\MTU, base, , "10"
56 HKR, Ndi\Params\ChecksumOffload, ParamDesc, , "Checksum Offload"
57 HKR, Ndi\Params\ChecksumOffload, default, , "1"
58 HKR, Ndi\Params\ChecksumOffload, type, , "enum"
59 HKR, Ndi\Params\ChecksumOffload\enum, 0, , "Disabled"
60 HKR, Ndi\Params\ChecksumOffload\enum, 1, , "Enabled"
62 HKR, Ndi\Params\LargeSendOffload, ParamDesc, , "Large Send Offload"
63 HKR, Ndi\Params\LargeSendOffload, default, , "61440"
64 HKR, Ndi\Params\LargeSendOffload, type, , "enum"
65 HKR, Ndi\Params\LargeSendOffload\enum, 0, , "Disabled"
66 HKR, Ndi\Params\LargeSendOffload\enum, 8192, , "8192"
67 HKR, Ndi\Params\LargeSendOffload\enum, 16384, , "16384"
68 HKR, Ndi\Params\LargeSendOffload\enum, 32768, , "32768"
69 HKR, Ndi\Params\LargeSendOffload\enum, 61440, , "61440"
71 HKR, Ndi\Params\ScatterGather, ParamDesc, , "Scatter/Gather"
72 HKR, Ndi\Params\ScatterGather, default, , "1"
73 HKR, Ndi\Params\ScatterGather, type, , "enum"
74 HKR, Ndi\Params\ScatterGather\enum, 0, , "Disabled"
75 HKR, Ndi\Params\ScatterGather\enum, 1, , "Enabled"
77 HKR, Ndi\Params\NetworkAddress, ParamDesc, , "Locally Administered Address"
78 HKR, Ndi\Params\NetworkAddress, Type, , "edit"
79 HKR, Ndi\Params\NetworkAddress, LimitText, , "12"
80 HKR, Ndi\Params\NetworkAddress, UpperCase, , "1"
81 HKR, Ndi\Params\NetworkAddress, Default, , ""
82 HKR, Ndi\Params\NetworkAddress, Optional, , "1"
84 [XenNet_Params_NDIS5]
85 HKR, Ndi\Params\ChecksumOffloadRxCheck, ParamDesc, , "Check checksum on RX packets"
86 HKR, Ndi\Params\ChecksumOffloadRxCheck, default, , "1"
87 HKR, Ndi\Params\ChecksumOffloadRxCheck, type, , "enum"
88 HKR, Ndi\Params\ChecksumOffloadRxCheck\enum, 0, , "Disabled"
89 HKR, Ndi\Params\ChecksumOffloadRxCheck\enum, 1, , "Enabled"
91 HKR, Ndi\Params\ChecksumOffloadDontFix, ParamDesc, , "Dont fix the blank checksum on offloaded RX packets"
92 HKR, Ndi\Params\ChecksumOffloadDontFix, default, , "0"
93 HKR, Ndi\Params\ChecksumOffloadDontFix, type, , "enum"
94 HKR, Ndi\Params\ChecksumOffloadDontFix\enum, 0, , "Disabled"
95 HKR, Ndi\Params\ChecksumOffloadDontFix\enum, 1, , "Enabled"
97 [XenNet_Params_NDIS6]
98 HKR, Ndi\Params\LargeSendOffloadRxSplitMTU, ParamDesc, , "Allow received packets larger than MTU"
99 HKR, Ndi\Params\LargeSendOffloadRxSplitMTU, default, , "1"
100 HKR, Ndi\Params\LargeSendOffloadRxSplitMTU, type, , "enum"
101 HKR, Ndi\Params\LargeSendOffloadRxSplitMTU\enum, 0, , "Disabled (Limit to MSS)"
102 HKR, Ndi\Params\LargeSendOffloadRxSplitMTU\enum, 1, , "Half (Split packet in half)"
103 HKR, Ndi\Params\LargeSendOffloadRxSplitMTU\enum, 2, , "Enabled (Full packet)"
105 ;HKR, Ndi\Params\RxInterruptModeration, ParamDesc, , "Rx Interrupt Moderation (beta)"
106 ;HKR, Ndi\Params\RxInterruptModeration, default, , "0"
107 ;HKR, Ndi\Params\RxInterruptModeration, type, , "enum"
108 ;HKR, Ndi\Params\RxInterruptModeration\enum, 0, , "Disabled"
109 ;HKR, Ndi\Params\RxInterruptModeration\enum, 1, , "Enabled"
111 [XenNet.CopyFiles]
112 xennet.sys,,0x00001000 ; COPYFLG_REPLACE_BOOT_FILE
114 [SourceDisksFiles]
115 xennet.sys=1
117 [SourceDisksNames]
118 1 = %DISK_NAME%
120 [XenNet_Inst_NDIS5.Services]
121 AddService=XenNet,2,XenNet_Service
123 [XenNet_Inst_NDIS6.Services]
124 AddService=XenNet,2,XenNet_Service
126 [XenNet_Service]
127 DisplayName = %XenNet.SVCDESC%
128 ServiceType = 1
129 StartType = 3
130 ErrorControl = 1
131 LoadOrderGroup = NDIS
132 ServiceBinary = %12%\xennet.sys
133 AddReg = XenNet_Service_AddReg
135 [XenNet_Service_AddReg]
136 ; 5 = PciBus, 0 = Internal, 15 = PnpBus
137 HKR,"Parameters\PnpInterface", "15", 0x00010001, 0x00000001
138 ; hide Qemu Network in XenPCI
139 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "hide_devices", 0x00010008, "#vif#"
140 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "hide_devices", 0x00010008, "VEN_10EC&DEV_8139"
141 ; tell Qemu to hide stuff
142 HKLM,"SYSTEM\CurrentControlSet\Services\XenPCI\Parameters", "qemu_hide_flags", 0x00010008, %QEMU_UNPLUG_ALL_NICS%
144 [Strings]
145 XenGplPv = "Xen GPL PV Driver Developers"
146 XenNet.SVCDESC = "Xen Net Device Driver"
147 XenNet.DRVDESC = "Xen Net Device Driver"
148 DISK_NAME = "Xen Net Device Driver Install Disk"
149 QEMU_UNPLUG_ALL_IDE_DISKS = 1
150 QEMU_UNPLUG_ALL_NICS = 2
151 QEMU_UNPLUG_AUX_IDE_DISKS = 4