YaST2 Developers Documentation: Set new PCI ID for kernel drivers

Set new PCI ID for kernel drivers

  • Ladislav Slezak

This module has an unstable interface.

Manage new PCI IDs for kernel drivers

Imports

  • FileUtils
  • Linuxrc
  • ModuleLoading
  • Report
  • String

Includes

  • hwinfo/routines.ycp

Global Functions

Local Functions

local prepend_option (string newopt, string opts, string defval) -> string

Prepend option to PCI ID string, use default value if required

Parameters:
newopt Prepend this option
opts Already existing option string
defval Default value, used when newopt is empty
global Activate () -> boolean

Activate value stored in the internal list

Return value:
True if all settings were successfuly set
global MakeProposal () -> list<string>

Return new ID description

Return value:
(string) list of hardware desciptions