feat: block partition support
[lunaix-os.git] / lunaix-os / hal / ahci / io_event.c
index 543e1ce4056750386788dc4eb415be7d7d1754ed..632197cc82813fb5dd918bf51172700caa50e633 100644 (file)
@@ -9,7 +9,7 @@ void
 __ahci_hba_isr(const isr_param* param)
 {
     // ignore spurious interrupt
-    if (!hba.ports[HBA_RIS])
+    if (!hba.base[HBA_RIS])
         return;
 
     u32_t port_num = 31 - __builtin_clz(hba.base[HBA_RIS]);