Skip to contentSkip to conversation

8260/8xx IRQ patch

PATCH Allen Curtis 2 participants 2 messages Aug 28, 2002

lore
Share & tools
lore
#0 lore raw

Here is a patch for request_8xxirq()

--
All things come to those who wait. Some of us just have to wait a little longer...

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux 2.4 for PowerPC development tree
# This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas:
# ChangeSet 1.1114 -> 1.1114.1.1
# include/asm-ppc/mpc8xx.h 1.22 -> 1.23
# arch/ppc/kernel/irq.c 1.53 -> 1.54
# arch/ppc/kernel/ppc_ksyms.c 1.97 -> 1.98
# arch/ppc/kernel/m8260_setup.c 1.37 -> 1.38
# include/asm-ppc/irq.h 1.20 -> 1.21
# include/asm-ppc/mpc8260.h 1.14 -> 1.15
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/08/26 [email protected] 1.1115
# Make update for cross development.
# --------------------------------------------
# 02/08/26 [email protected] 1.1116
# Added ability to configure the 8260 clocks used by FCC ethernet. # --------------------------------------------
# 02/08/26 [email protected] 1.1114.1.1
# Removed request_irq() remapping for 8xx and 8260 architectures. # --------------------------------------------
#

arch/ppc/kernel/irq.c +0 -9
diff -Nru a/arch/ppc/kernel/irq.c b/arch/ppc/kernel/irq.c
@@ -177,15 +177,6 @@
 	return 0;
 }
 
-#if (defined(CONFIG_8xx) || defined(CONFIG_8260))
-/* Name change so we can catch standard drivers that potentially mess up
- * the internal interrupt controller on 8xx and 8260.  Just bear with me,
- * I don't like this either and I am searching a better solution.  For
- * now, this is what I need. -- Dan
- */
-#define request_irq	request_8xxirq
-#endif
-
 void free_irq(unsigned int irq, void* dev_id)
 {
 	irq_desc_t *desc;
arch/ppc/kernel/m8260_setup.c +0 -9
diff -Nru a/arch/ppc/kernel/m8260_setup.c b/arch/ppc/kernel/m8260_setup.c
@@ -275,12 +275,3 @@
 	ppc_md.kbd_init_hw		= NULL;
 	ppc_md.ppc_kbd_sysrq_xlate	= NULL;
 }
-
-/* Mainly for ksyms.
-*/
-int
-request_irq(unsigned int irq, void (*handler)(int, void *, struct pt_regs *),
-		       unsigned long flag, const char *naem, void *dev)
-{
-	panic("request IRQ\n");
-}
arch/ppc/kernel/ppc_ksyms.c +0 -3
diff -Nru a/arch/ppc/kernel/ppc_ksyms.c b/arch/ppc/kernel/ppc_ksyms.c
@@ -352,9 +352,6 @@
 EXPORT_SYMBOL(cpm_install_handler);
 EXPORT_SYMBOL(cpm_free_handler);
 #endif /* CONFIG_8xx */
-#if defined(CONFIG_8xx) || defined(CONFIG_8260)
-EXPORT_SYMBOL(request_8xxirq);
-#endif
 
 EXPORT_SYMBOL(ret_to_user_hook);
 EXPORT_SYMBOL(next_mmu_context);
include/asm-ppc/irq.h +43 -0

64 lines not on this page · raw message

include/asm-ppc/mpc8260.h +0 -6
diff -Nru a/include/asm-ppc/mpc8260.h b/include/asm-ppc/mpc8260.h
@@ -52,12 +52,6 @@
 */
 #include <asm/ptrace.h>
 
-extern int request_8xxirq(unsigned int irq,
-		       void (*handler)(int, void *, struct pt_regs *),
-		       unsigned long flags,
-		       const char *device,
-		       void *dev_id);
-
 #endif /* CONFIG_8260 */
 #endif /* !__CONFIG_8260_DEFS */
 #endif /* __KERNEL__ */
include/asm-ppc/mpc8xx.h +0 -6
diff -Nru a/include/asm-ppc/mpc8xx.h b/include/asm-ppc/mpc8xx.h
@@ -99,12 +99,6 @@
  */
 extern unsigned char __res[];
 
-struct pt_regs;
-extern int request_8xxirq(unsigned int irq,
-		       void (*handler)(int, void *, struct pt_regs *),
-		       unsigned long flags,
-		       const char *device,
-		       void *dev_id);
 #endif /* !__ASSEMBLY__ */
 #endif /* CONFIG_8xx */
 #endif /* __CONFIG_8xx_DEFS */