mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 07:23:13 +00:00
[ATACTL]
* Sync with the latest UniATA version. svn path=/trunk/; revision=57017
This commit is contained in:
parent
b39bf28a27
commit
e1398e05d4
1 changed files with 3 additions and 0 deletions
|
@ -784,6 +784,9 @@ ata_check_unit(
|
||||||
chs[0] = ident->NumberOfCylinders;
|
chs[0] = ident->NumberOfCylinders;
|
||||||
chs[1] = ident->NumberOfHeads;
|
chs[1] = ident->NumberOfHeads;
|
||||||
chs[2] = ident->SectorsPerTrack;
|
chs[2] = ident->SectorsPerTrack;
|
||||||
|
if(!max_lba) {
|
||||||
|
max_lba = (ULONG)(chs[0])*(ULONG)(chs[1])*(ULONG)(chs[2]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(io_mode != -1) {
|
if(io_mode != -1) {
|
||||||
printf(" %.12s\n", mode_str);
|
printf(" %.12s\n", mode_str);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue