NeoRndis.inf

From Openmoko

(Difference between revisions)
Jump to: navigation, search
 
Line 1: Line 1:
   ; MS-Windows driver config matching some basic modes of the
+
   ; Neo1973 USB Ethernet/RNDIS driver
  ; Linux-USB Ethernet/RNDIS gadget firmware:
+
 
   ;
 
   ;
   ; - RNDIS plus CDC Ethernet ... this may be familiar as a DOCSIS
+
   ; from the Template INF for a USB Remote NDIS Device
   ;   cable modem profile, and supports most non-Microsoft USB hosts
+
   ; by Microsoft Corporation
 
   ;
 
   ;
   ; - RNDIS plus CDC Subset ... used by hardware that incapable of
+
   ; for Win2k you will need to download
   ;   full CDC Ethernet support.
+
  ; http://www.microsoft.com/whdc/device/network/NDIS/rndis.mspx
 +
   ; and use "rndismpy.sys" and "usb8023y.sys"
 +
  ; from "RNDIS USB kit 2005\Drivers\x86fre\sys files"
 
   ;
 
   ;
   ; Microsoft only directly supports RNDIS drivers, and bundled them into XP.
+
   ; see http://wiki.openmoko.org/wiki/Neo1973_and_Windows
  ; The Microsoft "Remote NDIS USB Driver Kit" is currently found at:
+
   ;  for further instructions
  ;  http://www.microsoft.com/whdc/hwdev/resources/HWservices/rndis.mspx
+
    
+
 
    
 
    
 
   [Version]
 
   [Version]
   Signature          = "$CHICAGO$"
+
   Signature          = "$Windows NT$"
 
   Class              = Net
 
   Class              = Net
 
   ClassGUID          = {4d36e972-e325-11ce-bfc1-08002be10318}
 
   ClassGUID          = {4d36e972-e325-11ce-bfc1-08002be10318}
 
   Provider            = %Linux%
 
   Provider            = %Linux%
  Compatible          = 1
+
   DriverVer          = 08/03/2007,1.0.0.0
  MillenniumPreferred = .ME
+
   DriverVer          = 03/30/2004,0.0.0.0
+
 
   ; catalog file would be used by WHQL
 
   ; catalog file would be used by WHQL
 
   ;CatalogFile        = Linux.cat
 
   ;CatalogFile        = Linux.cat
Line 28: Line 25:
 
    
 
    
 
   [LinuxDevices]
 
   [LinuxDevices]
  ; NetChip IDs, used by both firmware modes
 
 
   %LinuxDevice%    = RNDIS, USB\VID_1457&PID_5122
 
   %LinuxDevice%    = RNDIS, USB\VID_1457&PID_5122
 
    
 
    
Line 36: Line 32:
 
   [ControlFlags]
 
   [ControlFlags]
 
   ExcludeFromSelect=*
 
   ExcludeFromSelect=*
 
 
  ; Windows 98, Windows 98 Second Edition specific sections --------
 
 
 
  [RNDIS]
 
  DeviceID        = usb8023
 
  MaxInstance    = 512
 
  DriverVer          = 03/30/2004,0.0.0.0
 
  AddReg          = RNDIS_AddReg_98, RNDIS_AddReg_Common
 
 
 
  [RNDIS_AddReg_98]
 
  HKR, ,              DevLoader,        0, *ndis
 
  HKR, ,              DeviceVxDs,      0, usb8023.sys
 
  HKR, NDIS,          LogDriverName,    0, "usb8023"
 
  HKR, NDIS,          MajorNdisVersion, 1, 5
 
  HKR, NDIS,          MinorNdisVersion, 1, 0
 
  HKR, Ndi\Interfaces, DefUpper,        0, "ndis3,ndis4,ndis5"
 
  HKR, Ndi\Interfaces, DefLower,        0, "ethernet"
 
  HKR, Ndi\Interfaces, UpperRange,      0, "ndis3,ndis4,ndis5"
 
  HKR, Ndi\Interfaces, LowerRange,      0, "ethernet"
 
  HKR, Ndi\Install,    ndis3,            0, "RNDIS_Install_98"
 
  HKR, Ndi\Install,    ndis4,            0, "RNDIS_Install_98"
 
  HKR, Ndi\Install,    ndis5,            0, "RNDIS_Install_98"
 
  HKR, Ndi,            DeviceId,        0, "USB\VID_1457&PID_5122"
 
 
 
  [RNDIS_Install_98]
 
  CopyFiles=RNDIS_CopyFiles_98
 
 
 
  [RNDIS_CopyFiles_98]
 
  usb8023.sys, usb8023w.sys, , 0
 
  rndismp.sys, rndismpw.sys, , 0
 
 
 
  ; Windows Millennium Edition specific sections --------------------
 
 
 
  [RNDIS.ME]
 
  DeviceID        = usb8023
 
  MaxInstance    = 512
 
  DriverVer          = 03/30/2004,0.0.0.0
 
  AddReg          = RNDIS_AddReg_ME, RNDIS_AddReg_Common
 
  Characteristics = 0x84  ; NCF_PHYSICAL + NCF_HAS_UI
 
  BusType        = 15
 
 
 
  [RNDIS_AddReg_ME]
 
  HKR, ,              DevLoader,        0, *ndis
 
  HKR, ,              DeviceVxDs,      0, usb8023.sys
 
  HKR, NDIS,          LogDriverName,    0, "usb8023"
 
  HKR, NDIS,          MajorNdisVersion, 1, 5
 
  HKR, NDIS,          MinorNdisVersion, 1, 0
 
  HKR, Ndi\Interfaces, DefUpper,        0, "ndis3,ndis4,ndis5"
 
  HKR, Ndi\Interfaces, DefLower,        0, "ethernet"
 
  HKR, Ndi\Interfaces, UpperRange,      0, "ndis3,ndis4,ndis5"
 
  HKR, Ndi\Interfaces, LowerRange,      0, "ethernet"
 
  HKR, Ndi\Install,    ndis3,            0, "RNDIS_Install_ME"
 
  HKR, Ndi\Install,    ndis4,            0, "RNDIS_Install_ME"
 
  HKR, Ndi\Install,    ndis5,            0, "RNDIS_Install_ME"
 
  HKR, Ndi,            DeviceId,        0, "USB\VID_1457&PID_5122"
 
 
 
  [RNDIS_Install_ME]
 
  CopyFiles=RNDIS_CopyFiles_ME
 
 
 
  [RNDIS_CopyFiles_ME]
 
  usb8023.sys, usb8023m.sys, , 0
 
  rndismp.sys, rndismpm.sys, , 0
 
 
    
 
    
 
   ; Windows 2000 specific sections ---------------------------------
 
   ; Windows 2000 specific sections ---------------------------------
Line 104: Line 38:
 
   Characteristics = 0x84  ; NCF_PHYSICAL + NCF_HAS_UI
 
   Characteristics = 0x84  ; NCF_PHYSICAL + NCF_HAS_UI
 
   BusType        = 15
 
   BusType        = 15
   DriverVer           = 03/30/2004,0.0.0.0
+
   DriverVer       = 08/03/2007,1.0.0.0
   AddReg          = RNDIS_AddReg_NT, RNDIS_AddReg_Common
+
   AddReg          = RNDIS_AddReg_NT, RNDIS_AddReg_WIN2K
 
   CopyFiles      = RNDIS_CopyFiles_NT
 
   CopyFiles      = RNDIS_CopyFiles_NT
 
    
 
    
 +
  ; DO NOT MODIFY THE SERVICE NAME
 
   [RNDIS.NT.Services]
 
   [RNDIS.NT.Services]
   AddService = USB_RNDIS, 2, RNDIS_ServiceInst_NT, RNDIS_EventLog
+
   AddService = USB_RNDISY, 2, RNDIS_ServiceInst_NT, RNDIS_EventLog
 
    
 
    
 
   [RNDIS_CopyFiles_NT]
 
   [RNDIS_CopyFiles_NT]
   ; no rename of files on Windows 2000, use the 'k' names as is
+
   ; no rename of files on Windows 2000, use the 'y' names as is
   usb8023k.sys, , , 0  
+
   usb8023y.sys, , , 0  
   rndismpk.sys, , , 0  
+
   rndismpy.sys, , , 0  
 
    
 
    
 
   [RNDIS_ServiceInst_NT]
 
   [RNDIS_ServiceInst_NT]
Line 121: Line 56:
 
   StartType      = 3  
 
   StartType      = 3  
 
   ErrorControl    = 1  
 
   ErrorControl    = 1  
   ServiceBinary  = %12%\usb8023k.sys     
+
   ServiceBinary  = %12%\usb8023y.sys     
 
   LoadOrderGroup  = NDIS
 
   LoadOrderGroup  = NDIS
 
   AddReg          = RNDIS_WMI_AddReg_NT
 
   AddReg          = RNDIS_WMI_AddReg_NT
 
    
 
    
 
   [RNDIS_WMI_AddReg_NT]
 
   [RNDIS_WMI_AddReg_NT]
   HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismpk.sys"
+
   HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismpy.sys"
 
    
 
    
 
   ; Windows XP specific sections -----------------------------------
 
   ; Windows XP specific sections -----------------------------------
Line 133: Line 68:
 
   Characteristics = 0x84  ; NCF_PHYSICAL + NCF_HAS_UI
 
   Characteristics = 0x84  ; NCF_PHYSICAL + NCF_HAS_UI
 
   BusType        = 15
 
   BusType        = 15
   DriverVer           = 03/30/2004,0.0.0.0
+
   DriverVer       = 08/03/2007,1.0.0.0
   AddReg          = RNDIS_AddReg_NT, RNDIS_AddReg_Common
+
   AddReg          = RNDIS_AddReg_XP
 +
  include        = netrndis.inf
 +
  needs          = Usb_Rndis.ndi
 +
 
 
   ; no copyfiles - the files are already in place
 
   ; no copyfiles - the files are already in place
 
    
 
    
 
   [RNDIS.NT.5.1.Services]
 
   [RNDIS.NT.5.1.Services]
   AddService      = USB_RNDIS, 2, RNDIS_ServiceInst_51, RNDIS_EventLog
+
   include     = netrndis.inf
 
+
   needs       = Usb_Rndis.ndi.Services
  [RNDIS_ServiceInst_51]
+
  DisplayName     = %ServiceDisplayName%
+
   ServiceType    = 1
+
  StartType       = 3
+
  ErrorControl    = 1
+
  ServiceBinary  = %12%\usb8023.sys   
+
  LoadOrderGroup  = NDIS
+
  AddReg          = RNDIS_WMI_AddReg_51
+
 
+
  [RNDIS_WMI_AddReg_51]
+
  HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismp.sys"
+
 
    
 
    
   ; Windows 2000 and Windows XP common sections --------------------
+
   ; Windows 2000 sections  
 
    
 
    
 +
  ; DO NOT MODIFY ServiceName
 
   [RNDIS_AddReg_NT]
 
   [RNDIS_AddReg_NT]
   HKR, Ndi,              Service,        0, "USB_RNDIS"
+
   HKR, Ndi,              Service,        0, "USB_RNDISY"
 
   HKR, Ndi\Interfaces,    UpperRange,    0, "ndis5"  
 
   HKR, Ndi\Interfaces,    UpperRange,    0, "ndis5"  
 
   HKR, Ndi\Interfaces,    LowerRange,    0, "ethernet"
 
   HKR, Ndi\Interfaces,    LowerRange,    0, "ethernet"
 +
 
 +
  [RNDIS_AddReg_WIN2K]
 +
  HKR, ,                  ReclaimRecv,    0x00010001, 1
 +
  HKR, NDI\params\NetworkAddress, ParamDesc,  0, %NetworkAddress%
 +
  HKR, NDI\params\NetworkAddress, type,      0, "edit"
 +
  HKR, NDI\params\NetworkAddress, LimitText,  0, "12"
 +
  HKR, NDI\params\NetworkAddress, UpperCase,  0, "1"
 +
  HKR, NDI\params\NetworkAddress, default,    0, " "
 +
  HKR, NDI\params\NetworkAddress, optional,  0, "1"
 
    
 
    
 
   [RNDIS_EventLog]
 
   [RNDIS_EventLog]
Line 166: Line 103:
 
   HKR, , TypesSupported,  0x00010001, 7
 
   HKR, , TypesSupported,  0x00010001, 7
 
    
 
    
   ; Common Sections -------------------------------------------------
+
   ; An optional Property to demonstrate adding advanced properties on Windows XP
 +
  [RNDIS_AddReg_XP]
 +
  HKR, NDI\params\XPProperty, ParamDesc,  0, %NetworkAddress%
 +
  HKR, NDI\params\XPProperty, type,      0, "edit"
 +
  HKR, NDI\params\XPProperty, LimitText,  0, "12"
 +
  HKR, NDI\params\XPProperty, UpperCase,  0, "1"
 +
  HKR, NDI\params\XPProperty, default,    0, " "
 +
  HKR, NDI\params\XPProperty, optional,  0, "1"
 
    
 
    
  [RNDIS_AddReg_Common]
 
  HKR, NDI\params\NetworkAddress, ParamDesc,  0, %NetworkAddress%
 
  HKR, NDI\params\NetworkAddress, type,      0, "edit"
 
  HKR, NDI\params\NetworkAddress, LimitText,  0, "12"
 
  HKR, NDI\params\NetworkAddress, UpperCase,  0, "1"
 
  HKR, NDI\params\NetworkAddress, default,    0, " "
 
  HKR, NDI\params\NetworkAddress, optional,  0, "1"
 
 
    
 
    
 
   [SourceDisksNames]
 
   [SourceDisksNames]
Line 180: Line 117:
 
    
 
    
 
   [SourceDisksFiles]
 
   [SourceDisksFiles]
   usb8023m.sys=1
+
   usb8023y.sys=1
   rndismpm.sys=1
+
   rndismpy.sys=1
  usb8023w.sys=1
+
  rndismpw.sys=1
+
  usb8023k.sys=1
+
  rndismpk.sys=1
+
 
    
 
    
 
   [DestinationDirs]
 
   [DestinationDirs]
  RNDIS_CopyFiles_98    = 10, system32/drivers
 
  RNDIS_CopyFiles_ME    = 10, system32/drivers
 
 
   RNDIS_CopyFiles_NT    = 12
 
   RNDIS_CopyFiles_NT    = 12
 
    
 
    
 +
  ; DO NOT CHANGE ServiceDisplayName
 
   [Strings]
 
   [Strings]
 
   ServiceDisplayName    = "USB Remote NDIS Network Device Driver"
 
   ServiceDisplayName    = "USB Remote NDIS Network Device Driver"
 
   NetworkAddress        = "Network Address"
 
   NetworkAddress        = "Network Address"
 
   Linux                = "Linux Developer Community"
 
   Linux                = "Linux Developer Community"
   LinuxDevice          = "Linux USB Ethernet/RNDIS Gadget"
+
   LinuxDevice          = "Neo1973 USB Ethernet/RNDIS"
 
   SourceDisk            = "Ethernet/RNDIS Gadget Driver Install Disk"
 
   SourceDisk            = "Ethernet/RNDIS Gadget Driver Install Disk"

Revision as of 12:21, 22 February 2008

 ; Neo1973 USB Ethernet/RNDIS driver
 ;
 ; from the Template INF for a USB Remote NDIS Device
 ; by Microsoft Corporation
 ;
 ; for Win2k you will need to download 
 ; http://www.microsoft.com/whdc/device/network/NDIS/rndis.mspx
 ; and use "rndismpy.sys" and "usb8023y.sys"
 ; from "RNDIS USB kit 2005\Drivers\x86fre\sys files"
 ;
 ;  see http://wiki.openmoko.org/wiki/Neo1973_and_Windows
 ;  for further instructions
 
 [Version]
 Signature           = "$Windows NT$"
 Class               = Net
 ClassGUID           = {4d36e972-e325-11ce-bfc1-08002be10318}
 Provider            = %Linux%
 DriverVer           = 08/03/2007,1.0.0.0
 ; catalog file would be used by WHQL
 ;CatalogFile         = Linux.cat
 
 [Manufacturer]
 %Linux%          = LinuxDevices,NT.5.1
 
 [LinuxDevices]
 %LinuxDevice%    = RNDIS, USB\VID_1457&PID_5122
 
 [LinuxDevices.NT.5.1]
 %LinuxDevice%    = RNDIS.NT.5.1, USB\VID_1457&PID_5122
 
 [ControlFlags]
 ExcludeFromSelect=*
 
 ; Windows 2000 specific sections ---------------------------------
 
 [RNDIS.NT]
 Characteristics = 0x84   ; NCF_PHYSICAL + NCF_HAS_UI
 BusType         = 15
 DriverVer       = 08/03/2007,1.0.0.0
 AddReg          = RNDIS_AddReg_NT, RNDIS_AddReg_WIN2K
 CopyFiles       = RNDIS_CopyFiles_NT
 
 ; DO NOT MODIFY THE SERVICE NAME
 [RNDIS.NT.Services]
 AddService = USB_RNDISY, 2, RNDIS_ServiceInst_NT, RNDIS_EventLog
 
 [RNDIS_CopyFiles_NT]
 ; no rename of files on Windows 2000, use the 'y' names as is
 usb8023y.sys, , , 0 
 rndismpy.sys, , , 0 
 
 [RNDIS_ServiceInst_NT]
 DisplayName     = %ServiceDisplayName%
 ServiceType     = 1 
 StartType       = 3 
 ErrorControl    = 1 
 ServiceBinary   = %12%\usb8023y.sys    
 LoadOrderGroup  = NDIS
 AddReg          = RNDIS_WMI_AddReg_NT
 
 [RNDIS_WMI_AddReg_NT]
 HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismpy.sys"
 
 ; Windows XP specific sections -----------------------------------
 
 [RNDIS.NT.5.1]
 Characteristics = 0x84   ; NCF_PHYSICAL + NCF_HAS_UI
 BusType         = 15
 DriverVer       = 08/03/2007,1.0.0.0
 AddReg          = RNDIS_AddReg_XP
 include         = netrndis.inf
 needs           = Usb_Rndis.ndi
 
 ; no copyfiles - the files are already in place
 
 [RNDIS.NT.5.1.Services]
 include     = netrndis.inf
 needs       = Usb_Rndis.ndi.Services
 
 ; Windows 2000 sections 
 
 ; DO NOT MODIFY ServiceName
 [RNDIS_AddReg_NT]
 HKR, Ndi,               Service,        0, "USB_RNDISY"
 HKR, Ndi\Interfaces,    UpperRange,     0, "ndis5" 
 HKR, Ndi\Interfaces,    LowerRange,     0, "ethernet"
 
 [RNDIS_AddReg_WIN2K]
 HKR, ,                  ReclaimRecv,    0x00010001, 1
 HKR, NDI\params\NetworkAddress, ParamDesc,  0, %NetworkAddress%
 HKR, NDI\params\NetworkAddress, type,       0, "edit"
 HKR, NDI\params\NetworkAddress, LimitText,  0, "12"
 HKR, NDI\params\NetworkAddress, UpperCase,  0, "1"
 HKR, NDI\params\NetworkAddress, default,    0, " "
 HKR, NDI\params\NetworkAddress, optional,   0, "1"
 
 [RNDIS_EventLog]
 AddReg = RNDIS_EventLog_AddReg
 
 [RNDIS_EventLog_AddReg]
 HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
 HKR, , TypesSupported,   0x00010001, 7
 
 ; An optional Property to demonstrate adding advanced properties on Windows XP 
 [RNDIS_AddReg_XP]
 HKR, NDI\params\XPProperty, ParamDesc,  0, %NetworkAddress%
 HKR, NDI\params\XPProperty, type,       0, "edit"
 HKR, NDI\params\XPProperty, LimitText,  0, "12"
 HKR, NDI\params\XPProperty, UpperCase,  0, "1"
 HKR, NDI\params\XPProperty, default,    0, " "
 HKR, NDI\params\XPProperty, optional,   0, "1"
 
 
 [SourceDisksNames]
 1=%SourceDisk%,,1
 
 [SourceDisksFiles]
 usb8023y.sys=1
 rndismpy.sys=1
 
 [DestinationDirs]
 RNDIS_CopyFiles_NT    = 12
 
 ; DO NOT CHANGE ServiceDisplayName
 [Strings]
 ServiceDisplayName    = "USB Remote NDIS Network Device Driver"
 NetworkAddress        = "Network Address"
 Linux                 = "Linux Developer Community"
 LinuxDevice           = "Neo1973 USB Ethernet/RNDIS"
 SourceDisk            = "Ethernet/RNDIS Gadget Driver Install Disk"
Personal tools
 ; Neo1973 USB Ethernet/RNDIS driver
 ;
 ; from the Template INF for a USB Remote NDIS Device
 ; by Microsoft Corporation
 ;
 ; for Win2k you will need to download 
 ; http://www.microsoft.com/whdc/device/network/NDIS/rndis.mspx
 ; and use "rndismpy.sys" and "usb8023y.sys"
 ; from "RNDIS USB kit 2005\Drivers\x86fre\sys files"
 ;
 ;  see http://wiki.openmoko.org/wiki/Neo1973_and_Windows
 ;  for further instructions
 
 [Version]
 Signature           = "$Windows NT$"
 Class               = Net
 ClassGUID           = {4d36e972-e325-11ce-bfc1-08002be10318}
 Provider            = %Linux%
 DriverVer           = 08/03/2007,1.0.0.0
 ; catalog file would be used by WHQL
 ;CatalogFile         = Linux.cat
 
 [Manufacturer]
 %Linux%          = LinuxDevices,NT.5.1
 
 [LinuxDevices]
 %LinuxDevice%    = RNDIS, USB\VID_1457&PID_5122
 
 [LinuxDevices.NT.5.1]
 %LinuxDevice%    = RNDIS.NT.5.1, USB\VID_1457&PID_5122
 
 [ControlFlags]
 ExcludeFromSelect=*
 
 ; Windows 2000 specific sections ---------------------------------
 
 [RNDIS.NT]
 Characteristics = 0x84   ; NCF_PHYSICAL + NCF_HAS_UI
 BusType         = 15
 DriverVer       = 08/03/2007,1.0.0.0
 AddReg          = RNDIS_AddReg_NT, RNDIS_AddReg_WIN2K
 CopyFiles       = RNDIS_CopyFiles_NT
 
 ; DO NOT MODIFY THE SERVICE NAME
 [RNDIS.NT.Services]
 AddService = USB_RNDISY, 2, RNDIS_ServiceInst_NT, RNDIS_EventLog
 
 [RNDIS_CopyFiles_NT]
 ; no rename of files on Windows 2000, use the 'y' names as is
 usb8023y.sys, , , 0 
 rndismpy.sys, , , 0 
 
 [RNDIS_ServiceInst_NT]
 DisplayName     = %ServiceDisplayName%
 ServiceType     = 1 
 StartType       = 3 
 ErrorControl    = 1 
 ServiceBinary   = %12%\usb8023y.sys    
 LoadOrderGroup  = NDIS
 AddReg          = RNDIS_WMI_AddReg_NT
 
 [RNDIS_WMI_AddReg_NT]
 HKR, , MofImagePath, 0x00020000, "System32\drivers\rndismpy.sys"
 
 ; Windows XP specific sections -----------------------------------
 
 [RNDIS.NT.5.1]
 Characteristics = 0x84   ; NCF_PHYSICAL + NCF_HAS_UI
 BusType         = 15
 DriverVer       = 08/03/2007,1.0.0.0
 AddReg          = RNDIS_AddReg_XP
 include         = netrndis.inf
 needs           = Usb_Rndis.ndi
 
 ; no copyfiles - the files are already in place
 
 [RNDIS.NT.5.1.Services]
 include     = netrndis.inf
 needs       = Usb_Rndis.ndi.Services
 
 ; Windows 2000 sections 
 
 ; DO NOT MODIFY ServiceName
 [RNDIS_AddReg_NT]
 HKR, Ndi,               Service,        0, "USB_RNDISY"
 HKR, Ndi\Interfaces,    UpperRange,     0, "ndis5" 
 HKR, Ndi\Interfaces,    LowerRange,     0, "ethernet"
 
 [RNDIS_AddReg_WIN2K]
 HKR, ,                  ReclaimRecv,    0x00010001, 1
 HKR, NDI\params\NetworkAddress, ParamDesc,  0, %NetworkAddress%
 HKR, NDI\params\NetworkAddress, type,       0, "edit"
 HKR, NDI\params\NetworkAddress, LimitText,  0, "12"
 HKR, NDI\params\NetworkAddress, UpperCase,  0, "1"
 HKR, NDI\params\NetworkAddress, default,    0, " "
 HKR, NDI\params\NetworkAddress, optional,   0, "1"
 
 [RNDIS_EventLog]
 AddReg = RNDIS_EventLog_AddReg
 
 [RNDIS_EventLog_AddReg]
 HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
 HKR, , TypesSupported,   0x00010001, 7
 
 ; An optional Property to demonstrate adding advanced properties on Windows XP 
 [RNDIS_AddReg_XP]
 HKR, NDI\params\XPProperty, ParamDesc,  0, %NetworkAddress%
 HKR, NDI\params\XPProperty, type,       0, "edit"
 HKR, NDI\params\XPProperty, LimitText,  0, "12"
 HKR, NDI\params\XPProperty, UpperCase,  0, "1"
 HKR, NDI\params\XPProperty, default,    0, " "
 HKR, NDI\params\XPProperty, optional,   0, "1"
 
 
 [SourceDisksNames]
 1=%SourceDisk%,,1
 
 [SourceDisksFiles]
 usb8023y.sys=1
 rndismpy.sys=1
 
 [DestinationDirs]
 RNDIS_CopyFiles_NT    = 12
 
 ; DO NOT CHANGE ServiceDisplayName
 [Strings]
 ServiceDisplayName    = "USB Remote NDIS Network Device Driver"
 NetworkAddress        = "Network Address"
 Linux                 = "Linux Developer Community"
 LinuxDevice           = "Neo1973 USB Ethernet/RNDIS"
 SourceDisk            = "Ethernet/RNDIS Gadget Driver Install Disk"