win-pvdrivers

annotate xennet/xennet.inx @ 749:233c06b133e9

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