git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sfi: table irq 0xFF means 'no interrupt'
[pandora-kernel.git]
/
arch
/
x86
/
platform
/
mrst
/
mrst.c
diff --git
a/arch/x86/platform/mrst/mrst.c
b/arch/x86/platform/mrst/mrst.c
index
7000e74
..
58425ad
100644
(file)
--- a/
arch/x86/platform/mrst/mrst.c
+++ b/
arch/x86/platform/mrst/mrst.c
@@
-689,7
+689,9
@@
static int __init sfi_parse_devs(struct sfi_table_header *table)
irq_attr.trigger = 1;
irq_attr.polarity = 1;
io_apic_set_pci_routing(NULL, pentry->irq, &irq_attr);
- }
+ } else
+ pentry->irq = 0; /* No irq */
+
switch (pentry->type) {
case SFI_DEV_TYPE_IPC:
/* ID as IRQ is a hack that will go away */