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
1d0a92e4
Commit
1d0a92e4
authored
Feb 17, 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
063e9f83
d7d51fa4
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
9 deletions
+40
-9
arch/i386/kernel/mpparse.c
arch/i386/kernel/mpparse.c
+13
-2
drivers/acpi/osl.c
drivers/acpi/osl.c
+7
-0
drivers/acpi/pci_link.c
drivers/acpi/pci_link.c
+20
-7
No files found.
arch/i386/kernel/mpparse.c
View file @
1d0a92e4
...
...
@@ -1027,8 +1027,19 @@ 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
)
{
/*
* See the note at the end of ACPI 2.0b section
* 5.2.10.8 for what this is about.
*/
if
(
entry
->
bus_irq
!=
entry
->
global_irq
)
{
acpi_fadt
.
sci_int
=
entry
->
global_irq
;
irq
=
entry
->
global_irq
;
break
;
}
else
return
;
}
entry
=
(
struct
acpi_table_int_src_ovr
*
)
((
unsigned
long
)
entry
+
entry
->
header
.
length
);
...
...
drivers/acpi/osl.c
View file @
1d0a92e4
...
...
@@ -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 @
1d0a92e4
...
...
@@ -306,6 +306,7 @@ acpi_pci_link_set (
memset
(
&
resource
,
0
,
sizeof
(
resource
));
/* NOTE: PCI interrupts are always level / active_low / shared. */
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
;
...
...
@@ -313,6 +314,18 @@ acpi_pci_link_set (
resource
.
res
.
data
.
irq
.
shared_exclusive
=
ACPI_SHARED
;
resource
.
res
.
data
.
irq
.
number_of_interrupts
=
1
;
resource
.
res
.
data
.
irq
.
interrupts
[
0
]
=
irq
;
}
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
);
...
...
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