VirtualBox

source: vbox/trunk/src/VBox/HostDrivers/VBoxTAP/VBoxTAP.inf@ 16684

Last change on this file since 16684 was 11636, checked in by vboxsync, 16 years ago

#3105: Implemented editing of DriverVer in driver .inf files.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.8 KB
Line 
1;
2; VirtualBox Host Interface Networking Driver
3;
4;
5; Copyright (C) 2006-2007 Sun Microsystems, Inc.
6;
7; This file is part of VirtualBox Open Source Edition (OSE), as
8; available from http://www.virtualbox.org. This file is free software;
9; you can redistribute it and/or modify it under the terms of the GNU
10; General Public License (GPL) as published by the Free Software
11; Foundation, in version 2 as it comes in the "COPYING" file of the
12; VirtualBox OSE distribution. VirtualBox OSE is distributed in the
13; hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
14;
15; Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
16; Clara, CA 95054 USA or visit http://www.sun.com if you need
17; additional information or have any questions.
18;
19
20[Version]
21 Signature = "$Windows NT$"
22;cat CatalogFile = VBoxTAP.cat
23 ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
24 Provider = %Provider%
25 Class = Net
26
27; This version number should match the version
28; number given in SOURCES.
29;; @todo: edit this too? what's the above comment about?
30 DriverVer=02/19/2007,8.00.00.0005
31
32[Strings]
33; Note; there are hardcoded checks for these strings!!
34 DeviceDescription = "VirtualBox TAP Adapter"
35 Provider = "Sun Microsystems, Inc."
36
37;----------------------------------------------------------------
38; Manufacturer + Product Section (Done)
39;----------------------------------------------------------------
40[Manufacturer]
41;x86 %Provider% = VBoxTAP
42;amd64 %Provider% = VBoxTAP, NTamd64
43
44;x86 [VBoxTAP]
45;amd64 [VBoxTAP.NTamd64]
46 %DeviceDescription% = VBoxTAP.ndi, VBoxTAP
47
48;---------------------------------------------------------------
49; Driver Section (Done)
50;---------------------------------------------------------------
51
52;----------------- Characteristics ------------
53; NCF_PHYSICAL = 0x04
54; NCF_VIRTUAL = 0x01
55; NCF_SOFTWARE_ENUMERATED = 0x02
56; NCF_HIDDEN = 0x08
57; NCF_NO_SERVICE = 0x10
58; NCF_HAS_UI = 0x80
59;----------------- Characteristics ------------
60
61[VBoxTAP.ndi]
62 CopyFiles = VBoxTAP.driver, VBoxTAP.files
63 AddReg = VBoxTAP.reg
64 AddReg = VBoxTAP.params.reg
65 Characteristics = 0x81 ; NCF_PHYSICAL | NCF_HAS_UI
66 BusType = 1
67
68[VBoxTAP.ndi.Services]
69 AddService = VBoxTAP, 2, VBoxTAP.service
70
71[VBoxTAP.reg]
72 HKR, Ndi, Service, 0, "VBoxTAP"
73 HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
74 HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
75 HKR, , Manufacturer, 0, "%Provider%"
76 HKR, , ProductName, 0, "%DeviceDescription%"
77
78[VBoxTAP.params.reg]
79 HKR, Ndi\params\MTU, ParamDesc, 0, "MTU"
80 HKR, Ndi\params\MTU, Type, 0, "int"
81 HKR, Ndi\params\MTU, Default, 0, "1500"
82 HKR, Ndi\params\MTU, Optional, 0, "0"
83 HKR, Ndi\params\MTU, Min, 0, "100"
84 HKR, Ndi\params\MTU, Max, 0, "16384"
85 HKR, Ndi\params\MTU, Step, 0, "1"
86 HKR, Ndi\params\MediaStatus, ParamDesc, 0, "Media Status"
87 HKR, Ndi\params\MediaStatus, Type, 0, "enum"
88 HKR, Ndi\params\MediaStatus, Default, 0, "0"
89 HKR, Ndi\params\MediaStatus, Optional, 0, "0"
90 HKR, Ndi\params\MediaStatus\enum, "0", 0, "Application Controlled"
91 HKR, Ndi\params\MediaStatus\enum, "1", 0, "Always Connected"
92 HKR, Ndi\params\MAC, ParamDesc, 0, "MAC Address"
93 HKR, Ndi\params\MAC, Type, 0, "edit"
94 HKR, Ndi\params\MAC, Optional, 0, "1"
95 HKR, Ndi\params\AllowNonAdmin, ParamDesc, 0, "Non-Admin Access"
96 HKR, Ndi\params\AllowNonAdmin, Type, 0, "enum"
97 HKR, Ndi\params\AllowNonAdmin, Default, 0, "1"
98 HKR, Ndi\params\AllowNonAdmin, Optional, 0, "0"
99 HKR, Ndi\params\AllowNonAdmin\enum, "0", 0, "Not Allowed"
100 HKR, Ndi\params\AllowNonAdmin\enum, "1", 0, "Allowed"
101
102
103;----------------------------------------------------------------
104; Service Section
105;----------------------------------------------------------------
106
107;---------- Service Type -------------
108; SERVICE_KERNEL_DRIVER = 0x01
109; SERVICE_WIN32_OWN_PROCESS = 0x10
110;---------- Service Type -------------
111
112;---------- Start Mode ---------------
113; SERVICE_BOOT_START = 0x0
114; SERVICE_SYSTEM_START = 0x1
115; SERVICE_AUTO_START = 0x2
116; SERVICE_DEMAND_START = 0x3
117; SERVICE_DISABLED = 0x4
118;---------- Start Mode ---------------
119
120[VBoxTAP.service]
121 DisplayName = %DeviceDescription%
122 ServiceType = 1
123 StartType = 3
124 ErrorControl = 1
125 LoadOrderGroup = NDIS
126 ServiceBinary = %12%\VBoxTAP.sys
127
128;-----------------------------------------------------------------
129; File Installation
130;-----------------------------------------------------------------
131
132;----------------- Copy Flags ------------
133; COPYFLG_NOSKIP = 0x02
134; COPYFLG_NOVERSIONCHECK = 0x04
135;----------------- Copy Flags ------------
136
137; SourceDisksNames
138; diskid = description[, [tagfile] [, <unused>, subdir]]
139; 1 = "Intel Driver Disk 1",e100bex.sys,,
140
141[SourceDisksNames]
142 1 = %DeviceDescription%, VBoxTAP.sys
143
144; SourceDisksFiles
145; filename_on_source = diskID[, [subdir][, size]]
146; e100bex.sys = 1,, ; on distribution disk 1
147
148[SourceDisksFiles]
149VBoxTAP.sys = 1
150
151[DestinationDirs]
152 VBoxTAP.files = 11
153 VBoxTAP.driver = 12
154
155[VBoxTAP.files]
156; TapPanel.cpl,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK
157; cipsrvr.exe,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK
158
159[VBoxTAP.driver]
160 VBoxTAP.sys,,,6 ; COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK
161
162;---------------------------------------------------------------
163; End
164;---------------------------------------------------------------
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette