refactor: replace all stdint::uint32_t into short and more manageable u32_t
[lunaix-os.git] / lunaix-os / hal / ahci / ata.c
index 877ed86c6f52f4cb39e73cf4f6ff355f719e54b8..de59eb93f0d8cd741e27d84307304e5f74706a10 100644 (file)
@@ -9,7 +9,7 @@
 void
 sata_read_error(struct hba_port* port)
 {
-    uint32_t tfd = port->regs[HBA_RPxTFD];
+    u32_t tfd = port->regs[HBA_RPxTFD];
     port->device->last_result.sense_key = (tfd & 0xf000) >> 12;
     port->device->last_result.error = (tfd & 0x0f00) >> 8;
     port->device->last_result.status = tfd & 0x00ff;