| 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]
|
|---|
| 14 | Signature = "$CHICAGO$"
|
|---|
| 15 | Class = Net
|
|---|
| 16 | ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
|
|---|
| 17 | Provider = %Linux%
|
|---|
| 18 | Compatible = 1
|
|---|
| 19 | MillenniumPreferred = .ME
|
|---|
| 20 | DriverVer = 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]
|
|---|
| 35 | ExcludeFromSelect=*
|
|---|
| 36 |
|
|---|
| 37 | ; Windows 98, Windows 98 Second Edition specific sections --------
|
|---|
| 38 |
|
|---|
| 39 | [RNDIS]
|
|---|
| 40 | DeviceID = usb8023
|
|---|
| 41 | MaxInstance = 512
|
|---|
| 42 | DriverVer = 03/30/2004,0.0.0.0
|
|---|
| 43 | AddReg = RNDIS_AddReg_98, RNDIS_AddReg_Common
|
|---|
| 44 |
|
|---|
| 45 | [RNDIS_AddReg_98]
|
|---|
| 46 | HKR, , DevLoader, 0, *ndis
|
|---|
| 47 | HKR, , DeviceVxDs, 0, usb8023.sys
|
|---|
| 48 | HKR, NDIS, LogDriverName, 0, "usb8023"
|
|---|
| 49 | HKR, NDIS, MajorNdisVersion, 1, 5
|
|---|
| 50 | HKR, NDIS, MinorNdisVersion, 1, 0
|
|---|
| 51 | HKR, Ndi\Interfaces, DefUpper, 0, "ndis3,ndis4,ndis5"
|
|---|
| 52 | HKR, Ndi\Interfaces, DefLower, 0, "ethernet"
|
|---|
| 53 | HKR, Ndi\Interfaces, UpperRange, 0, "ndis3,ndis4,ndis5"
|
|---|
| 54 | HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
|
|---|
| 55 | HKR, Ndi\Install, ndis3, 0, "RNDIS_Install_98"
|
|---|
| 56 | HKR, Ndi\Install, ndis4, 0, "RNDIS_Install_98"
|
|---|
| 57 | HKR, Ndi\Install, ndis5, 0, "RNDIS_Install_98"
|
|---|
| 58 | HKR, Ndi, DeviceId, 0, "USB\VID_0525&PID_a4a2"
|
|---|
| 59 |
|
|---|
| 60 | [RNDIS_Install_98]
|
|---|
| 61 | CopyFiles=RNDIS_CopyFiles_98
|
|---|
| 62 |
|
|---|
| 63 | [RNDIS_CopyFiles_98]
|
|---|
| 64 | usb8023.sys, usb8023w.sys, , 0
|
|---|
| 65 | rndismp.sys, rndismpw.sys, , 0
|
|---|
| 66 |
|
|---|
| 67 | ; Windows Millennium Edition specific sections --------------------
|
|---|
| 68 |
|
|---|
| 69 | [RNDIS.ME]
|
|---|
| 70 | DeviceID = usb8023
|
|---|
| 71 | MaxInstance = 512
|
|---|
| 72 | DriverVer = 03/30/2004,0.0.0.0
|
|---|
| 73 | AddReg = RNDIS_AddReg_ME, RNDIS_AddReg_Common
|
|---|
| 74 | Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI
|
|---|
| 75 | BusType = 15
|
|---|
| 76 |
|
|---|
| 77 | [RNDIS_AddReg_ME]
|
|---|
| 78 | HKR, , DevLoader, 0, *ndis
|
|---|
| 79 | HKR, , DeviceVxDs, 0, usb8023.sys
|
|---|
| 80 | HKR, NDIS, LogDriverName, 0, "usb8023"
|
|---|
| 81 | HKR, NDIS, MajorNdisVersion, 1, 5
|
|---|
| 82 | HKR, NDIS, MinorNdisVersion, 1, 0
|
|---|
| 83 | HKR, Ndi\Interfaces, DefUpper, 0, "ndis3,ndis4,ndis5"
|
|---|
| 84 | HKR, Ndi\Interfaces, DefLower, 0, "ethernet"
|
|---|
| 85 | HKR, Ndi\Interfaces, UpperRange, 0, "ndis3,ndis4,ndis5"
|
|---|
| 86 | HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
|
|---|
| 87 | HKR, Ndi\Install, ndis3, 0, "RNDIS_Install_ME"
|
|---|
| 88 | HKR, Ndi\Install, ndis4, 0, "RNDIS_Install_ME"
|
|---|
| 89 | HKR, Ndi\Install, ndis5, 0, "RNDIS_Install_ME"
|
|---|
| 90 | HKR, Ndi, DeviceId, 0, "USB\VID_0525&PID_a4a2"
|
|---|
| 91 |
|
|---|
| 92 | [RNDIS_Install_ME]
|
|---|
| 93 | CopyFiles=RNDIS_CopyFiles_ME
|
|---|
| 94 |
|
|---|
| 95 | [RNDIS_CopyFiles_ME]
|
|---|
| 96 | usb8023.sys, usb8023m.sys, , 0
|
|---|
| 97 | rndismp.sys, rndismpm.sys, , 0
|
|---|
| 98 |
|
|---|
| 99 | ; Windows 2000 specific sections ---------------------------------
|
|---|
| 100 |
|
|---|
| 101 | [RNDIS.NT]
|
|---|
| 102 | Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI
|
|---|
| 103 | BusType = 15
|
|---|
| 104 | DriverVer = 03/30/2004,0.0.0.0
|
|---|
| 105 | AddReg = RNDIS_AddReg_NT, RNDIS_AddReg_Common
|
|---|
| 106 | CopyFiles = RNDIS_CopyFiles_NT
|
|---|
| 107 |
|
|---|
| 108 | [RNDIS.NT.Services]
|
|---|
| 109 | AddService = 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
|
|---|
| 113 | usb8023k.sys, , , 0
|
|---|
| 114 | rndismpk.sys, , , 0
|
|---|
| 115 |
|
|---|
| 116 | [RNDIS_ServiceInst_NT]
|
|---|
| 117 | DisplayName = %ServiceDisplayName%
|
|---|
| 118 | ServiceType = 1
|
|---|
| 119 | StartType = 3
|
|---|
| 120 | ErrorControl = 1
|
|---|
| 121 | ServiceBinary = %12%\usb8023k.sys
|
|---|
| 122 | LoadOrderGroup = NDIS
|
|---|
| 123 | AddReg = RNDIS_WMI_AddReg_NT
|
|---|
| 124 |
|
|---|
| 125 | [RNDIS_WMI_AddReg_NT]
|
|---|
| 126 | HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismpk.sys"
|
|---|
| 127 |
|
|---|
| 128 | ; Windows XP specific sections -----------------------------------
|
|---|
| 129 |
|
|---|
| 130 | [RNDIS.NT.5.1]
|
|---|
| 131 | Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI
|
|---|
| 132 | BusType = 15
|
|---|
| 133 | DriverVer = 03/30/2004,0.0.0.0
|
|---|
| 134 | AddReg = RNDIS_AddReg_NT, RNDIS_AddReg_Common
|
|---|
| 135 | ; no copyfiles - the files are already in place
|
|---|
| 136 |
|
|---|
| 137 | [RNDIS.NT.5.1.Services]
|
|---|
| 138 | AddService = USB_RNDIS, 2, RNDIS_ServiceInst_51, RNDIS_EventLog
|
|---|
| 139 |
|
|---|
| 140 | [RNDIS_ServiceInst_51]
|
|---|
| 141 | DisplayName = %ServiceDisplayName%
|
|---|
| 142 | ServiceType = 1
|
|---|
| 143 | StartType = 3
|
|---|
| 144 | ErrorControl = 1
|
|---|
| 145 | ServiceBinary = %12%\usb8023.sys
|
|---|
| 146 | LoadOrderGroup = NDIS
|
|---|
| 147 | AddReg = RNDIS_WMI_AddReg_51
|
|---|
| 148 |
|
|---|
| 149 | [RNDIS_WMI_AddReg_51]
|
|---|
| 150 | HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismp.sys"
|
|---|
| 151 |
|
|---|
| 152 | ; Windows 2000 and Windows XP common sections --------------------
|
|---|
| 153 |
|
|---|
| 154 | [RNDIS_AddReg_NT]
|
|---|
| 155 | HKR, Ndi, Service, 0, "USB_RNDIS"
|
|---|
| 156 | HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
|
|---|
| 157 | HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
|
|---|
| 158 |
|
|---|
| 159 | [RNDIS_EventLog]
|
|---|
| 160 | AddReg = RNDIS_EventLog_AddReg
|
|---|
| 161 |
|
|---|
| 162 | [RNDIS_EventLog_AddReg]
|
|---|
| 163 | HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
|
|---|
| 164 | HKR, , TypesSupported, 0x00010001, 7
|
|---|
| 165 |
|
|---|
| 166 | ; Common Sections -------------------------------------------------
|
|---|
| 167 |
|
|---|
| 168 | [RNDIS_AddReg_Common]
|
|---|
| 169 | HKR, NDI\params\NetworkAddress, ParamDesc, 0, %NetworkAddress%
|
|---|
| 170 | HKR, NDI\params\NetworkAddress, type, 0, "edit"
|
|---|
| 171 | HKR, NDI\params\NetworkAddress, LimitText, 0, "12"
|
|---|
| 172 | HKR, NDI\params\NetworkAddress, UpperCase, 0, "1"
|
|---|
| 173 | HKR, NDI\params\NetworkAddress, default, 0, " "
|
|---|
| 174 | HKR, NDI\params\NetworkAddress, optional, 0, "1"
|
|---|
| 175 |
|
|---|
| 176 | [SourceDisksNames]
|
|---|
| 177 | 1=%SourceDisk%,,1
|
|---|
| 178 |
|
|---|
| 179 | [SourceDisksFiles]
|
|---|
| 180 | usb8023m.sys=1
|
|---|
| 181 | rndismpm.sys=1
|
|---|
| 182 | usb8023w.sys=1
|
|---|
| 183 | rndismpw.sys=1
|
|---|
| 184 | usb8023k.sys=1
|
|---|
| 185 | rndismpk.sys=1
|
|---|
| 186 |
|
|---|
| 187 | [DestinationDirs]
|
|---|
| 188 | RNDIS_CopyFiles_98 = 10, system32/drivers
|
|---|
| 189 | RNDIS_CopyFiles_ME = 10, system32/drivers
|
|---|
| 190 | RNDIS_CopyFiles_NT = 12
|
|---|
| 191 |
|
|---|
| 192 | [Strings]
|
|---|
| 193 | ServiceDisplayName = "USB Remote NDIS Network Device Driver"
|
|---|
| 194 | NetworkAddress = "Network Address"
|
|---|
| 195 | Linux = "Linux Developer Community"
|
|---|
| 196 | LinuxDevice = "Linux USB Ethernet/RNDIS Gadget"
|
|---|
| 197 | SourceDisk = "Ethernet/RNDIS Gadget Driver Install Disk" |
|---|