Michal Nazarewicz | 90eef5b | 2010-06-21 13:57:05 +0200 | [diff] [blame] | 1 | ; Based on template INF file found at |
Alexander A. Klimov | ffeb1e9 | 2020-07-19 18:09:10 +0200 | [diff] [blame] | 2 | ; <https://msdn.microsoft.com/en-us/library/ff570620.aspx> |
Michal Nazarewicz | 90eef5b | 2010-06-21 13:57:05 +0200 | [diff] [blame] | 3 | ; which was: |
| 4 | ; Copyright (c) Microsoft Corporation |
| 5 | ; and released under the MLPL as found at: |
| 6 | ; <http://msdn.microsoft.com/en-us/cc300389.aspx#MLPL>. |
| 7 | ; For use only on Windows operating systems. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 8 | |
| 9 | [Version] |
Michal Nazarewicz | 90eef5b | 2010-06-21 13:57:05 +0200 | [diff] [blame] | 10 | Signature = "$Windows NT$" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | Class = Net |
| 12 | ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318} |
| 13 | Provider = %Linux% |
Michal Nazarewicz | 90eef5b | 2010-06-21 13:57:05 +0200 | [diff] [blame] | 14 | DriverVer = 06/21/2006,6.0.6000.16384 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | |
| 16 | [Manufacturer] |
Michal Nazarewicz | 90eef5b | 2010-06-21 13:57:05 +0200 | [diff] [blame] | 17 | %Linux% = LinuxDevices,NTx86,NTamd64,NTia64 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 18 | |
Michal Nazarewicz | 90eef5b | 2010-06-21 13:57:05 +0200 | [diff] [blame] | 19 | ; Decoration for x86 architecture |
| 20 | [LinuxDevices.NTx86] |
Michal Nazarewicz | 7701846 | 2011-04-26 19:08:36 +0200 | [diff] [blame] | 21 | %LinuxDevice% = RNDIS.NT.5.1, USB\VID_0525&PID_a4a2, USB\VID_1d6b&PID_0104&MI_00 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 22 | |
Michal Nazarewicz | 90eef5b | 2010-06-21 13:57:05 +0200 | [diff] [blame] | 23 | ; Decoration for x64 architecture |
| 24 | [LinuxDevices.NTamd64] |
Michal Nazarewicz | 7701846 | 2011-04-26 19:08:36 +0200 | [diff] [blame] | 25 | %LinuxDevice% = RNDIS.NT.5.1, USB\VID_0525&PID_a4a2, USB\VID_1d6b&PID_0104&MI_00 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 26 | |
Michal Nazarewicz | 90eef5b | 2010-06-21 13:57:05 +0200 | [diff] [blame] | 27 | ; Decoration for ia64 architecture |
| 28 | [LinuxDevices.NTia64] |
Michal Nazarewicz | 7701846 | 2011-04-26 19:08:36 +0200 | [diff] [blame] | 29 | %LinuxDevice% = RNDIS.NT.5.1, USB\VID_0525&PID_a4a2, USB\VID_1d6b&PID_0104&MI_00 |
Michal Nazarewicz | 90eef5b | 2010-06-21 13:57:05 +0200 | [diff] [blame] | 30 | |
| 31 | ;@@@ This is the common setting for setup |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 32 | [ControlFlags] |
| 33 | ExcludeFromSelect=* |
| 34 | |
Michal Nazarewicz | 90eef5b | 2010-06-21 13:57:05 +0200 | [diff] [blame] | 35 | ; DDInstall section |
| 36 | ; References the in-build Netrndis.inf |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | [RNDIS.NT.5.1] |
Michal Nazarewicz | 90eef5b | 2010-06-21 13:57:05 +0200 | [diff] [blame] | 38 | Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI |
| 39 | BusType = 15 |
| 40 | ; NEVER REMOVE THE FOLLOWING REFERENCE FOR NETRNDIS.INF |
| 41 | include = netrndis.inf |
| 42 | needs = Usb_Rndis.ndi |
| 43 | AddReg = Rndis_AddReg_Vista |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 44 | |
Michal Nazarewicz | 90eef5b | 2010-06-21 13:57:05 +0200 | [diff] [blame] | 45 | ; DDInstal.Services section |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | [RNDIS.NT.5.1.Services] |
Michal Nazarewicz | 90eef5b | 2010-06-21 13:57:05 +0200 | [diff] [blame] | 47 | include = netrndis.inf |
| 48 | needs = Usb_Rndis.ndi.Services |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 49 | |
Michal Nazarewicz | 90eef5b | 2010-06-21 13:57:05 +0200 | [diff] [blame] | 50 | ; Optional registry settings. You can modify as needed. |
| 51 | [RNDIS_AddReg_Vista] |
| 52 | HKR, NDI\params\VistaProperty, ParamDesc, 0, %Vista_Property% |
| 53 | HKR, NDI\params\VistaProperty, type, 0, "edit" |
| 54 | HKR, NDI\params\VistaProperty, LimitText, 0, "12" |
| 55 | HKR, NDI\params\VistaProperty, UpperCase, 0, "1" |
| 56 | HKR, NDI\params\VistaProperty, default, 0, " " |
| 57 | HKR, NDI\params\VistaProperty, optional, 0, "1" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 58 | |
Michal Nazarewicz | 90eef5b | 2010-06-21 13:57:05 +0200 | [diff] [blame] | 59 | ; No sys copyfiles - the sys files are already in-build |
| 60 | ; (part of the operating system). |
| 61 | ; We do not support XP SP1-, 2003 SP1-, ME, 9x. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 62 | |
| 63 | [Strings] |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 64 | Linux = "Linux Developer Community" |
| 65 | LinuxDevice = "Linux USB Ethernet/RNDIS Gadget" |
Michal Nazarewicz | 90eef5b | 2010-06-21 13:57:05 +0200 | [diff] [blame] | 66 | Vista_Property = "Optional Vista Property" |