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