X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/a5338b60e111972364a8bc6f07011c6defd213d2..96e23fa3c6eabf8a6efebac24b740c5d4a2a1050:/lunaix-os/includes/hal/ahci/sata.h diff --git a/lunaix-os/includes/hal/ahci/sata.h b/lunaix-os/includes/hal/ahci/sata.h index dc93448..a08c5f4 100644 --- a/lunaix-os/includes/hal/ahci/sata.h +++ b/lunaix-os/includes/hal/ahci/sata.h @@ -1,7 +1,7 @@ #ifndef __LUNAIX_SATA_H #define __LUNAIX_SATA_H -#include +#include #define SATA_REG_FIS_D2H 0x34 #define SATA_REG_FIS_H2D 0x27 @@ -65,4 +65,6 @@ sata_write_buffer(struct hba_device* dev, void* buffer, uint32_t size); +void +sata_read_error(struct hba_port* port); #endif /* __LUNAIX_SATA_H */