via-ide: always use legacy IRQ 14/15 routing
commit1a519323d3e8425f0cf58fc85a346237edf8aeac
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 13 Mar 2020 08:24:44 +0000 (13 08:24 +0000)
committerJohn Snow <jsnow@redhat.com>
Tue, 17 Mar 2020 01:08:21 +0000 (16 21:08 -0400)
tree3ebdd46fbf11f921d3f98b0a796b63f1e5522fe5
parent20042479810511895d94f2f6ec8455fe0d0a2ce3
via-ide: always use legacy IRQ 14/15 routing

The existing code uses fixed PCI IRQ routing on IRQ 14 rather than legacy IRQ
14/15 routing as documented in the datasheet.

With the changes in this patchset guest OSs now correctly detect and configure
the VIA controller in legacy IRQ routing mode, allowing the incorrect fixed
PCI IRQ routing to be removed.

Note that this fixed legacy IRQ 14/15 routing is identical to similar behaviour
in the early PIIX IDE controllers.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tested-by: BALATON Zoltan <balaton@eik.bme.hu>
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-id: 20200313082444.2439-8-mark.cave-ayland@ilande.co.uk
Signed-off-by: John Snow <jsnow@redhat.com>
hw/ide/via.c