Addition of USB files
This commit is contained in:
parent
a520fe4646
commit
219846f408
36 changed files with 11046 additions and 0 deletions
125
cpu/avr/dev/usb/INF/AtmelRNDIS.inf
Normal file
125
cpu/avr/dev/usb/INF/AtmelRNDIS.inf
Normal file
|
@ -0,0 +1,125 @@
|
|||
;
|
||||
; Template INF for a USB Remote NDIS Device
|
||||
; Copyright (c) Microsoft Corporation
|
||||
;
|
||||
|
||||
[Version]
|
||||
Signature = "$Windows NT$"
|
||||
Class = Net
|
||||
ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
|
||||
Provider = %Atmel%
|
||||
DriverVer = 06/20/2008,0.0.0.3
|
||||
;CatalogFile = Atmel.cat
|
||||
|
||||
[Manufacturer]
|
||||
%Atmel% = AtmelDevices,NT.5.1
|
||||
|
||||
[AtmelDevices]
|
||||
%AtmelDevice% = RNDIS, USB\VID_03EB&PID_2019
|
||||
|
||||
[AtmelDevices.NT.5.1]
|
||||
%AtmelDevice% = RNDIS.NT.5.1, USB\VID_03EB&PID_2019
|
||||
|
||||
[ControlFlags]
|
||||
ExcludeFromSelect=*
|
||||
|
||||
; Windows 2000 specific sections ---------------------------------
|
||||
|
||||
[RNDIS.NT]
|
||||
Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI
|
||||
BusType = 15
|
||||
DriverVer = 06/20/2008,0.0.0.2
|
||||
AddReg = RNDIS_AddReg_NT, RNDIS_AddReg_WIN2K,RNDIS_AddReg_Vista
|
||||
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 = 06/20/2008,0.0.0.2
|
||||
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
|
||||
|
||||
|
||||
[RNDIS_AddReg_XP]
|
||||
HKR, NDI\params\rawmode, ParamDesc, 0, %RAWMODE%
|
||||
HKR, NDI\params\rawmode, base, 0, "10"
|
||||
HKR, NDI\params\rawmode, type, 0, "enum"
|
||||
HKR, NDI\params\rawmode, default, 0, "0"
|
||||
HKR, NDI\params\rawmode\enum, "0", 0, "Off"
|
||||
HKR, NDI\params\rawmode\enum, "1", 0, "On"
|
||||
|
||||
|
||||
|
||||
[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 Y Network Device Driver"
|
||||
NetworkAddress = "Network Address"
|
||||
Atmel = "Atmel Corporation"
|
||||
AtmelDevice = "Atmel RAVEN USB Stick"
|
||||
SourceDisk = "Atmel USB Network Driver Install Disk"
|
||||
RAWMODE = "Raw 802.15.4 Mode"
|
||||
|
124
cpu/avr/dev/usb/INF/CompositeAtmelRNDIS.inf
Normal file
124
cpu/avr/dev/usb/INF/CompositeAtmelRNDIS.inf
Normal file
|
@ -0,0 +1,124 @@
|
|||
;
|
||||
; Template INF for a USB Remote NDIS Device
|
||||
; Copyright (c) Microsoft Corporation
|
||||
;
|
||||
|
||||
[Version]
|
||||
Signature = "$Windows NT$"
|
||||
Class = Net
|
||||
ClassGUID = {4d36e972-e325-11ce-bfc1-08002be10318}
|
||||
Provider = %Atmel%
|
||||
DriverVer = 06/20/2008,0.0.0.3
|
||||
;CatalogFile = Atmel.cat
|
||||
|
||||
[Manufacturer]
|
||||
%Atmel% = AtmelDevices,NT.5.1
|
||||
|
||||
[AtmelDevices]
|
||||
%AtmelDevice% = RNDIS, USB\VID_03EB&PID_2021&MI_00
|
||||
|
||||
[AtmelDevices.NT.5.1]
|
||||
%AtmelDevice% = RNDIS.NT.5.1, USB\VID_03EB&PID_2021&MI_00
|
||||
|
||||
[ControlFlags]
|
||||
ExcludeFromSelect=*
|
||||
|
||||
; Windows 2000 specific sections ---------------------------------
|
||||
|
||||
[RNDIS.NT]
|
||||
Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI
|
||||
BusType = 15
|
||||
DriverVer = 06/20/2008,0.0.0.2
|
||||
AddReg = RNDIS_AddReg_NT, RNDIS_AddReg_WIN2K,RNDIS_AddReg_Vista
|
||||
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 = 06/20/2008,0.0.0.2
|
||||
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
|
||||
|
||||
|
||||
[RNDIS_AddReg_XP]
|
||||
[RNDIS_AddReg_XP]
|
||||
HKR, NDI\params\rawmode, ParamDesc, 0, %RAWMODE%
|
||||
HKR, NDI\params\rawmode, base, 0, "10"
|
||||
HKR, NDI\params\rawmode, type, 0, "enum"
|
||||
HKR, NDI\params\rawmode, default, 0, "0"
|
||||
HKR, NDI\params\rawmode\enum, "0", 0, "Off"
|
||||
HKR, NDI\params\rawmode\enum, "1", 0, "On"
|
||||
|
||||
|
||||
[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 Y Network Device Driver"
|
||||
NetworkAddress = "Network Address"
|
||||
Atmel = "Atmel Corporation"
|
||||
AtmelDevice = "Atmel RAVEN USB Stick"
|
||||
SourceDisk = "Atmel USB Network Driver Install Disk"
|
||||
RAWMODE = "Raw 802.15.4 Mode"
|
53
cpu/avr/dev/usb/INF/CompositeAtmelVCP.inf
Normal file
53
cpu/avr/dev/usb/INF/CompositeAtmelVCP.inf
Normal file
|
@ -0,0 +1,53 @@
|
|||
; Windows 2000 and XP setup File for AT89C5131 demo
|
||||
|
||||
[Version]
|
||||
Signature="$Windows NT$"
|
||||
Class=Ports
|
||||
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
|
||||
|
||||
Provider=%ATMEL%
|
||||
LayoutFile=layout.inf
|
||||
DriverVer=10/15/1999,5.0.2153.1
|
||||
|
||||
[Manufacturer]
|
||||
%ATMEL%=ATMEL
|
||||
|
||||
[ATMEL]
|
||||
%ATMEL_CDC%=Reader, USB\VID_03EB&PID_2021&MI_02
|
||||
|
||||
|
||||
[Reader_Install.NTx86]
|
||||
;Windows2000
|
||||
|
||||
[DestinationDirs]
|
||||
DefaultDestDir=12
|
||||
Reader.NT.Copy=12
|
||||
|
||||
[Reader.NT]
|
||||
CopyFiles=Reader.NT.Copy
|
||||
AddReg=Reader.NT.AddReg
|
||||
|
||||
[Reader.NT.Copy]
|
||||
usbser.sys
|
||||
|
||||
[Reader.NT.AddReg]
|
||||
HKR,,DevLoader,,*ntkern
|
||||
HKR,,NTMPDriver,,usbser.sys
|
||||
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
|
||||
|
||||
[Reader.NT.Services]
|
||||
AddService = usbser, 0x00000002, Service_Inst
|
||||
|
||||
[Service_Inst]
|
||||
DisplayName = %Serial.SvcDesc%
|
||||
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
|
||||
StartType = 3 ; SERVICE_DEMAND_START
|
||||
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
|
||||
ServiceBinary = %12%\usbser.sys
|
||||
LoadOrderGroup = Base
|
||||
|
||||
[Strings]
|
||||
ATMEL = "ATMEL, Inc."
|
||||
ATMEL_CDC = "Atmel Raven USB Debug Port"
|
||||
Serial.SvcDesc = "USB Serial emulation driver"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue