mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-29 15:44:02 +00:00
depot: add recipe for drivers_nic-muen pkg
This commit is contained in:
parent
da498af74e
commit
ae3a6fe270
3
repos/gems/recipes/pkg/drivers_nic-muen/README
Normal file
3
repos/gems/recipes/pkg/drivers_nic-muen/README
Normal file
@ -0,0 +1,3 @@
|
||||
|
||||
Device drivers needed for scenarios
|
||||
using one network interface
|
3
repos/gems/recipes/pkg/drivers_nic-muen/archives
Normal file
3
repos/gems/recipes/pkg/drivers_nic-muen/archives
Normal file
@ -0,0 +1,3 @@
|
||||
_/src/platform_drv
|
||||
_/src/ipxe_nic_drv
|
||||
_/raw/drivers_nic-muen
|
1
repos/gems/recipes/pkg/drivers_nic-muen/hash
Normal file
1
repos/gems/recipes/pkg/drivers_nic-muen/hash
Normal file
@ -0,0 +1 @@
|
||||
2019-05-05 a2d275bad2d37c3f7efc06ea9be80e16c6cbcbdd
|
4
repos/gems/recipes/raw/drivers_nic-muen/content.mk
Normal file
4
repos/gems/recipes/raw/drivers_nic-muen/content.mk
Normal file
@ -0,0 +1,4 @@
|
||||
content: drivers.config
|
||||
|
||||
drivers.config:
|
||||
cp $(REP_DIR)/recipes/raw/drivers_nic-muen/$@ $@
|
56
repos/gems/recipes/raw/drivers_nic-muen/drivers.config
Normal file
56
repos/gems/recipes/raw/drivers_nic-muen/drivers.config
Normal file
@ -0,0 +1,56 @@
|
||||
<config>
|
||||
|
||||
<parent-provides>
|
||||
<service name="IRQ"/>
|
||||
<service name="IO_MEM"/>
|
||||
<service name="IO_PORT"/>
|
||||
<service name="ROM"/>
|
||||
<service name="PD"/>
|
||||
<service name="RM"/>
|
||||
<service name="CPU"/>
|
||||
<service name="LOG"/>
|
||||
<service name="Timer"/>
|
||||
</parent-provides>
|
||||
|
||||
<default caps="100"/>
|
||||
|
||||
<service name="Nic">
|
||||
<default-policy> <child name="nic_drv"/> </default-policy> </service>
|
||||
|
||||
<start name="platform_drv" caps="200">
|
||||
<resource name="RAM" quantum="3M" constrain_phys="yes"/>
|
||||
<provides>
|
||||
<service name="Platform"/>
|
||||
<service name="Acpi"/>
|
||||
</provides>
|
||||
<route>
|
||||
<service name="IRQ"> <parent/> </service>
|
||||
<service name="IO_MEM"> <parent/> </service>
|
||||
<service name="IO_PORT"> <parent/> </service>
|
||||
<service name="ROM"> <parent/> </service>
|
||||
<service name="PD"> <parent/> </service>
|
||||
<service name="CPU"> <parent/> </service>
|
||||
<service name="LOG"> <parent/> </service>
|
||||
</route>
|
||||
<config>
|
||||
<policy label_prefix="nic_drv"> <pci class="ETHERNET"/> </policy>
|
||||
</config>
|
||||
</start>
|
||||
|
||||
<start name="nic_drv">
|
||||
<binary name="ipxe_nic_drv"/>
|
||||
<resource name="RAM" quantum="4M"/>
|
||||
<provides> <service name="Nic"/> </provides>
|
||||
<config/>
|
||||
<route>
|
||||
<service name="Platform"> <child name="platform_drv"/> </service>
|
||||
<service name="ROM"> <parent/> </service>
|
||||
<service name="PD"> <parent/> </service>
|
||||
<service name="RM"> <parent/> </service>
|
||||
<service name="CPU"> <parent/> </service>
|
||||
<service name="LOG"> <parent/> </service>
|
||||
<service name="Timer"> <parent/> </service>
|
||||
</route>
|
||||
</start>
|
||||
|
||||
</config>
|
1
repos/gems/recipes/raw/drivers_nic-muen/hash
Normal file
1
repos/gems/recipes/raw/drivers_nic-muen/hash
Normal file
@ -0,0 +1 @@
|
||||
2019-02-25 67c0d07bfd4d5cdec9fc5d69334c18a5c0a75807
|
@ -470,8 +470,9 @@ proc drivers_interactive_pkg { } {
|
||||
|
||||
proc drivers_nic_pkg { } {
|
||||
|
||||
if {[have_spec x86] &&
|
||||
if {[have_spec x86] && ![have_spec muen] &&
|
||||
![have_spec linux]} { return drivers_nic-pc }
|
||||
if {[have_spec muen]} { return drivers_nic-muen }
|
||||
if {[have_spec linux]} { return drivers_nic-linux }
|
||||
if {[have_spec pbxa9]} { return drivers_nic-pbxa9 }
|
||||
if {[have_spec rpi]} { return drivers_nic-rpi }
|
||||
|
Loading…
x
Reference in New Issue
Block a user