1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:47:35 +00:00

Everywhere: Fix a bunch of typos

This commit is contained in:
Linus Groh 2021-04-18 10:30:03 +02:00
parent cebd3f740b
commit 2b0c361d04
30 changed files with 42 additions and 42 deletions

View file

@ -516,7 +516,7 @@ bool AHCIPort::spin_until_ready() const
spin++;
}
if (spin == 100) {
dbgln_if(AHCI_DEBUG, "AHCI Port {}: SPIN exceeded 100 miliseconds threshold", representative_port_index());
dbgln_if(AHCI_DEBUG, "AHCI Port {}: SPIN exceeded 100 milliseconds threshold", representative_port_index());
return false;
}
return true;

View file

@ -122,7 +122,7 @@ struct [[gnu::packed]] ATAIdentifyBlock {
u16 maximum_logical_sectors_per_drq;
u16 trusted_computing_features;
u16 capabilites[2];
u16 capabilities[2];
u16 obsolete5[2];
u16 validity_flags;
u16 obsolete6[5];

View file

@ -357,7 +357,7 @@ UNMAP_AFTER_INIT void IDEChannel::detect_disks()
volatile ATAIdentifyBlock& identify_block = (volatile ATAIdentifyBlock&)(*wbuf.data());
u16 capabilities = identify_block.capabilites[0];
u16 capabilities = identify_block.capabilities[0];
// If the drive is so old that it doesn't support LBA, ignore it.
if (!(capabilities & ATA_CAP_LBA))