drivers_nic-pc: replace ipxe_nic_drv by pc_nic_drv

Also, the configuration enables MAC-address reporting and includes a
verbose mac_report_rom.

Issue #4921
This commit is contained in:
Christian Helmuth 2023-06-01 09:01:38 +02:00 committed by Norman Feske
parent d258422c34
commit 48cc8fb657
2 changed files with 22 additions and 2 deletions

View File

@ -1,6 +1,6 @@
_/src/platform_drv
_/src/acpi_drv
_/src/ipxe_nic_drv
_/src/pc_nic_drv
_/src/report_rom
_/src/pci_decode
_/raw/drivers_nic-pc

View File

@ -81,10 +81,28 @@
<service name="Timer"> <parent/> </service>
</route>
<config>
<policy label_prefix="nic_drv"> <pci class="ETHERNET"/> </policy>
<policy label_prefix="nic_drv" info="yes"> <pci class="ETHERNET"/> </policy>
</config>
</start>
<start name="mac_report_rom">
<binary name="report_rom"/>
<resource name="RAM" quantum="1M"/>
<provides>
<service name="ROM" />
<service name="Report" />
</provides>
<config verbose="yes">
<policy label="nic -> devices" report="nic_drv -> devices"/>
</config>
<route>
<service name="LOG"> <parent/> </service>
<service name="PD"> <parent/> </service>
<service name="CPU"> <parent/> </service>
<service name="ROM"> <parent/> </service>
</route>
</start>
<start name="nic_drv" caps="200">
<binary name="pc_nic_drv"/>
<resource name="RAM" quantum="10M"/>
@ -97,7 +115,9 @@
<service name="LOG"> <parent/> </service>
<service name="Timer"> <parent/> </service>
<service name="Uplink"> <parent/> </service>
<service name="Report"> <child name="mac_report_rom"/> </service>
</route>
<config> <report mac_address="yes"/> </config>
</start>
</config>