feat: a file system mapping for pci devices
[lunaix-os.git] / lunaix-os / hal / ahci / ahci.c
index 41ebc8669ef57b5d88b0bbf598584c35bfae3d63..206112e1d79d0e99c85ab8bc0144c4422f99c4db 100644 (file)
@@ -174,10 +174,11 @@ ahci_init()
             continue;
         }
 
-        kprintf(KINFO "sata%d: %s (%s)\n",
+        kprintf(KINFO "sata%d: %s, sector_size=%dB, sector=%d\n",
                 i,
                 port->device->model,
-                port->device->serial_num);
+                port->device->block_size,
+                (uint32_t)port->device->max_lba);
 
         block_mount_disk(port->device);
     }
@@ -193,7 +194,7 @@ __ahci_hba_isr(const isr_param* param)
 {
     // TODO: clear the interrupt status
     // TODO: I/O-operation scheduler should be here
-    kprintf(KDEBUG "HBA INTR\n");
+    // kprintf(KDEBUG "HBA INTR\n");
 }
 
 void