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
c0354d57
Commit
c0354d57
authored
Mar 21, 2004
by
Len Brown
Committed by
Len Brown
Mar 21, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ACPI] fix interrupts behind yenta cardbus bridge (David Shaohua Li)
http://bugzilla.kernel.org/show_bug.cgi?id=1564
parent
31fb1ef9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
drivers/acpi/pci_irq.c
drivers/acpi/pci_irq.c
+13
-1
No files found.
drivers/acpi/pci_irq.c
View file @
c0354d57
...
@@ -273,6 +273,10 @@ acpi_pci_irq_lookup (struct pci_bus *bus, int device, int pin)
...
@@ -273,6 +273,10 @@ acpi_pci_irq_lookup (struct pci_bus *bus, int device, int pin)
return_VALUE
(
entry
->
irq
);
return_VALUE
(
entry
->
irq
);
}
}
/*
* current thinking is that acpi_pci_irq_derive() adds no value
* and should be deleted, so warn if it actually does something.
*/
static
int
static
int
acpi_pci_irq_derive
(
acpi_pci_irq_derive
(
...
@@ -303,7 +307,8 @@ acpi_pci_irq_derive (
...
@@ -303,7 +307,8 @@ acpi_pci_irq_derive (
return_VALUE
(
0
);
return_VALUE
(
0
);
}
}
ACPI_DEBUG_PRINT
((
ACPI_DB_INFO
,
"Derived IRQ %d
\n
"
,
irq
));
ACPI_DEBUG_PRINT
((
ACPI_DB_WARN
,
"Derive IRQ %d for device %s from %s
\n
"
,
irq
,
pci_name
(
dev
),
pci_name
(
bridge
)));
return_VALUE
(
irq
);
return_VALUE
(
irq
);
}
}
...
@@ -339,6 +344,13 @@ acpi_pci_irq_enable (
...
@@ -339,6 +344,13 @@ acpi_pci_irq_enable (
*/
*/
irq
=
acpi_pci_irq_lookup
(
dev
->
bus
,
PCI_SLOT
(
dev
->
devfn
),
pin
);
irq
=
acpi_pci_irq_lookup
(
dev
->
bus
,
PCI_SLOT
(
dev
->
devfn
),
pin
);
/*
* Check if the device has an IRQ,
* Hotplug devices may get IRQs by scanning
*/
if
(
!
irq
&&
dev
->
irq
)
irq
=
dev
->
irq
;
/*
/*
* If no PRT entry was found, we'll try to derive an IRQ from the
* If no PRT entry was found, we'll try to derive an IRQ from the
* device's parent bridge.
* device's parent bridge.
...
...
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