diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-linflex.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-linflex.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-linflex.c b/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-linflex.c index 20ffcf3d57..71be4dc424 100644 --- a/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-linflex.c +++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/console/console-linflex.c @@ -21,6 +21,7 @@ #include <bsp/console-linflex.h> #include <bsp.h> +#include <bsp/fatal.h> #include <bsp/irq.h> #ifdef MPC55XX_HAS_LINFLEX @@ -261,12 +262,12 @@ static int mpc55xx_linflex_first_open(int major, int minor, void *arg) rv = rtems_termios_set_initial_baud(tty, BSP_DEFAULT_BAUD_RATE); if (rv != 0) { - mpc55xx_fatal(MPC55XX_FATAL_CONSOLE_LINFLEX_BAUD); + bsp_fatal(MPC55XX_FATAL_CONSOLE_LINFLEX_BAUD); } rv = mpc55xx_linflex_set_attributes(minor, &tty->termios); if (rv != 0) { - mpc55xx_fatal(MPC55XX_FATAL_CONSOLE_LINFLEX_ATTRIBUTES); + bsp_fatal(MPC55XX_FATAL_CONSOLE_LINFLEX_ATTRIBUTES); } sc = mpc55xx_interrupt_handler_install( @@ -278,7 +279,7 @@ static int mpc55xx_linflex_first_open(int major, int minor, void *arg) self ); if (sc != RTEMS_SUCCESSFUL) { - mpc55xx_fatal(MPC55XX_FATAL_CONSOLE_LINFLEX_RX_IRQ_INSTALL); + bsp_fatal(MPC55XX_FATAL_CONSOLE_LINFLEX_RX_IRQ_INSTALL); } sc = mpc55xx_interrupt_handler_install( @@ -290,7 +291,7 @@ static int mpc55xx_linflex_first_open(int major, int minor, void *arg) self ); if (sc != RTEMS_SUCCESSFUL) { - mpc55xx_fatal(MPC55XX_FATAL_CONSOLE_LINFLEX_TX_IRQ_INSTALL); + bsp_fatal(MPC55XX_FATAL_CONSOLE_LINFLEX_TX_IRQ_INSTALL); } /* @@ -303,7 +304,7 @@ static int mpc55xx_linflex_first_open(int major, int minor, void *arg) self ); if (sc != RTEMS_SUCCESSFUL) { - mpc55xx_fatal(MPC55XX_FATAL_CONSOLE_LINFLEX_ERR_IRQ_INSTALL); + bsp_fatal(MPC55XX_FATAL_CONSOLE_LINFLEX_ERR_IRQ_INSTALL); } */ @@ -333,7 +334,7 @@ static int mpc55xx_linflex_last_close(int major, int minor, void* arg) self ); if (sc != RTEMS_SUCCESSFUL) { - mpc55xx_fatal(MPC55XX_FATAL_CONSOLE_LINFLEX_RX_IRQ_REMOVE); + bsp_fatal(MPC55XX_FATAL_CONSOLE_LINFLEX_RX_IRQ_REMOVE); } sc = rtems_interrupt_handler_remove( @@ -342,7 +343,7 @@ static int mpc55xx_linflex_last_close(int major, int minor, void* arg) self ); if (sc != RTEMS_SUCCESSFUL) { - mpc55xx_fatal(MPC55XX_FATAL_CONSOLE_LINFLEX_TX_IRQ_REMOVE); + bsp_fatal(MPC55XX_FATAL_CONSOLE_LINFLEX_TX_IRQ_REMOVE); } /* @@ -352,7 +353,7 @@ static int mpc55xx_linflex_last_close(int major, int minor, void* arg) self ); if (sc != RTEMS_SUCCESSFUL) { - mpc55xx_fatal(MPC55XX_FATAL_CONSOLE_LINFLEX_ERR_IRQ_REMOVE); + bsp_fatal(MPC55XX_FATAL_CONSOLE_LINFLEX_ERR_IRQ_REMOVE); } */ |