Revision 0009baf1
b/hw/ide/core.c | ||
---|---|---|
164 | 164 |
put_le16(p + 101, s->nb_sectors >> 16); |
165 | 165 |
put_le16(p + 102, s->nb_sectors >> 32); |
166 | 166 |
put_le16(p + 103, s->nb_sectors >> 48); |
167 |
if (s->conf && s->conf->physical_block_size) |
|
168 |
put_le16(p + 106, 0x6000 | get_physical_block_exp(s->conf)); |
|
167 | 169 |
|
168 | 170 |
memcpy(s->identify_data, p, sizeof(s->identify_data)); |
169 | 171 |
s->identify_set = 1; |
Also available in: Unified diff