Exemple #1
0
def pci_convert_dict_to_sxp(dev, state, sub_state=None):
    pci_sxp = ['pci', dev_dict_to_sxp(dev), ['state', state]]
    if sub_state != None:
        pci_sxp.append(['sub_state', sub_state])
    return pci_sxp
Exemple #2
0
def pci_convert_dict_to_sxp(dev, state, sub_state = None):
    pci_sxp = ['pci', dev_dict_to_sxp(dev), ['state', state]]
    if sub_state != None:
        pci_sxp.append(['sub_state', sub_state])
    return pci_sxp
Exemple #3
0
def pci_opts_list_to_sxp(list):
    return dev_dict_to_sxp({'opts': list})
Exemple #4
0
def pci_opts_list_to_sxp(list):
    return dev_dict_to_sxp({'opts': list})