X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/bcc25888b3299758ad36721530cca3b899b7166c..c043fa535514a76091be87a45ad472a505f9dd33:/lunaix-os/hal/ahci/LConfig diff --git a/lunaix-os/hal/ahci/LConfig b/lunaix-os/hal/ahci/LConfig index a199abf..ea0b305 100644 --- a/lunaix-os/hal/ahci/LConfig +++ b/lunaix-os/hal/ahci/LConfig @@ -1,18 +1,14 @@ -@Collection("AHCI") +@"AHCI" +@(parent := hal) def sata_ahci(): - add_to_collection(hal) - - @Term("Enable AHCI support") - def ahci_enable(): + @"Enable AHCI support" + def ahci_enable() -> bool: """ Enable the support of SATA AHCI. - Must require PCI at current stage """ + Must require PCI at current stage """ + require (pci_enable) - type(bool) - default(True) - - if not v(pci_enable): - set_value(False) + return True \ No newline at end of file