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
be9bc8d1
Commit
be9bc8d1
authored
May 14, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/gregkh/linux/usb-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
8382d1fb
5458096c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
drivers/acpi/pci_link.c
drivers/acpi/pci_link.c
+11
-5
No files found.
drivers/acpi/pci_link.c
View file @
be9bc8d1
...
...
@@ -479,7 +479,7 @@ static int __initdata acpi_irq_penalty[ACPI_MAX_IRQS] = {
PIRQ_PENALTY_PCI_AVAILABLE
,
/* IRQ9 PCI, often acpi */
PIRQ_PENALTY_PCI_AVAILABLE
,
/* IRQ10 PCI */
PIRQ_PENALTY_PCI_AVAILABLE
,
/* IRQ11 PCI */
PIRQ_PENALTY_ISA_
TYPICAL
,
/* IRQ12 mouse */
PIRQ_PENALTY_ISA_
USED
,
/* IRQ12 mouse */
PIRQ_PENALTY_ISA_USED
,
/* IRQ13 fpe, sometimes */
PIRQ_PENALTY_ISA_USED
,
/* IRQ14 ide0 */
PIRQ_PENALTY_ISA_USED
,
/* IRQ15 ide1 */
...
...
@@ -546,17 +546,23 @@ static int acpi_pci_link_allocate(struct acpi_pci_link* link) {
if
(
link
->
irq
.
active
==
link
->
irq
.
possible
[
i
])
break
;
}
/*
* forget active IRQ that is not in possible list
*/
if
(
i
==
link
->
irq
.
possible_count
)
{
if
(
acpi_strict
)
printk
(
KERN_WARNING
PREFIX
"_CRS %d not found"
" in _PRS
\n
"
,
link
->
irq
.
active
);
link
->
irq
.
active
=
0
;
}
/*
* if active found, use it; else pick entry from end of possible list.
*/
if
(
i
!=
link
->
irq
.
possible_count
)
{
if
(
link
->
irq
.
active
)
{
irq
=
link
->
irq
.
active
;
}
else
{
irq
=
link
->
irq
.
possible
[
link
->
irq
.
possible_count
-
1
];
if
(
acpi_strict
)
printk
(
KERN_WARNING
PREFIX
"_CRS %d not found"
" in _PRS
\n
"
,
link
->
irq
.
active
);
}
if
(
acpi_irq_balance
||
!
link
->
irq
.
active
)
{
...
...
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