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
20c6b08a
Commit
20c6b08a
authored
Feb 14, 2003
by
Andy Grover
Browse files
Options
Browse Files
Download
Plain Diff
Merge groveronline.com:/root/bk/linux-2.5
into groveronline.com:/root/bk/linux-acpi
parents
15f1049d
057207ac
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
9 deletions
+36
-9
arch/i386/kernel/mpparse.c
arch/i386/kernel/mpparse.c
+7
-1
drivers/acpi/osl.c
drivers/acpi/osl.c
+7
-0
drivers/acpi/pci_link.c
drivers/acpi/pci_link.c
+22
-8
No files found.
arch/i386/kernel/mpparse.c
View file @
20c6b08a
...
...
@@ -1026,8 +1026,14 @@ void __init mp_config_ioapic_for_sci(int irq)
while
((
void
*
)
entry
<
madt_end
)
{
if
(
entry
->
header
.
type
==
ACPI_MADT_INT_SRC_OVR
&&
acpi_fadt
.
sci_int
==
entry
->
global_irq
)
acpi_fadt
.
sci_int
==
entry
->
bus_irq
)
{
/*
* ACPI should use the settings in the
* ISO for its SCI. Do not continue.
*/
acpi_fadt
.
sci_int
=
entry
->
global_irq
;
return
;
}
entry
=
(
struct
acpi_table_int_src_ovr
*
)
((
unsigned
long
)
entry
+
entry
->
header
.
length
);
...
...
drivers/acpi/osl.c
View file @
20c6b08a
...
...
@@ -223,6 +223,13 @@ acpi_irq(int irq, void *dev_id, struct pt_regs *regs)
acpi_status
acpi_os_install_interrupt_handler
(
u32
irq
,
OSD_HANDLER
handler
,
void
*
context
)
{
/*
* Ignore the irq from the core, and use the value in our copy of the
* FADT. It may not be the same if an interrupt source override exists
* for the SCI.
*/
irq
=
acpi_fadt
.
sci_int
;
#ifdef CONFIG_IA64
irq
=
gsi_to_vector
(
irq
);
#endif
...
...
drivers/acpi/pci_link.c
View file @
20c6b08a
...
...
@@ -306,14 +306,28 @@ acpi_pci_link_set (
memset
(
&
resource
,
0
,
sizeof
(
resource
));
/* NOTE: PCI interrupts are always level / active_low / shared. */
resource
.
res
.
id
=
ACPI_RSTYPE_IRQ
;
resource
.
res
.
length
=
sizeof
(
struct
acpi_resource
);
resource
.
res
.
data
.
irq
.
edge_level
=
ACPI_LEVEL_SENSITIVE
;
resource
.
res
.
data
.
irq
.
active_high_low
=
ACPI_ACTIVE_LOW
;
resource
.
res
.
data
.
irq
.
shared_exclusive
=
ACPI_SHARED
;
resource
.
res
.
data
.
irq
.
number_of_interrupts
=
1
;
resource
.
res
.
data
.
irq
.
interrupts
[
0
]
=
irq
;
resource
.
end
.
id
=
ACPI_RSTYPE_END_TAG
;
if
(
irq
<=
15
)
{
resource
.
res
.
id
=
ACPI_RSTYPE_IRQ
;
resource
.
res
.
length
=
sizeof
(
struct
acpi_resource
);
resource
.
res
.
data
.
irq
.
edge_level
=
ACPI_LEVEL_SENSITIVE
;
resource
.
res
.
data
.
irq
.
active_high_low
=
ACPI_ACTIVE_LOW
;
resource
.
res
.
data
.
irq
.
shared_exclusive
=
ACPI_SHARED
;
resource
.
res
.
data
.
irq
.
number_of_interrupts
=
1
;
resource
.
res
.
data
.
irq
.
interrupts
[
0
]
=
irq
;
resource
.
end
.
id
=
ACPI_RSTYPE_END_TAG
;
}
else
{
resource
.
res
.
id
=
ACPI_RSTYPE_EXT_IRQ
;
resource
.
res
.
length
=
sizeof
(
struct
acpi_resource
);
resource
.
res
.
data
.
extended_irq
.
producer_consumer
=
ACPI_CONSUMER
;
resource
.
res
.
data
.
extended_irq
.
edge_level
=
ACPI_LEVEL_SENSITIVE
;
resource
.
res
.
data
.
extended_irq
.
active_high_low
=
ACPI_ACTIVE_LOW
;
resource
.
res
.
data
.
extended_irq
.
shared_exclusive
=
ACPI_SHARED
;
resource
.
res
.
data
.
extended_irq
.
number_of_interrupts
=
1
;
resource
.
res
.
data
.
extended_irq
.
interrupts
[
0
]
=
irq
;
/* ignore resource_source, it's optional */
resource
.
end
.
id
=
ACPI_RSTYPE_END_TAG
;
}
status
=
acpi_set_current_resources
(
link
->
handle
,
&
buffer
);
if
(
ACPI_FAILURE
(
status
))
{
...
...
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