The SMSC southbridge now initializes IDE regiters 0x45 and 0x46 to the correct values.

This commit is contained in:
OBattler
2020-10-13 21:49:55 +02:00
parent 55920d8afd
commit f465066ed2

View File

@@ -1055,6 +1055,8 @@ piix_reset_hard(piix_t *dev)
if (dev->type == 5) {
fregs[0x3c] = 0x0e;
fregs[0x3d] = 0x01;
fregs[0x45] = 0x55;
fregs[0x46] = 0x01;
}
if ((dev->type == 1) && (dev->rev == 2))
dev->max_func = 0; /* It starts with IDE disabled, then enables it. */