git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: symlink resolve.
[lunaix-os.git]
/
lunaix-os
/
hal
/
ahci
/
ahci.c
diff --git
a/lunaix-os/hal/ahci/ahci.c
b/lunaix-os/hal/ahci/ahci.c
index 41ebc8669ef57b5d88b0bbf598584c35bfae3d63..9a7073a6c0c17c58363eb8091434e37d15d96d26 100644
(file)
--- a/
lunaix-os/hal/ahci/ahci.c
+++ b/
lunaix-os/hal/ahci/ahci.c
@@
-174,10
+174,11
@@
ahci_init()
continue;
}
continue;
}
- kprintf(KINFO "sata%d: %s
(%s)
\n",
+ kprintf(KINFO "sata%d: %s
, sector_size=%dB, sector=%d
\n",
i,
port->device->model,
i,
port->device->model,
- port->device->serial_num);
+ port->device->block_size,
+ (uint32_t)port->device->max_lba);
block_mount_disk(port->device);
}
block_mount_disk(port->device);
}