OSDN Git Service

40p: add fixed IRQ routing for LSI SCSI device
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 19 Sep 2018 17:21:01 +0000 (18:21 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 25 Sep 2018 01:12:25 +0000 (11:12 +1000)
commit0358687b16407670f09649dfdc079c04a3522493
tree527dd981d80f96772d770fb99932da19ff62577e
parent3cc1b9cba915c4adfa73d68e344677574a5a5267
40p: add fixed IRQ routing for LSI SCSI device

Whilst the PReP specification describes how all PCI IRQs are routed via IRQ
15 on the interrupt controller, the real 40p machine has a routing quirk in
that the LSI SCSI device is routed directly to IRQ 13.

Enable the external IRQ for the LSI SCSI device by wiring up the IRQ with
qdev to the relevant interrupt controller gpio.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
Tested-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/prep.c