X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/09a115a4c07e26b3a978c693c0d6d17abea80479..eb037efe9f30ae166684e99146024abf8740984d:/lunaix-os/includes/hal/ahci/ahci.h?ds=sidebyside diff --git a/lunaix-os/includes/hal/ahci/ahci.h b/lunaix-os/includes/hal/ahci/ahci.h index 0494181..acd779b 100644 --- a/lunaix-os/includes/hal/ahci/ahci.h +++ b/lunaix-os/includes/hal/ahci/ahci.h @@ -12,10 +12,6 @@ #define AHCI_HBA_CLASS 0x10601 -#define ATA_IDENTIFY_DEVICE 0xec -#define ATA_IDENTIFY_PAKCET_DEVICE 0xa1 -#define ATA_PACKET 0xa0 - /** * @brief 初始化AHCI与HBA * @@ -26,4 +22,10 @@ ahci_init(); void ahci_list_device(); +unsigned int +ahci_get_port_usage(); + +struct hba_port* +ahci_get_port(unsigned int index); + #endif /* __LUNAIX_AHCI_H */