1 #ifndef __LUNAIX_AHCI_UTILS_H
2 #define __LUNAIX_AHCI_UTILS_H
4 #include <hal/ahci/hba.h>
8 ahci_parse_dev_info(struct hba_device* dev_info, uint16_t* data);
11 ahci_parsestr(char* str, uint16_t* reg_start, int size_word);
14 scsi_parse_capacity(struct hba_device* device, uint32_t* parameter);
17 sata_read_error(struct hba_port* port);
19 #endif /* __LUNAIX_UTILS_H */