Documentation/Networking: linux.2.inf

File linux.2.inf, 5.7 KB (added by Xavio, 2 years ago)

For Windows 2000/XP/2003 Server

Line 
1; MS-Windows driver config matching some basic modes of the
2; Linux-USB Ethernet/RNDIS gadget firmware:
3;
4; - RNDIS plus CDC Ethernet ... this may be familiar as a DOCSIS
5; cable modem profile, and supports most non-Microsoft USB hosts
6;
7; - RNDIS plus CDC Subset ... used by hardware that incapable of
8; full CDC Ethernet support.
9;
10; Microsoft only directly supports RNDIS drivers, and bundled them into XP.
11; The Microsoft "Remote NDIS USB Driver Kit" is currently found at:
12; http://www.microsoft.com/whdc/hwdev/resources/HWservices/rndis.mspx
13[Version]
14Signature = "$CHICAGO$"
15Class = Net
16ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
17Provider = %Linux%
18Compatible = 1
19MillenniumPreferred = .ME
20DriverVer = 03/30/2004,0.0.0.0
21; catalog file would be used by WHQL
22;CatalogFile = Linux.cat
23
24[Manufacturer]
25%Linux% = LinuxDevices,NT.5.1
26
27[LinuxDevices]
28; NetChip IDs, used by both firmware modes
29%LinuxDevice% = RNDIS, USB\VID_0525&PID_a4a2
30
31[LinuxDevices.NT.5.1]
32%LinuxDevice% = RNDIS.NT.5.1, USB\VID_0525&PID_a4a2
33
34[ControlFlags]
35ExcludeFromSelect=*
36
37; Windows 98, Windows 98 Second Edition specific sections --------
38
39[RNDIS]
40DeviceID = usb8023
41MaxInstance = 512
42DriverVer = 03/30/2004,0.0.0.0
43AddReg = RNDIS_AddReg_98, RNDIS_AddReg_Common
44
45[RNDIS_AddReg_98]
46HKR, , DevLoader, 0, *ndis
47HKR, , DeviceVxDs, 0, usb8023.sys
48HKR, NDIS, LogDriverName, 0, "usb8023"
49HKR, NDIS, MajorNdisVersion, 1, 5
50HKR, NDIS, MinorNdisVersion, 1, 0
51HKR, Ndi\Interfaces, DefUpper, 0, "ndis3,ndis4,ndis5"
52HKR, Ndi\Interfaces, DefLower, 0, "ethernet"
53HKR, Ndi\Interfaces, UpperRange, 0, "ndis3,ndis4,ndis5"
54HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
55HKR, Ndi\Install, ndis3, 0, "RNDIS_Install_98"
56HKR, Ndi\Install, ndis4, 0, "RNDIS_Install_98"
57HKR, Ndi\Install, ndis5, 0, "RNDIS_Install_98"
58HKR, Ndi, DeviceId, 0, "USB\VID_0525&PID_a4a2"
59
60[RNDIS_Install_98]
61CopyFiles=RNDIS_CopyFiles_98
62
63[RNDIS_CopyFiles_98]
64usb8023.sys, usb8023w.sys, , 0
65rndismp.sys, rndismpw.sys, , 0
66
67; Windows Millennium Edition specific sections --------------------
68
69[RNDIS.ME]
70DeviceID = usb8023
71MaxInstance = 512
72DriverVer = 03/30/2004,0.0.0.0
73AddReg = RNDIS_AddReg_ME, RNDIS_AddReg_Common
74Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI
75BusType = 15
76
77[RNDIS_AddReg_ME]
78HKR, , DevLoader, 0, *ndis
79HKR, , DeviceVxDs, 0, usb8023.sys
80HKR, NDIS, LogDriverName, 0, "usb8023"
81HKR, NDIS, MajorNdisVersion, 1, 5
82HKR, NDIS, MinorNdisVersion, 1, 0
83HKR, Ndi\Interfaces, DefUpper, 0, "ndis3,ndis4,ndis5"
84HKR, Ndi\Interfaces, DefLower, 0, "ethernet"
85HKR, Ndi\Interfaces, UpperRange, 0, "ndis3,ndis4,ndis5"
86HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
87HKR, Ndi\Install, ndis3, 0, "RNDIS_Install_ME"
88HKR, Ndi\Install, ndis4, 0, "RNDIS_Install_ME"
89HKR, Ndi\Install, ndis5, 0, "RNDIS_Install_ME"
90HKR, Ndi, DeviceId, 0, "USB\VID_0525&PID_a4a2"
91
92[RNDIS_Install_ME]
93CopyFiles=RNDIS_CopyFiles_ME
94
95[RNDIS_CopyFiles_ME]
96usb8023.sys, usb8023m.sys, , 0
97rndismp.sys, rndismpm.sys, , 0
98
99; Windows 2000 specific sections ---------------------------------
100
101[RNDIS.NT]
102Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI
103BusType = 15
104DriverVer = 03/30/2004,0.0.0.0
105AddReg = RNDIS_AddReg_NT, RNDIS_AddReg_Common
106CopyFiles = RNDIS_CopyFiles_NT
107
108[RNDIS.NT.Services]
109AddService = USB_RNDIS, 2, RNDIS_ServiceInst_NT, RNDIS_EventLog
110
111[RNDIS_CopyFiles_NT]
112; no rename of files on Windows 2000, use the 'k' names as is
113usb8023k.sys, , , 0
114rndismpk.sys, , , 0
115
116[RNDIS_ServiceInst_NT]
117DisplayName = %ServiceDisplayName%
118ServiceType = 1
119StartType = 3
120ErrorControl = 1
121ServiceBinary = %12%\usb8023k.sys
122LoadOrderGroup = NDIS
123AddReg = RNDIS_WMI_AddReg_NT
124
125[RNDIS_WMI_AddReg_NT]
126HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismpk.sys"
127
128; Windows XP specific sections -----------------------------------
129
130[RNDIS.NT.5.1]
131Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI
132BusType = 15
133DriverVer = 03/30/2004,0.0.0.0
134AddReg = RNDIS_AddReg_NT, RNDIS_AddReg_Common
135; no copyfiles - the files are already in place
136
137[RNDIS.NT.5.1.Services]
138AddService = USB_RNDIS, 2, RNDIS_ServiceInst_51, RNDIS_EventLog
139
140[RNDIS_ServiceInst_51]
141DisplayName = %ServiceDisplayName%
142ServiceType = 1
143StartType = 3
144ErrorControl = 1
145ServiceBinary = %12%\usb8023.sys
146LoadOrderGroup = NDIS
147AddReg = RNDIS_WMI_AddReg_51
148
149[RNDIS_WMI_AddReg_51]
150HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismp.sys"
151
152; Windows 2000 and Windows XP common sections --------------------
153
154[RNDIS_AddReg_NT]
155HKR, Ndi, Service, 0, "USB_RNDIS"
156HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
157HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
158
159[RNDIS_EventLog]
160AddReg = RNDIS_EventLog_AddReg
161
162[RNDIS_EventLog_AddReg]
163HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
164HKR, , TypesSupported, 0x00010001, 7
165
166; Common Sections -------------------------------------------------
167
168[RNDIS_AddReg_Common]
169HKR, NDI\params\NetworkAddress, ParamDesc, 0, %NetworkAddress%
170HKR, NDI\params\NetworkAddress, type, 0, "edit"
171HKR, NDI\params\NetworkAddress, LimitText, 0, "12"
172HKR, NDI\params\NetworkAddress, UpperCase, 0, "1"
173HKR, NDI\params\NetworkAddress, default, 0, " "
174HKR, NDI\params\NetworkAddress, optional, 0, "1"
175
176[SourceDisksNames]
1771=%SourceDisk%,,1
178
179[SourceDisksFiles]
180usb8023m.sys=1
181rndismpm.sys=1
182usb8023w.sys=1
183rndismpw.sys=1
184usb8023k.sys=1
185rndismpk.sys=1
186
187[DestinationDirs]
188RNDIS_CopyFiles_98 = 10, system32/drivers
189RNDIS_CopyFiles_ME = 10, system32/drivers
190RNDIS_CopyFiles_NT = 12
191
192[Strings]
193ServiceDisplayName = "USB Remote NDIS Network Device Driver"
194NetworkAddress = "Network Address"
195Linux = "Linux Developer Community"
196LinuxDevice = "Linux USB Ethernet/RNDIS Gadget"
197SourceDisk = "Ethernet/RNDIS Gadget Driver Install Disk"