mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 14:43:02 +00:00
[AUDIO-BRINGUP]
- Trying to activate the software bus driver. Needs more work svn path=/branches/audio-bringup/; revision=50034
This commit is contained in:
parent
7a95ed1cfa
commit
fe9ca5c028
6 changed files with 16 additions and 3 deletions
|
@ -1255,6 +1255,11 @@ HKLM,"SYSTEM\CurrentControlSet\Services\Packet","ImagePath",0x00020000,"system32
|
||||||
HKLM,"SYSTEM\CurrentControlSet\Services\Packet","Start",0x00010001,0x00000004
|
HKLM,"SYSTEM\CurrentControlSet\Services\Packet","Start",0x00010001,0x00000004
|
||||||
HKLM,"SYSTEM\CurrentControlSet\Services\Packet","Type",0x00010001,0x00000001
|
HKLM,"SYSTEM\CurrentControlSet\Services\Packet","Type",0x00010001,0x00000001
|
||||||
|
|
||||||
|
; Software BUS Driver
|
||||||
|
HKLM,"SYSTEM\CurrentControlSet\Services\SWENUM","ErrorControl",0x00010001,0x00000001
|
||||||
|
HKLM,"SYSTEM\CurrentControlSet\Services\SWENUM","Group",0x00000000,"Boot Bus
|
||||||
|
HKLM,"SYSTEM\CurrentControlSet\Services\SWENUM","Tag",0x00010001,0x00000002
|
||||||
|
|
||||||
; PCI Bus driver
|
; PCI Bus driver
|
||||||
HKLM,"SYSTEM\CurrentControlSet\Services\Pci","ErrorControl",0x00010001,0x00000001
|
HKLM,"SYSTEM\CurrentControlSet\Services\Pci","ErrorControl",0x00010001,0x00000001
|
||||||
HKLM,"SYSTEM\CurrentControlSet\Services\Pci","Group",0x00000000,"Boot Bus
|
HKLM,"SYSTEM\CurrentControlSet\Services\Pci","Group",0x00000000,"Boot Bus
|
||||||
|
|
|
@ -514,6 +514,7 @@ drivers\input\mouclass\mouclass.sys 2
|
||||||
drivers\input\sermouse\sermouse.sys 2
|
drivers\input\sermouse\sermouse.sys 2
|
||||||
|
|
||||||
drivers\ksfilter\ks\ks.sys 2
|
drivers\ksfilter\ks\ks.sys 2
|
||||||
|
drivers\ksfilter\swenum\swenum.sys 2
|
||||||
;drivers\multimedia\bdasup\bdasup.sys 2
|
;drivers\multimedia\bdasup\bdasup.sys 2
|
||||||
|
|
||||||
drivers\network\afd\afd.sys 2
|
drivers\network\afd\afd.sys 2
|
||||||
|
|
|
@ -36,6 +36,7 @@ kbdclass.sys=,,,,,,x,,,,,,4
|
||||||
l_intl.nls=,,,,,,,,,,,,2
|
l_intl.nls=,,,,,,,,,,,,2
|
||||||
ntfs.sys=,,,,,,,,,,,,4
|
ntfs.sys=,,,,,,,,,,,,4
|
||||||
pci.sys=,,,,,,,,,,,,4
|
pci.sys=,,,,,,,,,,,,4
|
||||||
|
swenum.sys=,,,,,,,,,,,,4
|
||||||
scsiport.sys=,,,,,,x,,,,,,4
|
scsiport.sys=,,,,,,x,,,,,,4
|
||||||
fastfat.sys=,,,,,,x,,,,,,4
|
fastfat.sys=,,,,,,x,,,,,,4
|
||||||
ramdisk.sys=,,,,,,x,,,,,,4
|
ramdisk.sys=,,,,,,x,,,,,,4
|
||||||
|
@ -47,11 +48,13 @@ ext2.sys=,,,,,,x,,,,,,4
|
||||||
*PNP0C08 = acpi
|
*PNP0C08 = acpi
|
||||||
;PCI\CC_0601 = isapnp
|
;PCI\CC_0601 = isapnp
|
||||||
PCI\CC_0604 = pci
|
PCI\CC_0604 = pci
|
||||||
|
ROOT\SWENUM = swenum
|
||||||
|
|
||||||
[BootBusExtenders.Load]
|
[BootBusExtenders.Load]
|
||||||
acpi = acpi.sys
|
acpi = acpi.sys
|
||||||
pci = pci.sys
|
pci = pci.sys
|
||||||
isapnp = isapnp.sys
|
isapnp = isapnp.sys
|
||||||
|
swenum = swenum.sys
|
||||||
|
|
||||||
[Cabinets]
|
[Cabinets]
|
||||||
Cabinet=reactos.cab
|
Cabinet=reactos.cab
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
<directory name="ks">
|
<directory name="ks">
|
||||||
<xi:include href="ks/ks.rbuild" />
|
<xi:include href="ks/ks.rbuild" />
|
||||||
</directory>
|
</directory>
|
||||||
<!--<directory name="swenum">
|
<directory name="swenum">
|
||||||
<xi:include href="swenum/swenum.rbuild" />
|
<xi:include href="swenum/swenum.rbuild" />
|
||||||
</directory>-->
|
</directory>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
|
|
|
@ -245,6 +245,9 @@ SwAddDevice(
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
PDEVICE_OBJECT FunctionalDeviceObject;
|
PDEVICE_OBJECT FunctionalDeviceObject;
|
||||||
|
|
||||||
|
DPRINT1("SWENUM AddDevice\n");
|
||||||
|
DbgBreakPoint();
|
||||||
|
|
||||||
/* create the device */
|
/* create the device */
|
||||||
Status = IoCreateDevice(DriverObject, sizeof(KSDEVICE_HEADER), NULL, FILE_DEVICE_BUS_EXTENDER, 0, FALSE, &FunctionalDeviceObject);
|
Status = IoCreateDevice(DriverObject, sizeof(KSDEVICE_HEADER), NULL, FILE_DEVICE_BUS_EXTENDER, 0, FALSE, &FunctionalDeviceObject);
|
||||||
|
|
||||||
|
@ -303,7 +306,8 @@ DriverEntry(
|
||||||
DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] = SwDispatchDeviceControl;
|
DriverObject->MajorFunction[IRP_MJ_DEVICE_CONTROL] = SwDispatchDeviceControl;
|
||||||
DriverObject->MajorFunction[IRP_MJ_SYSTEM_CONTROL] = SwDispatchSystemControl;
|
DriverObject->MajorFunction[IRP_MJ_SYSTEM_CONTROL] = SwDispatchSystemControl;
|
||||||
|
|
||||||
|
DPRINT1("SWENUM loaded\n");
|
||||||
|
DbgBreakPoint();
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue