Move port 0xcf9 handling from i430FX/VX to PIIX, adding reset callback for FX/HX/VX northbridges.

Add IDE reset to port 0xcf9.
Reset IDE error register on reset of non-existent devices.
Fixes IDE related issues on soft reset for ASUS boards.
This commit is contained in:
SarahW 2019-05-18 17:35:32 +01:00
commit 1dd8cf1e81
12 changed files with 83 additions and 28 deletions

View file

@ -1 +1 @@
void piix_init(int card, int pci_a, int pci_b, int pci_c, int pci_d);
void piix_init(int card, int pci_a, int pci_b, int pci_c, int pci_d, void (*nb_reset)());