mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Transform ReactOS to a Plug-and-Play system. Step 1: add some .inf files
svn path=/trunk/; revision=18445
This commit is contained in:
parent
6dc4621495
commit
48b9916f22
7 changed files with 273 additions and 1 deletions
47
reactos/media/inf/acpi.inf
Normal file
47
reactos/media/inf/acpi.inf
Normal file
|
@ -0,0 +1,47 @@
|
|||
; ACPI.INF
|
||||
|
||||
; Installation file for ACPI driver
|
||||
|
||||
[Version]
|
||||
Signature = "$Windows NT$"
|
||||
;Signature = "$ReactOS$"
|
||||
LayoutFile = layout.inf
|
||||
Class = System
|
||||
ClassGUID = {4D36E97D-E325-11CE-BFC1-08002BE10318}
|
||||
Provider = %ReactOS%
|
||||
DriverVer = 10/11/2005,1.01.0.0
|
||||
|
||||
[DestinationDirs]
|
||||
DefaultDestDir = 12
|
||||
|
||||
[Manufacturer]
|
||||
%GenericMfg% = GenericMfg
|
||||
|
||||
[GenericMfg]
|
||||
%*PNP0C08.DeviceDesc% = ACPI_Inst,*PNP0C08
|
||||
|
||||
;------------------------------ ACPI DRIVER -----------------------------
|
||||
|
||||
[ACPI_Inst.NT]
|
||||
CopyFiles = ACPI_CopyFiles.NT
|
||||
|
||||
[ACPI_CopyFiles.NT]
|
||||
acpi.sys
|
||||
|
||||
[ACPI_Inst.NT.Services]
|
||||
AddService = acpi, 0x00000002, acpi_Service_Inst
|
||||
|
||||
[acpi_Service_Inst]
|
||||
ServiceType = 1
|
||||
StartType = 0
|
||||
ErrorControl = 1
|
||||
ServiceBinary = %12%\acpi.sys
|
||||
LoadOrderGroup = Boot Bus Extender
|
||||
|
||||
;-------------------------------- STRINGS -------------------------------
|
||||
|
||||
[Strings]
|
||||
ReactOS = "ReactOS Team"
|
||||
|
||||
GenericMfg = "(Generic system devices)"
|
||||
*PNP0C08.DeviceDesc = "ACPI hardware"
|
|
@ -1,8 +1,15 @@
|
|||
<group>
|
||||
<installfile base="inf">acpi.inf</installfile>
|
||||
<installfile base="inf">cdrom.inf</installfile>
|
||||
<installfile base="inf">layout.inf</installfile>
|
||||
<installfile base="inf">machine.inf</installfile>
|
||||
<installfile base="inf">mouse.inf</installfile>
|
||||
<installfile base="inf">NET_NIC.inf</installfile>
|
||||
<installfile base="inf">netamd.inf</installfile>
|
||||
<installfile base="inf">netisa.inf</installfile>
|
||||
<installfile base="inf">ports.inf</installfile>
|
||||
<installfile base="inf">scsi.inf</installfile>
|
||||
<installfile base="inf">syssetup.inf</installfile>
|
||||
<installfile base="inf">usbport.inf</installfile>
|
||||
<installfile base="inf">usbport.inf</installfile>
|
||||
<installfile base="inf">usbstor.inf</installfile>
|
||||
<group>
|
57
reactos/media/inf/machine.inf
Normal file
57
reactos/media/inf/machine.inf
Normal file
|
@ -0,0 +1,57 @@
|
|||
; MACHINE.INF
|
||||
|
||||
; Installation file for machine internal stuff
|
||||
|
||||
[Version]
|
||||
Signature = "$Windows NT$"
|
||||
;Signature = "$ReactOS$"
|
||||
LayoutFile = layout.inf
|
||||
Class = System
|
||||
ClassGUID = {4D36E97D-E325-11CE-BFC1-08002BE10318}
|
||||
Provider = %ReactOS%
|
||||
DriverVer = 10/11/2005,1.01.0.0
|
||||
|
||||
[DestinationDirs]
|
||||
DefaultDestDir = 12
|
||||
|
||||
[ClassInstall32.NT]
|
||||
AddReg = SystemClass.NT.AddReg
|
||||
|
||||
[SystemClass.NT.AddReg]
|
||||
HKR, , , 0, %SystemClassName%
|
||||
HKR, , Icon, 0, "-27"
|
||||
|
||||
[Manufacturer]
|
||||
%GenericMfg% = GenericMfg
|
||||
|
||||
[GenericMfg]
|
||||
%*PNP0A03.DeviceDesc% = PCI_Inst,*PNP0A03
|
||||
%PCI\CC_0604.DeviceDesc% = PCI_Inst,PCI\CC_0604
|
||||
|
||||
;---------------------------- PCI BUS DRIVER ----------------------------
|
||||
|
||||
[PCI_Inst.NT]
|
||||
CopyFiles = PCI_CopyFiles.NT
|
||||
|
||||
[PCI_CopyFiles.NT]
|
||||
pci.sys
|
||||
|
||||
[PCI_Inst.NT.Services]
|
||||
AddService = pci, 0x00000002, pci_Service_Inst
|
||||
|
||||
[pci_Service_Inst]
|
||||
ServiceType = 1
|
||||
StartType = 0
|
||||
ErrorControl = 3
|
||||
ServiceBinary = %12%\pci.sys
|
||||
LoadOrderGroup = Boot Bus Extender
|
||||
|
||||
;-------------------------------- STRINGS -------------------------------
|
||||
|
||||
[Strings]
|
||||
ReactOS = "ReactOS Team"
|
||||
SystemClassName = "System devices"
|
||||
|
||||
GenericMfg = "(Generic system devices)"
|
||||
*PNP0A03.DeviceDesc = "PCI bus"
|
||||
PCI\CC_0604.DeviceDesc = "Standard PCI to PCI bridge"
|
61
reactos/media/inf/netamd.inf
Normal file
61
reactos/media/inf/netamd.inf
Normal file
|
@ -0,0 +1,61 @@
|
|||
; NETAMD.INF
|
||||
|
||||
; Installation file for PCI network cards with VendorID=1022 (AMD)
|
||||
|
||||
[Version]
|
||||
Signature = "$Windows NT$"
|
||||
;Signature = "$ReactOS$"
|
||||
LayoutFile = layout.inf
|
||||
Class = Net
|
||||
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
|
||||
Provider = %ReactOS%
|
||||
DriverVer = 10/08/2005,1.01.0.0
|
||||
|
||||
[DestinationDirs]
|
||||
DefaultDestDir = 12
|
||||
|
||||
[Manufacturer]
|
||||
%AMDMfg% = AMDMfg
|
||||
|
||||
[AMDMfg]
|
||||
%PCNET.DeviceDesc% = PCNet_Inst,PCI\VEN_1022&DEV_2000
|
||||
|
||||
;----------------------------- PCNET DRIVER -----------------------------
|
||||
|
||||
[PCNet_Inst.NT]
|
||||
AddReg = PCNet_AddReg.NT
|
||||
CopyFiles = PCNet_CopyFiles.NT
|
||||
|
||||
[PCNet_AddReg.NT]
|
||||
HKR,,BUS_TO_SCAN,,"ALL"
|
||||
HKR,,BUSTIMER,,"0"
|
||||
HKR,,BUSTYPE,,"5"
|
||||
HKR,,EXTPHY,,"0"
|
||||
HKR,,FDUP,,"0"
|
||||
HKR,,LED0,,"10000"
|
||||
HKR,,LED1,,"10000"
|
||||
HKR,,LED2,,"10000"
|
||||
HKR,,LED3,,"10000"
|
||||
HKR,,MPMODE,,"0"
|
||||
HKR,,TP,,"1"
|
||||
|
||||
[PCNet_CopyFiles.NT]
|
||||
pcnet.sys
|
||||
|
||||
[PCNet_Inst.NT.Services]
|
||||
AddService = PCNet, 0x00000002, PCNet_Service_Inst
|
||||
|
||||
[PCNet_Service_Inst]
|
||||
ServiceType = 1
|
||||
StartType = 3
|
||||
ErrorControl = 0
|
||||
ServiceBinary = %12%\pcnet.sys
|
||||
LoadOrderGroup = NDIS
|
||||
|
||||
;-------------------------------- STRINGS -------------------------------
|
||||
|
||||
[Strings]
|
||||
ReactOS = "ReactOS Team"
|
||||
|
||||
AMDMfg = "Advanced Micro Devices (AMD)"
|
||||
PCNET.DeviceDesc = "AMD 79c970 [PCnet32 LANCE]"
|
53
reactos/media/inf/netisa.inf
Normal file
53
reactos/media/inf/netisa.inf
Normal file
|
@ -0,0 +1,53 @@
|
|||
; NETISA.INF
|
||||
|
||||
; Installation file for ISA network cards
|
||||
|
||||
[Version]
|
||||
Signature = "$Windows NT$"
|
||||
;Signature = "$ReactOS$"
|
||||
LayoutFile = layout.inf
|
||||
Class = Net
|
||||
ClassGUID = {4D36E972-E325-11CE-BFC1-08002BE10318}
|
||||
Provider = %ReactOS%
|
||||
DriverVer = 10/08/2005,1.01.0.0
|
||||
|
||||
[DestinationDirs]
|
||||
DefaultDestDir = 12
|
||||
|
||||
[Manufacturer]
|
||||
%GenericMfg% = GenericMfg
|
||||
|
||||
[GenericMfg]
|
||||
%*PNP80D6.DeviceDesc% = NE2000_Inst,*PNP80D6
|
||||
|
||||
;---------------------------- NE2000 DRIVER -----------------------------
|
||||
|
||||
[NE2000_Inst.NT]
|
||||
AddReg = NE2000_AddReg.NT
|
||||
CopyFiles = NE2000_CopyFiles.NT
|
||||
|
||||
[NE2000_AddReg.NT]
|
||||
HKR,,Port,0x00000000,"c100"
|
||||
HKR,,Irq,0x00000000,"B"
|
||||
HKR,,NetworkAddress,0x00000000,"001122334455"
|
||||
|
||||
[NE2000_CopyFiles.NT]
|
||||
ne2000.sys
|
||||
|
||||
[NE2000_Inst.NT.Services]
|
||||
AddService = ne2000, 0x00000002, ne2000_Service_Inst
|
||||
|
||||
[ne2000_Service_Inst]
|
||||
ServiceType = 1
|
||||
StartType = 3
|
||||
ErrorControl = 1
|
||||
ServiceBinary = %12%\ne2000.sys
|
||||
LoadOrderGroup = NDIS
|
||||
|
||||
;-------------------------------- STRINGS -------------------------------
|
||||
|
||||
[Strings]
|
||||
ReactOS = "ReactOS Team"
|
||||
|
||||
GenericMfg = "(Generic network cards)"
|
||||
*PNP80D6.DeviceDesc = "NE2000 Compatible"
|
|
@ -15,6 +15,7 @@ ClassGUID={00000000-0000-0000-0000-000000000000}
|
|||
; MS uses netnovel.inf as class-installer INF for NICs
|
||||
; we use a separate one to keep things clean
|
||||
cdrom.inf
|
||||
machine.inf
|
||||
mouse.inf
|
||||
NET_NIC.inf
|
||||
ports.inf
|
||||
|
|
46
reactos/media/inf/usbstor.inf
Normal file
46
reactos/media/inf/usbstor.inf
Normal file
|
@ -0,0 +1,46 @@
|
|||
; USBSTOR.INF
|
||||
|
||||
; Installation file for USB storage devices
|
||||
|
||||
[Version]
|
||||
Signature = "$Windows NT$"
|
||||
;Signature = "$ReactOS$"
|
||||
LayoutFile = layout.inf
|
||||
Class = USB
|
||||
ClassGUID = {36FC9E60-C465-11CF-8056-444553540000}
|
||||
Provider = %ReactOS%
|
||||
DriverVer = 10/02/2005,1.01.0.0
|
||||
|
||||
[DestinationDirs]
|
||||
DefaultDestDir = 12
|
||||
|
||||
[Manufacturer]
|
||||
%GenericMfg% = GenericMfg
|
||||
|
||||
[GenericMfg]
|
||||
%GenericBulkOnlyTransport.DeviceDesc% = USBBulkOnly_Inst,USB\Class_08&SubClass_06&Prot_50
|
||||
|
||||
;-------------------------- USB STORAGE DRIVER --------------------------
|
||||
|
||||
[USBBulkOnly_Inst.NT]
|
||||
CopyFiles = USBBulkOnly_CopyFiles.NT
|
||||
|
||||
[USBBulkOnly_CopyFiles.NT]
|
||||
usbstor.sys
|
||||
|
||||
[USBBulkOnly_Inst.NT.Services]
|
||||
AddService = usbstor, 0x00000002, usbstor_Service_Inst
|
||||
|
||||
[usbstor_Service_Inst]
|
||||
ServiceType = 1
|
||||
StartType = 3
|
||||
ErrorControl = 1
|
||||
ServiceBinary = %12%\usbstor.sys
|
||||
|
||||
;-------------------------------- STRINGS -------------------------------
|
||||
|
||||
[Strings]
|
||||
ReactOS = "ReactOS Team"
|
||||
|
||||
GenericMfg = "(Generic USB devices)"
|
||||
GenericBulkOnlyTransport.DeviceDesc = "USB Storage device"
|
Loading…
Reference in a new issue