1 #ifndef __LUNAIX_AHCI_H
2 #define __LUNAIX_AHCI_H
10 * e.g. HBA_RPxCLB is Register PxCLB
12 * All registers offset are 0 based index of a DWORD array
15 #define AHCI_HBA_CLASS 0x10601
19 struct llist_header ahci_drvs;
32 ahci_parse_dev_info(struct hba_device* dev_info, u16_t* data);
35 ahci_parsestr(char* str, u16_t* reg_start, int size_word);
38 * @brief Issue a HBA command (synchronized)
45 ahci_try_send(struct hba_port* port, int slot);
48 * @brief Issue a HBA command (asynchronized)
55 ahci_post(struct hba_port* port, struct hba_cmd_state* state, int slot);
57 #endif /* __LUNAIX_AHCI_H */