Skip to contentSkip to conversation

PCI Express Advanced Error Reporting Driver

PATCH In review long 1 participant 1 message Mar 11, 2005 PCI

lore
Share & tools
lore

long

author
#0 lore raw

PATCH 6/6 PCI Express Advanced Error Reporting Driver

This patch includes the source code of startup component (last patch to be applied) of PCI Express Advanced Error Reporting driver.

--------------------------------------------------------------------

arch/i386/Kconfig +0 -2
diff -urpN linux-2.6.11-rc5/arch/i386/Kconfig patch-2.6.11-rc5-aerc3-split6/arch/i386/Kconfig
@@ -1131,8 +1131,6 @@ config PCI_MMCONFIG
 	select ACPI_BOOT
 	default y
 
-source "drivers/pci/pcie/Kconfig"
-
 source "drivers/pci/Kconfig"
 
 config ISA
drivers/pci/Kconfig +5 -0
diff -urpN linux-2.6.11-rc5/drivers/pci/Kconfig patch-2.6.11-rc5-aerc3-split6/drivers/pci/Kconfig
@@ -1,4 +1,9 @@
 #
+# PCI Express configuration
+#
+source "drivers/pci/pcie/Kconfig"
+
+#
 # PCI configuration
 #
 config PCI_MSI
drivers/pci/pcie/aer/aerdrv.c +254 -0

254 lines not on this page · raw message

drivers/pci/pcie/aer/aerdrv.h +178 -0

178 lines not on this page · raw message

drivers/pci/pcie/aer/Kconfig +13 -0
diff -urpN linux-2.6.11-rc5/drivers/pci/pcie/aer/Kconfig patch-2.6.11-rc5-aerc3-split6/drivers/pci/pcie/aer/Kconfig
@@ -0,0 +1,13 @@
+#
+# Root Port Device Configuration
+#
+
+config PCIEAER
+	bool "Root Port Advanced Error Reporting support"
+	depends on PCIEPORTBUS 
+	default y
+
+	---help---
+	This enables Root Port Advanced Error Reporting (AER) driver
+	support. Error reporting messages sent to Root Port will be
+	handled by PCI Express AER driver.	
drivers/pci/pcie/aer/Makefile +8 -0
diff -urpN linux-2.6.11-rc5/drivers/pci/pcie/aer/Makefile patch-2.6.11-rc5-aerc3-split6/drivers/pci/pcie/aer/Makefile
@@ -0,0 +1,8 @@
+#
+# Makefile for PCI-Express Root Port Advanced Error Reporting Driver
+#
+
+aerdriver-y		:= aerdrv_sysfs.o aerdrv_event.o aerdrv_core.o \
+			   aerdrv_rpc_handle.o aerdrv.o
+
+obj-$(CONFIG_PCIEAER)	+= aerdriver.o
drivers/pci/pcie/Kconfig +1 -0
diff -urpN linux-2.6.11-rc5/drivers/pci/pcie/Kconfig patch-2.6.11-rc5-aerc3-split6/drivers/pci/pcie/Kconfig
@@ -36,3 +36,4 @@ config HOTPLUG_PCI_PCIE_POLL_EVENT_MODE
 	   
 	  When in doubt, say N.
 
+source "drivers/pci/pcie/aer/Kconfig"
drivers/pci/pcie/Makefile +3 -0
diff -urpN linux-2.6.11-rc5/drivers/pci/pcie/Makefile patch-2.6.11-rc5-aerc3-split6/drivers/pci/pcie/Makefile
@@ -5,3 +5,6 @@
 pcieportdrv-y			:= portdrv_core.o portdrv_pci.o portdrv_bus.o
 
 obj-$(CONFIG_PCIEPORTBUS)	+= pcieportdrv.o
+
+# Build PCI Express AER if needed
+obj-$(CONFIG_PCIEAER)		+= aer/
include/linux/aer.h +101 -0

101 lines not on this page · raw message