Add alignment hints for e512 ATA drives.
This commit is contained in:
parent
aead11533e
commit
dd1b8df880
7 changed files with 32 additions and 9 deletions
|
@ -42,6 +42,8 @@ struct Disk {
|
|||
vlong size;
|
||||
vlong offset; /* within larger disk, perhaps */
|
||||
int width; /* of disk size in bytes as decimal string */
|
||||
int psecsize;
|
||||
int physalign;
|
||||
int c;
|
||||
int h;
|
||||
int s;
|
||||
|
|
|
@ -102,6 +102,7 @@ struct Sfis {
|
|||
uint sig;
|
||||
uint lsectsz;
|
||||
uint physshift; /* log2(log/phys) */
|
||||
uint physalign; /* location of lba0 within phys0 */
|
||||
uint c; /* disgusting, no? */
|
||||
uint h;
|
||||
uint s;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue