depot: add recipe for drivers_nic-muen pkg

This commit is contained in:
Stefan Kalkowski 2019-05-07 13:39:15 +02:00 committed by Christian Helmuth
parent da498af74e
commit ae3a6fe270
7 changed files with 70 additions and 1 deletions

View File

@ -0,0 +1,3 @@
Device drivers needed for scenarios
using one network interface

View File

@ -0,0 +1,3 @@
_/src/platform_drv
_/src/ipxe_nic_drv
_/raw/drivers_nic-muen

View File

@ -0,0 +1 @@
2019-05-05 a2d275bad2d37c3f7efc06ea9be80e16c6cbcbdd

View File

@ -0,0 +1,4 @@
content: drivers.config
drivers.config:
cp $(REP_DIR)/recipes/raw/drivers_nic-muen/$@ $@

View 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>

View File

@ -0,0 +1 @@
2019-02-25 67c0d07bfd4d5cdec9fc5d69334c18a5c0a75807

View File

@ -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 }