mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-29 18:18:54 +00:00
f6d195a9de
In order to perform a smooth transition from NIC drivers that act only as NIC session clients to NIC drivers that act only as Uplink session clients, this commit introduces an intermediate state in which all NIC drivers support both modes. That said, a NIC drivers mode is now statically determined through a new optional 'mode' attribute in the drivers <config> tag that can be set to either 'nic_server' (default value) or 'uplink_client'. Reconfiguring this attribute at a driver doesn't have any effects. Whithout this attribute being set, all NIC drivers will behave the same as they did before the commit. When set to 'uplink_client', however, instead of providing a Nic service, they request an Uplink session whenever their network interface becomes "UP" and close the session whenever their network interface becomes "DOWN". Ref #3961
2 lines
39 B
Makefile
2 lines
39 B
Makefile
REP_INC_DIR += src/drivers/nic/include
|