Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
linux
Commits
ce46ece9
Commit
ce46ece9
authored
22 years ago
by
Patrick Mochel
Browse files
Options
Download
Email Patches
Plain Diff
Re-add check for valid acpi routing information, instead of assuming it works
parent
9dd1bc8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
arch/i386/pci/acpi.c
arch/i386/pci/acpi.c
+8
-4
No files found.
arch/i386/pci/acpi.c
View file @
ce46ece9
...
...
@@ -59,10 +59,14 @@ static int acpi_lookup_irq (
static
int
__init
pci_acpi_init
(
void
)
{
if
(
!
(
pci_probe
&
PCI_NO_ACPI_ROUTING
))
{
printk
(
KERN_INFO
"PCI: Using ACPI for IRQ routing
\n
"
);
printk
(
KERN_INFO
"PCI: if you experience problems, try using option 'pci=noacpi'
\n
"
);
pci_use_acpi_routing
=
1
;
pci_lookup_irq
=
acpi_lookup_irq
;
if
(
acpi_prts
.
count
)
{
printk
(
KERN_INFO
"PCI: Using ACPI for IRQ routing
\n
"
);
printk
(
KERN_INFO
"PCI: if you experience problems, try using option 'pci=noacpi'
\n
"
);
pci_use_acpi_routing
=
1
;
pci_lookup_irq
=
acpi_lookup_irq
;
}
else
printk
(
KERN_WARNING
"PCI: Invalid ACPI-PCI IRQ routing table
\n
"
);
}
return
0
;
}
...
...
This diff is collapsed.
Click to expand it.
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