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
b5e48980
Commit
b5e48980
authored
Sep 29, 2003
by
Len Brown
Committed by
Len Brown
Sep 29, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ACPI] acpi_pci_link_allocate() should stick with irq.active if set. (Andrew de Quincey)
Fixes OSDL #1186 "broken USB" and others
parent
1c43dc3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
drivers/acpi/pci_link.c
drivers/acpi/pci_link.c
+8
-8
No files found.
drivers/acpi/pci_link.c
View file @
b5e48980
...
@@ -500,15 +500,15 @@ static int acpi_pci_link_allocate(struct acpi_pci_link* link) {
...
@@ -500,15 +500,15 @@ static int acpi_pci_link_allocate(struct acpi_pci_link* link) {
irq
=
link
->
irq
.
active
;
irq
=
link
->
irq
.
active
;
}
else
{
}
else
{
irq
=
link
->
irq
.
possible
[
0
];
irq
=
link
->
irq
.
possible
[
0
];
}
/*
/*
* Select the best IRQ. This is done in reverse to promote
* Select the best IRQ. This is done in reverse to promote
* the use of IRQs 9, 10, 11, and >15.
* the use of IRQs 9, 10, 11, and >15.
*/
*/
for
(
i
=
(
link
->
irq
.
possible_count
-
1
);
i
>
0
;
i
--
)
{
for
(
i
=
(
link
->
irq
.
possible_count
-
1
);
i
>
0
;
i
--
)
{
if
(
acpi_irq_penalty
[
irq
]
>
acpi_irq_penalty
[
link
->
irq
.
possible
[
i
]])
if
(
acpi_irq_penalty
[
irq
]
>
acpi_irq_penalty
[
link
->
irq
.
possible
[
i
]])
irq
=
link
->
irq
.
possible
[
i
];
irq
=
link
->
irq
.
possible
[
i
];
}
}
}
/* Attempt to enable the link device at this IRQ. */
/* Attempt to enable the link device at this IRQ. */
...
...
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