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
nexedi
linux
Commits
3987511f
Commit
3987511f
authored
May 06, 2003
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] PCI Hotplug: fix up the acpi driver to work properly again.
parent
d077bb79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
drivers/hotplug/acpiphp_glue.c
drivers/hotplug/acpiphp_glue.c
+5
-1
No files found.
drivers/hotplug/acpiphp_glue.c
View file @
3987511f
...
...
@@ -806,6 +806,7 @@ static int enable_device (struct acpiphp_slot *slot)
struct
list_head
*
l
;
struct
acpiphp_func
*
func
;
int
retval
=
0
;
int
num
;
if
(
slot
->
flags
&
SLOT_ENABLED
)
goto
err_exit
;
...
...
@@ -825,7 +826,10 @@ static int enable_device (struct acpiphp_slot *slot)
goto
err_exit
;
/* returned `dev' is the *first function* only! */
dev
=
pci_scan_slot
(
slot
->
bridge
->
pci_bus
,
PCI_DEVFN
(
slot
->
device
,
0
));
num
=
pci_scan_slot
(
slot
->
bridge
->
pci_bus
,
PCI_DEVFN
(
slot
->
device
,
0
));
if
(
num
)
pci_bus_add_devices
(
slot
->
bridge
->
pci_bus
);
dev
=
pci_find_slot
(
slot
->
bridge
->
bus
,
PCI_DEVFN
(
slot
->
device
,
0
));
if
(
!
dev
)
{
err
(
"No new device found
\n
"
);
...
...
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