mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-11 21:45:37 +00:00
This patch harmonizes the driver management between the sculpt manager and the phone manager by hosting the individual drivers in a new 'Drivers' class with a narrow interface towards 'Sculpt::Main'. The patch also introduces a clean separation of the 'Board_info' between features detected at runtime (on PC hardware), statically known/managed features (phone hardware), and options that can be toggled at runtime. With common patterns for managing drivers in place now, this commit also moves the former runtime/wifi_drv.cc and runtime/nic_drv.cc code to driver/wifi.h and driver/nic.h. The _drv suffix of the wifi and nic driver components have been dropped. Issue #5150