Re: [PATCH 08/10] hw/isa: Add the ISA_IRQ_NET_DEFAULT definition

2020-10-13 Thread Stefan Berger
On 10/13/20 3:23 AM, Gerd Hoffmann wrote: On Sun, Oct 11, 2020 at 09:32:27PM +0200, Philippe Mathieu-Daudé wrote: The network devices use IRQ #9 by default. Add this default definition to the IsaIrqNumber enum. IRQ #9 seems to be sort-of standard for acpi. Not sure whenever that is actually w

Re: [PATCH 08/10] hw/isa: Add the ISA_IRQ_NET_DEFAULT definition

2020-10-13 Thread Philippe Mathieu-Daudé
On 10/13/20 9:23 AM, Gerd Hoffmann wrote: On Sun, Oct 11, 2020 at 09:32:27PM +0200, Philippe Mathieu-Daudé wrote: The network devices use IRQ #9 by default. Add this default definition to the IsaIrqNumber enum. IRQ #9 seems to be sort-of standard for acpi. Not sure whenever that is act

Re: [PATCH 08/10] hw/isa: Add the ISA_IRQ_NET_DEFAULT definition

2020-10-13 Thread Gerd Hoffmann
On Sun, Oct 11, 2020 at 09:32:27PM +0200, Philippe Mathieu-Daudé wrote: > The network devices use IRQ #9 by default. Add this > default definition to the IsaIrqNumber enum. IRQ #9 seems to be sort-of standard for acpi. Not sure whenever that is actually written down somewhere. IIRC in pre-ACPI

[PATCH 08/10] hw/isa: Add the ISA_IRQ_NET_DEFAULT definition

2020-10-11 Thread Philippe Mathieu-Daudé
The network devices use IRQ #9 by default. Add this default definition to the IsaIrqNumber enum. Avoid magic values in the code, replace them by the newly introduced definition. Signed-off-by: Philippe Mathieu-Daudé --- include/hw/isa/isa.h | 1 + hw/net/ne2000-isa.c | 2 +- 2 files changed, 2