diff options
author | Roman Zippel <zippel@linux-m68k.org> | 2006-06-25 08:47:04 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:00:58 -0400 |
commit | 9c5f4afdfbe72d5d1c814ad7286a4524d00c7b96 (patch) | |
tree | 7492a9533010d2016ff90a7372465edebcbb0d20 /include | |
parent | 35353bb8b869f3a0a153d0674cdafbe4f64aaa05 (diff) |
[PATCH] m68k: convert mac irq code
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-m68k/mac_oss.h | 10 | ||||
-rw-r--r-- | include/asm-m68k/macintosh.h | 10 | ||||
-rw-r--r-- | include/asm-m68k/macints.h | 3 |
3 files changed, 5 insertions, 18 deletions
diff --git a/include/asm-m68k/mac_oss.h b/include/asm-m68k/mac_oss.h index 7644a639cd6c..7221f7251934 100644 --- a/include/asm-m68k/mac_oss.h +++ b/include/asm-m68k/mac_oss.h | |||
@@ -69,12 +69,12 @@ | |||
69 | 69 | ||
70 | #define OSS_IRQLEV_DISABLED 0 | 70 | #define OSS_IRQLEV_DISABLED 0 |
71 | #define OSS_IRQLEV_IOPISM 1 /* ADB? */ | 71 | #define OSS_IRQLEV_IOPISM 1 /* ADB? */ |
72 | #define OSS_IRQLEV_SCSI 2 | 72 | #define OSS_IRQLEV_SCSI IRQ_AUTO_2 |
73 | #define OSS_IRQLEV_NUBUS 3 /* keep this on its own level */ | 73 | #define OSS_IRQLEV_NUBUS IRQ_AUTO_3 /* keep this on its own level */ |
74 | #define OSS_IRQLEV_IOPSCC 4 /* matches VIA alternate mapping */ | 74 | #define OSS_IRQLEV_IOPSCC IRQ_AUTO_4 /* matches VIA alternate mapping */ |
75 | #define OSS_IRQLEV_SOUND 5 /* matches VIA alternate mapping */ | 75 | #define OSS_IRQLEV_SOUND IRQ_AUTO_5 /* matches VIA alternate mapping */ |
76 | #define OSS_IRQLEV_60HZ 6 /* matches VIA alternate mapping */ | 76 | #define OSS_IRQLEV_60HZ 6 /* matches VIA alternate mapping */ |
77 | #define OSS_IRQLEV_VIA1 6 /* matches VIA alternate mapping */ | 77 | #define OSS_IRQLEV_VIA1 IRQ_AUTO_6 /* matches VIA alternate mapping */ |
78 | #define OSS_IRQLEV_PARITY 7 /* matches VIA alternate mapping */ | 78 | #define OSS_IRQLEV_PARITY 7 /* matches VIA alternate mapping */ |
79 | 79 | ||
80 | #ifndef __ASSEMBLY__ | 80 | #ifndef __ASSEMBLY__ |
diff --git a/include/asm-m68k/macintosh.h b/include/asm-m68k/macintosh.h index 6fc3d19512d1..27d11da2b479 100644 --- a/include/asm-m68k/macintosh.h +++ b/include/asm-m68k/macintosh.h | |||
@@ -11,17 +11,7 @@ | |||
11 | extern void mac_reset(void); | 11 | extern void mac_reset(void); |
12 | extern void mac_poweroff(void); | 12 | extern void mac_poweroff(void); |
13 | extern void mac_init_IRQ(void); | 13 | extern void mac_init_IRQ(void); |
14 | extern int mac_request_irq (unsigned int, irqreturn_t (*)(int, void *, | ||
15 | struct pt_regs *), | ||
16 | unsigned long, const char *, void *); | ||
17 | extern void mac_free_irq(unsigned int, void *); | ||
18 | extern void mac_enable_irq(unsigned int); | ||
19 | extern void mac_disable_irq(unsigned int); | ||
20 | extern int mac_irq_pending(unsigned int); | 14 | extern int mac_irq_pending(unsigned int); |
21 | extern int show_mac_interrupts(struct seq_file *, void *); | ||
22 | #if 0 | ||
23 | extern void mac_default_handler(int irq); | ||
24 | #endif | ||
25 | extern void mac_identify(void); | 15 | extern void mac_identify(void); |
26 | extern void mac_report_hardware(void); | 16 | extern void mac_report_hardware(void); |
27 | extern void mac_debugging_penguin(int); | 17 | extern void mac_debugging_penguin(int); |
diff --git a/include/asm-m68k/macints.h b/include/asm-m68k/macints.h index c9604f821bd4..679c48ab4407 100644 --- a/include/asm-m68k/macints.h +++ b/include/asm-m68k/macints.h | |||
@@ -152,7 +152,4 @@ | |||
152 | #define INT_CLK 24576 /* CLK while int_clk =2.456MHz and divide = 100 */ | 152 | #define INT_CLK 24576 /* CLK while int_clk =2.456MHz and divide = 100 */ |
153 | #define INT_TICKS 246 /* to make sched_time = 99.902... HZ */ | 153 | #define INT_TICKS 246 /* to make sched_time = 99.902... HZ */ |
154 | 154 | ||
155 | extern irq_node_t *mac_irq_list[NUM_MAC_SOURCES]; | ||
156 | extern void mac_do_irq_list(int irq, struct pt_regs *); | ||
157 | |||
158 | #endif /* asm/macints.h */ | 155 | #endif /* asm/macints.h */ |