diff options
author | David Shaohua Li <shaohua.li@intel.com> | 2005-04-01 00:07:31 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-07-12 00:03:30 -0400 |
commit | c9c3e457de24cca2ca688fa397d93a241f472048 (patch) | |
tree | 570b7a07f9c6f570341481500a2bff21c1328d8d /include | |
parent | acf05f4b7f558051ea0028e8e617144123650272 (diff) |
[ACPI] PNPACPI vs sound IRQ
http://bugme.osdl.org/show_bug.cgi?id=4016
Written-by: David Shaohua Li <shaohua.li@intel.com>
Acked-by: Adam Belay <abelay@novell.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-alpha/pci.h | 2 | ||||
-rw-r--r-- | include/asm-arm/pci.h | 2 | ||||
-rw-r--r-- | include/asm-h8300/pci.h | 2 | ||||
-rw-r--r-- | include/asm-i386/pci.h | 2 | ||||
-rw-r--r-- | include/asm-ia64/pci.h | 2 | ||||
-rw-r--r-- | include/asm-m68k/pci.h | 2 | ||||
-rw-r--r-- | include/asm-mips/pci.h | 2 | ||||
-rw-r--r-- | include/asm-ppc/pci.h | 2 | ||||
-rw-r--r-- | include/asm-ppc64/pci.h | 2 | ||||
-rw-r--r-- | include/asm-sh/pci.h | 2 | ||||
-rw-r--r-- | include/asm-sh64/pci.h | 2 | ||||
-rw-r--r-- | include/asm-sparc/pci.h | 2 | ||||
-rw-r--r-- | include/asm-sparc64/pci.h | 2 | ||||
-rw-r--r-- | include/asm-x86_64/pci.h | 2 | ||||
-rw-r--r-- | include/linux/acpi.h | 2 |
15 files changed, 15 insertions, 15 deletions
diff --git a/include/asm-alpha/pci.h b/include/asm-alpha/pci.h index 0c7b57bc043a..7109860f98ec 100644 --- a/include/asm-alpha/pci.h +++ b/include/asm-alpha/pci.h | |||
@@ -58,7 +58,7 @@ struct pci_controller { | |||
58 | 58 | ||
59 | extern void pcibios_set_master(struct pci_dev *dev); | 59 | extern void pcibios_set_master(struct pci_dev *dev); |
60 | 60 | ||
61 | extern inline void pcibios_penalize_isa_irq(int irq) | 61 | extern inline void pcibios_penalize_isa_irq(int irq, int active) |
62 | { | 62 | { |
63 | /* We don't do dynamic PCI IRQ allocation */ | 63 | /* We don't do dynamic PCI IRQ allocation */ |
64 | } | 64 | } |
diff --git a/include/asm-arm/pci.h b/include/asm-arm/pci.h index 40ffaefbeb1a..0f437e262314 100644 --- a/include/asm-arm/pci.h +++ b/include/asm-arm/pci.h | |||
@@ -14,7 +14,7 @@ static inline void pcibios_set_master(struct pci_dev *dev) | |||
14 | /* No special bus mastering setup handling */ | 14 | /* No special bus mastering setup handling */ |
15 | } | 15 | } |
16 | 16 | ||
17 | static inline void pcibios_penalize_isa_irq(int irq) | 17 | static inline void pcibios_penalize_isa_irq(int irq, int active) |
18 | { | 18 | { |
19 | /* We don't do dynamic PCI IRQ allocation */ | 19 | /* We don't do dynamic PCI IRQ allocation */ |
20 | } | 20 | } |
diff --git a/include/asm-h8300/pci.h b/include/asm-h8300/pci.h index d032729b19df..5edad5b70fd5 100644 --- a/include/asm-h8300/pci.h +++ b/include/asm-h8300/pci.h | |||
@@ -15,7 +15,7 @@ extern inline void pcibios_set_master(struct pci_dev *dev) | |||
15 | /* No special bus mastering setup handling */ | 15 | /* No special bus mastering setup handling */ |
16 | } | 16 | } |
17 | 17 | ||
18 | extern inline void pcibios_penalize_isa_irq(int irq) | 18 | extern inline void pcibios_penalize_isa_irq(int irq, int active) |
19 | { | 19 | { |
20 | /* We don't do dynamic PCI IRQ allocation */ | 20 | /* We don't do dynamic PCI IRQ allocation */ |
21 | } | 21 | } |
diff --git a/include/asm-i386/pci.h b/include/asm-i386/pci.h index fb749b85a739..e0dc1cea0b7c 100644 --- a/include/asm-i386/pci.h +++ b/include/asm-i386/pci.h | |||
@@ -27,7 +27,7 @@ void pcibios_config_init(void); | |||
27 | struct pci_bus * pcibios_scan_root(int bus); | 27 | struct pci_bus * pcibios_scan_root(int bus); |
28 | 28 | ||
29 | void pcibios_set_master(struct pci_dev *dev); | 29 | void pcibios_set_master(struct pci_dev *dev); |
30 | void pcibios_penalize_isa_irq(int irq); | 30 | void pcibios_penalize_isa_irq(int irq, int active); |
31 | struct irq_routing_table *pcibios_get_irq_routing_table(void); | 31 | struct irq_routing_table *pcibios_get_irq_routing_table(void); |
32 | int pcibios_set_irq_routing(struct pci_dev *dev, int pin, int irq); | 32 | int pcibios_set_irq_routing(struct pci_dev *dev, int pin, int irq); |
33 | 33 | ||
diff --git a/include/asm-ia64/pci.h b/include/asm-ia64/pci.h index a8314ee4e7d2..1cbd10b96b3a 100644 --- a/include/asm-ia64/pci.h +++ b/include/asm-ia64/pci.h | |||
@@ -47,7 +47,7 @@ pcibios_set_master (struct pci_dev *dev) | |||
47 | } | 47 | } |
48 | 48 | ||
49 | static inline void | 49 | static inline void |
50 | pcibios_penalize_isa_irq (int irq) | 50 | pcibios_penalize_isa_irq (int irq, int active) |
51 | { | 51 | { |
52 | /* We don't do dynamic PCI IRQ allocation */ | 52 | /* We don't do dynamic PCI IRQ allocation */ |
53 | } | 53 | } |
diff --git a/include/asm-m68k/pci.h b/include/asm-m68k/pci.h index 9e7d79ab5d13..9d2c07abe44f 100644 --- a/include/asm-m68k/pci.h +++ b/include/asm-m68k/pci.h | |||
@@ -43,7 +43,7 @@ static inline void pcibios_set_master(struct pci_dev *dev) | |||
43 | /* No special bus mastering setup handling */ | 43 | /* No special bus mastering setup handling */ |
44 | } | 44 | } |
45 | 45 | ||
46 | static inline void pcibios_penalize_isa_irq(int irq) | 46 | static inline void pcibios_penalize_isa_irq(int irq, int active) |
47 | { | 47 | { |
48 | /* We don't do dynamic PCI IRQ allocation */ | 48 | /* We don't do dynamic PCI IRQ allocation */ |
49 | } | 49 | } |
diff --git a/include/asm-mips/pci.h b/include/asm-mips/pci.h index c9c576b48556..3bf1cb5cd548 100644 --- a/include/asm-mips/pci.h +++ b/include/asm-mips/pci.h | |||
@@ -69,7 +69,7 @@ extern unsigned long PCIBIOS_MIN_MEM; | |||
69 | 69 | ||
70 | extern void pcibios_set_master(struct pci_dev *dev); | 70 | extern void pcibios_set_master(struct pci_dev *dev); |
71 | 71 | ||
72 | static inline void pcibios_penalize_isa_irq(int irq) | 72 | static inline void pcibios_penalize_isa_irq(int irq, int active) |
73 | { | 73 | { |
74 | /* We don't do dynamic PCI IRQ allocation */ | 74 | /* We don't do dynamic PCI IRQ allocation */ |
75 | } | 75 | } |
diff --git a/include/asm-ppc/pci.h b/include/asm-ppc/pci.h index ce5ae6d048f5..ebd34fffc730 100644 --- a/include/asm-ppc/pci.h +++ b/include/asm-ppc/pci.h | |||
@@ -37,7 +37,7 @@ extern inline void pcibios_set_master(struct pci_dev *dev) | |||
37 | /* No special bus mastering setup handling */ | 37 | /* No special bus mastering setup handling */ |
38 | } | 38 | } |
39 | 39 | ||
40 | extern inline void pcibios_penalize_isa_irq(int irq) | 40 | extern inline void pcibios_penalize_isa_irq(int irq, int active) |
41 | { | 41 | { |
42 | /* We don't do dynamic PCI IRQ allocation */ | 42 | /* We don't do dynamic PCI IRQ allocation */ |
43 | } | 43 | } |
diff --git a/include/asm-ppc64/pci.h b/include/asm-ppc64/pci.h index 6cd593f660a0..7c11687df3bb 100644 --- a/include/asm-ppc64/pci.h +++ b/include/asm-ppc64/pci.h | |||
@@ -37,7 +37,7 @@ static inline void pcibios_set_master(struct pci_dev *dev) | |||
37 | /* No special bus mastering setup handling */ | 37 | /* No special bus mastering setup handling */ |
38 | } | 38 | } |
39 | 39 | ||
40 | static inline void pcibios_penalize_isa_irq(int irq) | 40 | static inline void pcibios_penalize_isa_irq(int irq, int active) |
41 | { | 41 | { |
42 | /* We don't do dynamic PCI IRQ allocation */ | 42 | /* We don't do dynamic PCI IRQ allocation */ |
43 | } | 43 | } |
diff --git a/include/asm-sh/pci.h b/include/asm-sh/pci.h index 9c3b63d0105e..92bcb03426fe 100644 --- a/include/asm-sh/pci.h +++ b/include/asm-sh/pci.h | |||
@@ -36,7 +36,7 @@ struct pci_dev; | |||
36 | 36 | ||
37 | extern void pcibios_set_master(struct pci_dev *dev); | 37 | extern void pcibios_set_master(struct pci_dev *dev); |
38 | 38 | ||
39 | static inline void pcibios_penalize_isa_irq(int irq) | 39 | static inline void pcibios_penalize_isa_irq(int irq, int active) |
40 | { | 40 | { |
41 | /* We don't do dynamic PCI IRQ allocation */ | 41 | /* We don't do dynamic PCI IRQ allocation */ |
42 | } | 42 | } |
diff --git a/include/asm-sh64/pci.h b/include/asm-sh64/pci.h index 8cc14e139750..ea711108f0e7 100644 --- a/include/asm-sh64/pci.h +++ b/include/asm-sh64/pci.h | |||
@@ -26,7 +26,7 @@ extern void pcibios_set_master(struct pci_dev *dev); | |||
26 | /* | 26 | /* |
27 | * Set penalize isa irq function | 27 | * Set penalize isa irq function |
28 | */ | 28 | */ |
29 | static inline void pcibios_penalize_isa_irq(int irq) | 29 | static inline void pcibios_penalize_isa_irq(int irq, int active) |
30 | { | 30 | { |
31 | /* We don't do dynamic PCI IRQ allocation */ | 31 | /* We don't do dynamic PCI IRQ allocation */ |
32 | } | 32 | } |
diff --git a/include/asm-sparc/pci.h b/include/asm-sparc/pci.h index d200a25a7373..d875d9496a8c 100644 --- a/include/asm-sparc/pci.h +++ b/include/asm-sparc/pci.h | |||
@@ -20,7 +20,7 @@ extern inline void pcibios_set_master(struct pci_dev *dev) | |||
20 | /* No special bus mastering setup handling */ | 20 | /* No special bus mastering setup handling */ |
21 | } | 21 | } |
22 | 22 | ||
23 | extern inline void pcibios_penalize_isa_irq(int irq) | 23 | extern inline void pcibios_penalize_isa_irq(int irq, int active) |
24 | { | 24 | { |
25 | /* We don't do dynamic PCI IRQ allocation */ | 25 | /* We don't do dynamic PCI IRQ allocation */ |
26 | } | 26 | } |
diff --git a/include/asm-sparc64/pci.h b/include/asm-sparc64/pci.h index 2a0c85cd1c11..e38d6598d626 100644 --- a/include/asm-sparc64/pci.h +++ b/include/asm-sparc64/pci.h | |||
@@ -23,7 +23,7 @@ static inline void pcibios_set_master(struct pci_dev *dev) | |||
23 | /* No special bus mastering setup handling */ | 23 | /* No special bus mastering setup handling */ |
24 | } | 24 | } |
25 | 25 | ||
26 | static inline void pcibios_penalize_isa_irq(int irq) | 26 | static inline void pcibios_penalize_isa_irq(int irq, int active) |
27 | { | 27 | { |
28 | /* We don't do dynamic PCI IRQ allocation */ | 28 | /* We don't do dynamic PCI IRQ allocation */ |
29 | } | 29 | } |
diff --git a/include/asm-x86_64/pci.h b/include/asm-x86_64/pci.h index 8712520ca47f..9e8c273b785e 100644 --- a/include/asm-x86_64/pci.h +++ b/include/asm-x86_64/pci.h | |||
@@ -33,7 +33,7 @@ extern int (*pci_config_read)(int seg, int bus, int dev, int fn, int reg, int le | |||
33 | extern int (*pci_config_write)(int seg, int bus, int dev, int fn, int reg, int len, u32 value); | 33 | extern int (*pci_config_write)(int seg, int bus, int dev, int fn, int reg, int len, u32 value); |
34 | 34 | ||
35 | void pcibios_set_master(struct pci_dev *dev); | 35 | void pcibios_set_master(struct pci_dev *dev); |
36 | void pcibios_penalize_isa_irq(int irq); | 36 | void pcibios_penalize_isa_irq(int irq, int active); |
37 | struct irq_routing_table *pcibios_get_irq_routing_table(void); | 37 | struct irq_routing_table *pcibios_get_irq_routing_table(void); |
38 | int pcibios_set_irq_routing(struct pci_dev *dev, int pin, int irq); | 38 | int pcibios_set_irq_routing(struct pci_dev *dev, int pin, int irq); |
39 | 39 | ||
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index 70b3c52b75d7..9c14959bcfa0 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h | |||
@@ -465,7 +465,7 @@ struct acpi_prt_list { | |||
465 | struct pci_dev; | 465 | struct pci_dev; |
466 | 466 | ||
467 | int acpi_pci_irq_enable (struct pci_dev *dev); | 467 | int acpi_pci_irq_enable (struct pci_dev *dev); |
468 | void acpi_penalize_isa_irq(int irq); | 468 | void acpi_penalize_isa_irq(int irq, int active); |
469 | 469 | ||
470 | #ifdef CONFIG_ACPI_DEALLOCATE_IRQ | 470 | #ifdef CONFIG_ACPI_DEALLOCATE_IRQ |
471 | void acpi_pci_irq_disable (struct pci_dev *dev); | 471 | void acpi_pci_irq_disable (struct pci_dev *dev); |