Network configuration |
include/network/hardware.ycp |
Hardware routines | |
|
|
This module has an unstable interface. |
All hardware settings are stored in a global variable Hardware.
If you want to add a new HW type, you have to do the following steps:
- add the type to ReadHardware
- add the type to SelectHardware
- add the type to ControllerType
Imports
Includes
Local Functions |
local
FindHardware (list Hardware, integer which)
->
map
Select the given hardware item or clean up structures (item == nil)
- Parameters:
-
Hardware which item to be chosen
local
SelectHardwareMap (map sel)
->
map
Select the given hardware item SelectHardware is a "virtual method", that is named SelectHW in "subclasses" like Lan and Modem.
- Parameters:
-
sel item to be chosen
local
SelectHardware (list Hardware, integer which)
->
map
Select the given hardware item or clean up structures (item == nil)
- Parameters:
-
Hardware which item to be chosen