Il 09/10/2012 05:35, Jason Baron ha scritto:
> From: Isaku Yamahata <[email protected]>
> 
> enable SERR of normal device for AER.
> 
> Signed-off-by: Isaku Yamahata <[email protected]>
> Signed-off-by: Jason Baron <[email protected]>

Reviewed-by: Paolo Bonzini <[email protected]>

> ---
>  src/pciinit.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/src/pciinit.c b/src/pciinit.c
> index 0b4a9e4..7e76379 100644
> --- a/src/pciinit.c
> +++ b/src/pciinit.c
> @@ -218,7 +218,8 @@ static void pci_bios_init_device(struct pci_device *pci)
>      pci_init_device(pci_class_tbl, pci, NULL);
>  
>      /* enable memory mappings */
> -    pci_config_maskw(bdf, PCI_COMMAND, 0, PCI_COMMAND_IO | 
> PCI_COMMAND_MEMORY);
> +    pci_config_maskw(bdf, PCI_COMMAND, 0,
> +                     PCI_COMMAND_IO | PCI_COMMAND_MEMORY | PCI_COMMAND_SERR);
>  
>      /* map the interrupt */
>      int pin = pci_config_readb(bdf, PCI_INTERRUPT_PIN);
> 


_______________________________________________
SeaBIOS mailing list
[email protected]
http://www.seabios.org/mailman/listinfo/seabios

Reply via email to