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
8571f9ab
Commit
8571f9ab
authored
Mar 25, 2004
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge intel.com:/home/lenb/src/linux-acpi-test-2.6.4
into intel.com:/home/lenb/src/linux-acpi-test-2.6.5
parents
915430c8
6576c1bd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
drivers/acpi/pci_link.c
drivers/acpi/pci_link.c
+13
-5
No files found.
drivers/acpi/pci_link.c
View file @
8571f9ab
...
@@ -72,6 +72,7 @@ struct acpi_pci_link_irq {
...
@@ -72,6 +72,7 @@ struct acpi_pci_link_irq {
u8
edge_level
;
/* All IRQs */
u8
edge_level
;
/* All IRQs */
u8
active_high_low
;
/* All IRQs */
u8
active_high_low
;
/* All IRQs */
u8
setonboot
;
u8
setonboot
;
u8
resource_type
;
u8
possible_count
;
u8
possible_count
;
u8
possible
[
ACPI_PCI_LINK_MAX_POSSIBLE
];
u8
possible
[
ACPI_PCI_LINK_MAX_POSSIBLE
];
};
};
...
@@ -123,6 +124,7 @@ acpi_pci_link_check_possible (
...
@@ -123,6 +124,7 @@ acpi_pci_link_check_possible (
}
}
link
->
irq
.
edge_level
=
p
->
edge_level
;
link
->
irq
.
edge_level
=
p
->
edge_level
;
link
->
irq
.
active_high_low
=
p
->
active_high_low
;
link
->
irq
.
active_high_low
=
p
->
active_high_low
;
link
->
irq
.
resource_type
=
ACPI_RSTYPE_IRQ
;
break
;
break
;
}
}
case
ACPI_RSTYPE_EXT_IRQ
:
case
ACPI_RSTYPE_EXT_IRQ
:
...
@@ -143,6 +145,7 @@ acpi_pci_link_check_possible (
...
@@ -143,6 +145,7 @@ acpi_pci_link_check_possible (
}
}
link
->
irq
.
edge_level
=
p
->
edge_level
;
link
->
irq
.
edge_level
=
p
->
edge_level
;
link
->
irq
.
active_high_low
=
p
->
active_high_low
;
link
->
irq
.
active_high_low
=
p
->
active_high_low
;
link
->
irq
.
resource_type
=
ACPI_RSTYPE_EXT_IRQ
;
break
;
break
;
}
}
default:
default:
...
@@ -342,6 +345,10 @@ acpi_pci_link_set (
...
@@ -342,6 +345,10 @@ acpi_pci_link_set (
}
}
}
}
resource_type
=
link
->
irq
.
resource_type
;
if
(
resource_type
!=
ACPI_RSTYPE_IRQ
&&
resource_type
!=
ACPI_RSTYPE_EXT_IRQ
){
/* If IRQ<=15, first try with a "normal" IRQ descriptor. If that fails, try with
/* If IRQ<=15, first try with a "normal" IRQ descriptor. If that fails, try with
* an extended one */
* an extended one */
if
(
irq
<=
15
)
{
if
(
irq
<=
15
)
{
...
@@ -349,6 +356,7 @@ acpi_pci_link_set (
...
@@ -349,6 +356,7 @@ acpi_pci_link_set (
}
else
{
}
else
{
resource_type
=
ACPI_RSTYPE_EXT_IRQ
;
resource_type
=
ACPI_RSTYPE_EXT_IRQ
;
}
}
}
retry_programming:
retry_programming:
...
...
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