summaryrefslogtreecommitdiffstats
path: root/bsps/mips
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2023-04-10 17:43:47 -1000
committerChris Johns <chris@contemporary.net.au>2023-04-11 14:54:54 +1000
commit25e1a1140283e440d06d4af544d02a46997ba495 (patch)
treeae1cdada3cec425d17a5cc16b3012a8ecac2db87 /bsps/mips
parentbsps/motorola_powerpc: Add spec support for BSP defines (diff)
downloadrtems-25e1a1140283e440d06d4af544d02a46997ba495.tar.bz2
bsps/motorola_powerpc: Change defines from BSP names to avoid clash
- Change mvme2100 to mot_pcc_mvme2100 to avoid clashing with the RTEMS_BSP value for the BSP. You cannot have a define that is the BSP name.
Diffstat (limited to 'bsps/mips')
-rw-r--r--bsps/mips/include/bsp/i8259.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsps/mips/include/bsp/i8259.h b/bsps/mips/include/bsp/i8259.h
index 1a947829b0..29e3853874 100644
--- a/bsps/mips/include/bsp/i8259.h
+++ b/bsps/mips/include/bsp/i8259.h
@@ -37,7 +37,7 @@
* @{
*/
-#if 1
+#if 1
#define ISA8259_M_ELCR 0x4d0
#define ISA8259_S_ELCR 0x4d1
#endif
@@ -169,7 +169,7 @@ extern "C" {
/** @} */
-#if defined(mvme2100)
+#if defined(mot_ppc_mvme2100)
#define BSP_DEC21143_IRQ (BSP_PCI_IRQ_LOWEST_OFFSET + 1)
#define BSP_PMC_PCMIP_TYPE1_SLOT0_IRQ (BSP_PCI_IRQ_LOWEST_OFFSET + 2)
#define BSP_PCMIP_TYPE1_SLOT1_IRQ (BSP_PCI_IRQ_LOWEST_OFFSET + 3)