[SeaBIOS] (no subject)

Jason Baron jbaron at redhat.com
Thu Sep 13 22:12:15 CEST 2012


jan.kiszka at siemens.com, juzhang at redhat.com, agraf at suse.de, yamahata at valinux.co.jp, mkletzan at redhat.com, afaerber at suse.de, armbru at redhat.com, lcapitulino at redhat.com, alex.williamson at redhat.com
Message-Id: <af73c537dba52c481db65b938b3bfd9b2539a782.1347565443.git.jbaron at redhat.com>
In-Reply-To: <cover.1347565443.git.jbaron at redhat.com>
References: <cover.1347565443.git.jbaron at redhat.com>
Subject: [PATCH 4/9] seabios: pci: enable SERR of normal device.

From: Isaku Yamahata <yamahata at valinux.co.jp>

enable SERR of normal device for AER.

Signed-off-by: Isaku Yamahata <yamahata at valinux.co.jp>
Signed-off-by: Jason Baron <jbaron at redhat.com>
---
 src/pciinit.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/pciinit.c b/src/pciinit.c
index e604fd9..3b8525e 100644
--- a/src/pciinit.c
+++ b/src/pciinit.c
@@ -211,7 +211,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);
-- 
1.7.1




More information about the SeaBIOS mailing list