mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
dde_bsd: properly name PCI audio driver component
Instead of the generic name, call the PCI driver 'pci_audio_drv'. This is preliminary clean-up work before introducing the USB audio driver. Issue #3929.
This commit is contained in:
parent
3faf5c43a8
commit
7193902cc0
@ -45,7 +45,7 @@ proc usb_host_drv_binary { } {
|
||||
#
|
||||
proc audio_drv_binary { } {
|
||||
if {[have_spec linux]} { return linux_audio_drv }
|
||||
if {[have_spec x86]} { return audio_drv }
|
||||
if {[have_spec x86]} { return pci_audio_drv }
|
||||
return no_audio_drv_available
|
||||
}
|
||||
|
||||
|
0
repos/dde_bsd/recipes/pkg/bsd_audio_drv/README
Executable file → Normal file
0
repos/dde_bsd/recipes/pkg/bsd_audio_drv/README
Executable file → Normal file
0
repos/dde_bsd/recipes/pkg/bsd_audio_drv/archives
Executable file → Normal file
0
repos/dde_bsd/recipes/pkg/bsd_audio_drv/archives
Executable file → Normal file
4
repos/dde_bsd/recipes/pkg/bsd_audio_drv/runtime
Executable file → Normal file
4
repos/dde_bsd/recipes/pkg/bsd_audio_drv/runtime
Executable file → Normal file
@ -1,4 +1,4 @@
|
||||
<runtime ram="16M" caps="256" binary="audio_drv">
|
||||
<runtime ram="16M" caps="256" binary="pci_audio_drv">
|
||||
|
||||
<requires> <platform/> <rm/> <timer/> </requires>
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
<content>
|
||||
<rom label="ld.lib.so"/>
|
||||
<rom label="audio_drv"/>
|
||||
<rom label="pci_audio_drv"/>
|
||||
</content>
|
||||
|
||||
</runtime>
|
||||
|
@ -57,6 +57,7 @@ append_platform_drv_config
|
||||
|
||||
append config {
|
||||
<start name="audio_drv">
|
||||
<binary name="} [audio_drv_binary] {"/>
|
||||
<resource name="RAM" quantum="8M"/>
|
||||
<provides>
|
||||
<service name="Audio_out"/>
|
||||
@ -82,9 +83,11 @@ install_config $config
|
||||
#
|
||||
|
||||
set boot_modules {
|
||||
core ld.lib.so init timer audio_drv test-audio_in
|
||||
core ld.lib.so init timer test-audio_in
|
||||
}
|
||||
|
||||
append boot_modules [audio_drv_binary]
|
||||
|
||||
append_platform_drv_boot_modules
|
||||
|
||||
build_boot_image $boot_modules
|
||||
|
@ -1,7 +1,9 @@
|
||||
REQUIRES = x86 pci
|
||||
TARGET = audio_drv
|
||||
TARGET = pci_audio_drv
|
||||
SRC_CC = main.cc
|
||||
LIBS = dde_bsd_audio dde_bsd_audio_pci base
|
||||
INC_DIR += $(REP_DIR)/include
|
||||
|
||||
vpath %.cc $(REP_DIR)/src/drivers/audio
|
||||
|
||||
CC_CXX_WARN_STRICT =
|
@ -35,7 +35,7 @@ set build_components {
|
||||
set boot_modules {
|
||||
event_filter
|
||||
ipxe_nic_drv
|
||||
audio_drv
|
||||
pci_audio_drv
|
||||
report_rom
|
||||
dynamic_rom
|
||||
}
|
||||
@ -91,6 +91,7 @@ append config_of_app {
|
||||
(Recording is configured to use the external mic.)
|
||||
-->
|
||||
<start name="audio_drv" priority="-1">
|
||||
<binary name="pci_audio_drv"/>
|
||||
<resource name="RAM" quantum="9M"/>
|
||||
<provides>
|
||||
<service name="Audio_out"/>
|
||||
|
Loading…
Reference in New Issue
Block a user