Data for configuration of IDE DMA mode, input and output functions.
List of Global Functions
Export - Dump the IDE DMA settings to a single map (For use by autoinstallation.)
Import - Get all IDE DMA settings from the first parameter (For use by autoinstallation.)
Read - Read all DMA settings from the SCR
Set - Set module data
Summary - Create rich text description of the current configuration
Write - Update the SCR according to DMA settings
get_device_dma_status - Return actual DMA status of IDE device
get_ide_devices - Return information about all IDE devices
selected_mode - Get selected DMA mode, which will be saved and set in Write
set_dma - Set DMA of device
set_test_data - Set system configuration without reading values from system - for testing and screenshot mode
supported_dma_modes - Get list of supported DMA modes for selected device
List of Global Variables
dma_default_string - String with no change of DMA status text (For translators: translation can be long - text is used in the table in column "Required DMA mode" and "Current DMA mode")
dma_off_string - String with DMA off status text (For translators: translation can be long - text is used in the table in column "Required DMA mode" and "Current DMA mode")
dma_on_string - String with DMA on status text (For translators: translation can be long - text is used in the table in column "Required DMA mode" and "Current DMA mode")
Dump the IDE DMA settings to a single map (For use by autoinstallation.)
Return value
list - Dumped settings (later acceptable by Import ())
Get all IDE DMA settings from the first parameter (For use by autoinstallation.)
Function parameters
list<map<string,any> > settings
Return value
boolean - True
Create rich text description of the current configuration
Function parameters
boolean all
boolean richtext
Return value
string - summary text
Return actual DMA status of IDE device
Function parameters
string device
Return value
string - true if DMA is on, false if DMA is off or nil on error
Return information about all IDE devices
Return value
list<map> - List of maps with information about all IDE devices
Get selected DMA mode, which will be saved and set in Write
Function parameters
string device
Return value
string - selected DMA mode ("on", "off", "nochange", or mode supported by hdparm - "udma5",...)
Set DMA of device
Function parameters
string device
string dma_setting
Return value
boolean - true on success
Set system configuration without reading values from system - for testing and screenshot mode
Return value
void
String with no change of DMA status text (For translators: translation can be long - text is used in the table in column "Required DMA mode" and "Current DMA mode")
String with DMA off status text (For translators: translation can be long - text is used in the table in column "Required DMA mode" and "Current DMA mode")