summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/ep1a/irq/openpic_xxx_irq.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-09 15:15:55 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-10 10:17:17 -0500
commite160e41361105109a12edd6dfe04058ddcefac84 (patch)
tree7b3c1e8c6401bc3e4e48588cc9ae9c534fbc42e8 /c/src/lib/libbsp/powerpc/ep1a/irq/openpic_xxx_irq.c
parentpowerpc/ep1a: Fix multiple warnings (diff)
downloadrtems-e160e41361105109a12edd6dfe04058ddcefac84.tar.bz2
powerpc/ep1a: Remove if 0 sections
There may be useful nuggets for debug and alternate configurations in this code. There may be methods directly called by the application which are beyond normal APIs. We have no way of knowing this based on the comments in these files. There were no public prototypes so the routines and code in question should have be unused private methods. These will always be in the source code control system as a deletion. If some of the code is needed, justify it and provide a patch to restore it along with a prototype in a public place if needed and a better name.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/ep1a/irq/openpic_xxx_irq.c')
-rw-r--r--c/src/lib/libbsp/powerpc/ep1a/irq/openpic_xxx_irq.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/c/src/lib/libbsp/powerpc/ep1a/irq/openpic_xxx_irq.c b/c/src/lib/libbsp/powerpc/ep1a/irq/openpic_xxx_irq.c
index 728ffd43a2..67af151e13 100644
--- a/c/src/lib/libbsp/powerpc/ep1a/irq/openpic_xxx_irq.c
+++ b/c/src/lib/libbsp/powerpc/ep1a/irq/openpic_xxx_irq.c
@@ -150,34 +150,6 @@ int BSP_setup_the_pic(rtems_irq_global_settings* config)
rtems_hdl_tbl = config->irqHdlTbl;
/*
- * set up internal tables used by rtems interrupt prologue
- */
-#if 0
-#ifdef BSP_PCI_ISA_BRIDGE_IRQ
- /*
- * start with ISA IRQ
- */
- compute_i8259_masks_from_prio (config);
-
- for (i=BSP_ISA_IRQ_LOWEST_OFFSET; i < BSP_ISA_IRQ_LOWEST_OFFSET + BSP_ISA_IRQ_NUMBER; i++) {
- if (rtems_hdl_tbl[i].hdl != default_rtems_entry.hdl) {
- BSP_irq_enable_at_i8259s (i);
- }
- else {
- BSP_irq_disable_at_i8259s (i);
- }
- }
-
- if ( BSP_ISA_IRQ_NUMBER > 0 ) {
- /*
- * must enable slave pic anyway
- */
- BSP_irq_enable_at_i8259s (2);
- }
-#endif
-#endif
-
- /*
* continue with PCI IRQ
*/
for (i=BSP_PCI_IRQ_LOWEST_OFFSET; i < BSP_PCI_IRQ_LOWEST_OFFSET + BSP_PCI_IRQ_NUMBER ; i++) {