hw/riscv/virt: Increase the number of interrupts

Increase the number of interrupts to match the HiFive Unleashed board.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Andrea Bolognani <abologna@redhat.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
This commit is contained in:
Alistair Francis 2018-12-11 22:37:17 +00:00 committed by Palmer Dabbelt
parent b72566a4ff
commit 63b695f2aa
No known key found for this signature in database
GPG Key ID: EF4CA1502CCBAB41
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ enum {
UART0_IRQ = 10, UART0_IRQ = 10,
VIRTIO_IRQ = 1, /* 1 to 8 */ VIRTIO_IRQ = 1, /* 1 to 8 */
VIRTIO_COUNT = 8, VIRTIO_COUNT = 8,
VIRTIO_NDEV = 10 VIRTIO_NDEV = 0x35 /* Arbitrary maximum number of interrupts */
}; };
enum { enum {