diff options
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/pseries/eeh_driver.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh_driver.c b/arch/powerpc/platforms/pseries/eeh_driver.c index 15e015ef6865..6e631b5a28f0 100644 --- a/arch/powerpc/platforms/pseries/eeh_driver.c +++ b/arch/powerpc/platforms/pseries/eeh_driver.c | |||
@@ -113,9 +113,9 @@ static void eeh_report_error(struct pci_dev *dev, void *userdata) | |||
113 | /** | 113 | /** |
114 | * eeh_report_mmio_enabled - tell drivers that MMIO has been enabled | 114 | * eeh_report_mmio_enabled - tell drivers that MMIO has been enabled |
115 | * | 115 | * |
116 | * Report an EEH error to each device driver, collect up and | 116 | * Tells each device driver that IO ports, MMIO and config space I/O |
117 | * merge the device driver responses. Cumulative response | 117 | * are now enabled. Collects up and merges the device driver responses. |
118 | * passed back in "userdata". | 118 | * Cumulative response passed back in "userdata". |
119 | */ | 119 | */ |
120 | 120 | ||
121 | static void eeh_report_mmio_enabled(struct pci_dev *dev, void *userdata) | 121 | static void eeh_report_mmio_enabled(struct pci_dev *dev, void *userdata) |
@@ -123,8 +123,6 @@ static void eeh_report_mmio_enabled(struct pci_dev *dev, void *userdata) | |||
123 | enum pci_ers_result rc, *res = userdata; | 123 | enum pci_ers_result rc, *res = userdata; |
124 | struct pci_driver *driver = dev->driver; | 124 | struct pci_driver *driver = dev->driver; |
125 | 125 | ||
126 | // dev->error_state = pci_channel_mmio_enabled; | ||
127 | |||
128 | if (!driver || | 126 | if (!driver || |
129 | !driver->err_handler || | 127 | !driver->err_handler || |
130 | !driver->err_handler->mmio_enabled) | 128 | !driver->err_handler->mmio_enabled) |