Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
d04e4e11
Commit
d04e4e11
authored
Feb 01, 2006
by
Al Viro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] eeh_driver NULL noise removal
Signed-off-by:
Al Viro
<
viro@zeniv.linux.org.uk
>
parent
2d20eaf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
arch/powerpc/platforms/pseries/eeh_driver.c
arch/powerpc/platforms/pseries/eeh_driver.c
+4
-4
No files found.
arch/powerpc/platforms/pseries/eeh_driver.c
View file @
d04e4e11
...
...
@@ -333,7 +333,7 @@ void handle_eeh_events (struct eeh_event *event)
rc
=
eeh_reset_device
(
frozen_pdn
,
NULL
);
if
(
rc
)
goto
hard_fail
;
pci_walk_bus
(
frozen_bus
,
eeh_report_reset
,
0
);
pci_walk_bus
(
frozen_bus
,
eeh_report_reset
,
NULL
);
}
/* If all devices reported they can proceed, the re-enable PIO */
...
...
@@ -342,11 +342,11 @@ void handle_eeh_events (struct eeh_event *event)
rc
=
eeh_reset_device
(
frozen_pdn
,
NULL
);
if
(
rc
)
goto
hard_fail
;
pci_walk_bus
(
frozen_bus
,
eeh_report_reset
,
0
);
pci_walk_bus
(
frozen_bus
,
eeh_report_reset
,
NULL
);
}
/* Tell all device drivers that they can resume operations */
pci_walk_bus
(
frozen_bus
,
eeh_report_resume
,
0
);
pci_walk_bus
(
frozen_bus
,
eeh_report_resume
,
NULL
);
return
;
...
...
@@ -367,7 +367,7 @@ void handle_eeh_events (struct eeh_event *event)
eeh_slot_error_detail
(
frozen_pdn
,
2
/* Permanent Error */
);
/* Notify all devices that they're about to go down. */
pci_walk_bus
(
frozen_bus
,
eeh_report_failure
,
0
);
pci_walk_bus
(
frozen_bus
,
eeh_report_failure
,
NULL
);
/* Shut down the device drivers for good. */
pcibios_remove_pci_devices
(
frozen_bus
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment