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
de6511ff
Commit
de6511ff
authored
May 29, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix PCI irq routing to always look up the bridge swizzling
if a direct lookup didn't work.
parent
22775da0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
12 deletions
+8
-12
drivers/acpi/pci_irq.c
drivers/acpi/pci_irq.c
+8
-12
No files found.
drivers/acpi/pci_irq.c
View file @
de6511ff
...
...
@@ -325,20 +325,16 @@ acpi_pci_irq_enable (
* values override any BIOS-assinged IRQs set during boot.
*/
irq
=
acpi_pci_irq_lookup
(
0
,
dev
->
bus
->
number
,
PCI_SLOT
(
dev
->
devfn
),
pin
);
if
(
irq
)
dev
->
irq
=
irq
;
/*
* If no PRT entry was found and the device wasn't assigned an IRQ
* during boot we'll try to derive an IRQ from the device's parent
* bridge.
* If no PRT entry was found, we'll try to derive an IRQ from the
* device's parent bridge.
*/
if
(
!
dev
->
irq
&&
dev
->
bus
->
self
)
{
irq
=
acpi_pci_irq_derive
(
dev
,
pin
);
if
(
irq
)
dev
->
irq
=
irq
;
}
if
(
!
irq
)
irq
=
acpi_pci_irq_derive
(
dev
,
pin
);
if
(
irq
)
dev
->
irq
=
irq
;
if
(
!
dev
->
irq
)
{
printk
(
KERN_WARNING
PREFIX
"No IRQ known for interrupt pin %c of device %s
\n
"
,
(
'A'
+
pin
),
dev
->
slot_name
);
...
...
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