Revision a58b8d54
b/hw/ide/core.c | ||
---|---|---|
146 | 146 |
put_le16(p + 68, 120); |
147 | 147 |
put_le16(p + 80, 0xf0); /* ata3 -> ata6 supported */ |
148 | 148 |
put_le16(p + 81, 0x16); /* conforms to ata5 */ |
149 |
/* 14=NOP supported, 0=SMART supported */ |
|
150 |
put_le16(p + 82, (1 << 14) | 1); |
|
149 |
/* 14=NOP supported, 5=WCACHE supported, 0=SMART supported */
|
|
150 |
put_le16(p + 82, (1 << 14) | (1 << 5) | 1);
|
|
151 | 151 |
/* 13=flush_cache_ext,12=flush_cache,10=lba48 */ |
152 | 152 |
put_le16(p + 83, (1 << 14) | (1 << 13) | (1 <<12) | (1 << 10)); |
153 | 153 |
/* 14=set to 1, 1=SMART self test, 0=SMART error logging */ |
Also available in: Unified diff