win-pvdrivers

view xennet/xennet.inx @ 525:91195e6cdb5d

Worked around xennet 'out of resource' hang under XP. Change Isr handling.
author James Harper <james.harper@bendigoit.com.au>
date Fri Jan 16 22:32:40 2009 +1100 (2009-01-16)
parents 30592ca314b2
children 2a74ac2f43bb
line source
1 [Version]
2 Signature="$WINDOWS NT$"
3 Class=Net
4 ClassGuid={4D36E972-E325-11CE-BFC1-08002BE10318}
5 Provider=%XenGplPv%
6 CatalogFile="XenGPLPV.cat"
8 [DestinationDirs]
9 DefaultDestDir = 12
11 [ControlFlags]
12 ExcludeFromSelect=*
14 [Manufacturer]
15 %XenGplPv%=XenGplPv,NTx86
16 %XenGplPv%=XenGplPv,NTamd64
18 [XenGplPv.NTx86]
19 %XenNet.DRVDESC%=XenNet_Inst, XEN\VIF
21 [XenGplPv.NTamd64]
22 %XenNet.DRVDESC%=XenNet_Inst, XEN\VIF
24 [XenNet_Inst.NT]
25 CopyFiles=XenNet.CopyFiles
26 Characteristics = 0x1 ; NCF_VIRTUAL
27 AddReg = XenNet_Reg, XenNet_Params
29 [XenNet_Reg]
30 HKR, Ndi, Service, 0, "XenNet"
31 HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
32 HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
34 [XenNet_Params]
35 HKR, Ndi\Params\MTU, ParamDesc, , "MTU"
36 HKR, Ndi\Params\MTU, default, , "1500"
37 HKR, Ndi\Params\MTU, type, , "dword"
38 HKR, Ndi\Params\MTU, min, , "1500"
39 HKR, Ndi\Params\MTU, max, , "9000"
40 HKR, Ndi\Params\MTU, step, , "500"
41 HKR, Ndi\Params\MTU, base, , "10"
43 HKR, Ndi\Params\ChecksumOffload, ParamDesc, , "Checksum Offload"
44 HKR, Ndi\Params\ChecksumOffload, default, , "1"
45 HKR, Ndi\Params\ChecksumOffload, type, , "enum"
46 HKR, Ndi\Params\ChecksumOffload\enum, 0, , "Disabled"
47 HKR, Ndi\Params\ChecksumOffload\enum, 1, , "Enabled"
49 HKR, Ndi\Params\ChecksumOffloadRxCheck, ParamDesc, , "Check checksum on RX packets"
50 HKR, Ndi\Params\ChecksumOffloadRxCheck, default, , "1"
51 HKR, Ndi\Params\ChecksumOffloadRxCheck, type, , "enum"
52 HKR, Ndi\Params\ChecksumOffloadRxCheck\enum, 0, , "Disabled"
53 HKR, Ndi\Params\ChecksumOffloadRxCheck\enum, 1, , "Enabled"
55 HKR, Ndi\Params\LargeSendOffload, ParamDesc, , "Large Send Offload"
56 HKR, Ndi\Params\LargeSendOffload, default, , "61440"
57 HKR, Ndi\Params\LargeSendOffload, type, , "enum"
58 HKR, Ndi\Params\LargeSendOffload\enum, 0, , "Disabled"
59 HKR, Ndi\Params\LargeSendOffload\enum, 8192, , "8192"
60 HKR, Ndi\Params\LargeSendOffload\enum, 16384, , "16384"
61 HKR, Ndi\Params\LargeSendOffload\enum, 32768, , "32768"
62 HKR, Ndi\Params\LargeSendOffload\enum, 61440, , "61440"
64 HKR, Ndi\Params\ScatterGather, ParamDesc, , "Scatter/Gather"
65 HKR, Ndi\Params\ScatterGather, default, , "1"
66 HKR, Ndi\Params\ScatterGather, type, , "enum"
67 HKR, Ndi\Params\ScatterGather\enum, 0, , "Disabled"
68 HKR, Ndi\Params\ScatterGather\enum, 1, , "Enabled"
70 HKR, Ndi\Params\RxInterruptModeration, ParamDesc, , "Rx Interrupt Moderation (beta)"
71 HKR, Ndi\Params\RxInterruptModeration, default, , "0"
72 HKR, Ndi\Params\RxInterruptModeration, type, , "enum"
73 HKR, Ndi\Params\RxInterruptModeration\enum, 0, , "Disabled"
74 HKR, Ndi\Params\RxInterruptModeration\enum, 1, , "Enabled"
76 HKR, Ndi\Params\NetworkAddress, ParamDesc, , "Locally Administered Address"
77 HKR, Ndi\Params\NetworkAddress, Type, , "edit"
78 HKR, Ndi\Params\NetworkAddress, LimitText, , "12"
79 HKR, Ndi\Params\NetworkAddress, UpperCase, , "1"
80 HKR, Ndi\Params\NetworkAddress, Default, , ""
81 HKR, Ndi\Params\NetworkAddress, Optional, , "1"
83 [XenNet.CopyFiles]
84 xennet.sys
86 [SourceDisksFiles]
87 xennet.sys=1
89 [SourceDisksNames.x86]
90 1 = %DISK_NAME%,,,\i386
92 [SourceDisksNames.amd64]
93 1 = %DISK_NAME%,,,\amd64
95 [XenNet_Inst.Services]
96 AddService=XenNet,2,XenNet_Service
98 [XenNet_Inst.NT.Services]
99 AddService=XenNet,2,XenNet_Service
101 [XenNet_Service]
102 DisplayName = %XenNet.SVCDESC%
103 ServiceType = 1
104 StartType = 3
105 ErrorControl = 1
106 LoadOrderGroup = NDIS
107 ServiceBinary = %12%\xennet.sys
108 AddReg = XenNet_Service_AddReg
110 [XenNet_Service_AddReg]
111 ; 5 = PciBus, 0 = Internal, 15 = PnpBus
112 HKR,"Parameters\PnpInterface", "15", 0x00010001, 0x00000001
113 HKLM,SYSTEM\CurrentControlSet\Control\Class\{4D36E972-E325-11CE-BFC1-08002bE10318},UpperFilters,0x00010008,XenHide
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"