feat(tunables): add a new @{pci} variable.

This commit is contained in:
Alexandre Pujol 2023-08-18 22:35:32 +01:00
parent 275d6b6e62
commit 1dbced42ed
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

View File

@ -30,6 +30,11 @@
# Hexadecimal # Hexadecimal
@{hex}=@{h}*@{h} @{hex}=@{h}*@{h}
# Shortcut for PCI device
@{pci_id}=[0-9][0-9][0-9][0-9]:[0-9][0-9]:[0-9a-f][0-9a-f].[0-9]
@{pci_bus}=pci[0-9][0-9][0-9][0-9]:[0-9][0-9]
@{pci}=@{pci_bus}/@{pci_id}{,/@{pci_id}}
# Date and time # Date and time
@{date}=[0-2][0-9][0-9][0-9]-[01][0-9]-[0-3][0-9] @{date}=[0-2][0-9][0-9][0-9]-[01][0-9]-[0-3][0-9]
@{time}={[0-2],}[0-9]-[0-5][0-9]-[0-6][0-9] @{time}={[0-2],}[0-9]-[0-5][0-9]-[0-6][0-9]