ahci: fix step bug
This commit is contained in:
parent
c99880cd61
commit
20d19ed994
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ bool ahci_access_sectors(struct sata_device *dev, paddr_t lba, uint16_t count, p
|
||||||
cmdtbl->prdt_entry[i].data_base = buf;
|
cmdtbl->prdt_entry[i].data_base = buf;
|
||||||
cmdtbl->prdt_entry[i].byte_count = 8 * 1024 - 1;
|
cmdtbl->prdt_entry[i].byte_count = 8 * 1024 - 1;
|
||||||
cmdtbl->prdt_entry[i].interrupt = 1;
|
cmdtbl->prdt_entry[i].interrupt = 1;
|
||||||
buf += 4 * 1024;
|
buf += 8 * 1024;
|
||||||
count -= 16;
|
count -= 16;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue