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
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
Show 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 (
...
@@ -325,20 +325,16 @@ acpi_pci_irq_enable (
* values override any BIOS-assinged IRQs set during boot.
* values override any BIOS-assinged IRQs set during boot.
*/
*/
irq
=
acpi_pci_irq_lookup
(
0
,
dev
->
bus
->
number
,
PCI_SLOT
(
dev
->
devfn
),
pin
);
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
* If no PRT entry was found, we'll try to derive an IRQ from the
* during boot we'll try to derive an IRQ from the device's parent
* device's parent bridge.
* bridge.
*/
*/
if
(
!
dev
->
irq
&&
dev
->
bus
->
self
)
{
if
(
!
irq
)
irq
=
acpi_pci_irq_derive
(
dev
,
pin
);
irq
=
acpi_pci_irq_derive
(
dev
,
pin
);
if
(
irq
)
if
(
irq
)
dev
->
irq
=
irq
;
dev
->
irq
=
irq
;
}
if
(
!
dev
->
irq
)
{
if
(
!
dev
->
irq
)
{
printk
(
KERN_WARNING
PREFIX
"No IRQ known for interrupt pin %c of device %s
\n
"
,
(
'A'
+
pin
),
dev
->
slot_name
);
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