diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-17 11:40:18 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-19 09:59:39 +0100 |
commit | 33cb8bf64d7b7551ea3a2e7ced5d4b56cd32d6db (patch) | |
tree | 9aca7c789c974a8e3d7538cfad7d40c4c9aef37a /c/src/lib/libbsp/powerpc/gen5200/ide/ata-instance.c | |
parent | score: Delete INTERNAL_ERROR_SHUTDOWN_WHEN_NOT_UP (diff) | |
download | rtems-33cb8bf64d7b7551ea3a2e7ced5d4b56cd32d6db.tar.bz2 |
score: Add RTEMS_FATAL_SOURCE_BSP
Merge RTEMS_FATAL_SOURCE_BSP_GENERIC and RTEMS_FATAL_SOURCE_BSP_SPECIFIC
into new fatal source RTEMS_FATAL_SOURCE_BSP. This makes it easier to
figure out the code position given a fatal source and code.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/gen5200/ide/ata-instance.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen5200/ide/ata-instance.c b/c/src/lib/libbsp/powerpc/gen5200/ide/ata-instance.c index 60380a8008..20e8f26904 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/ide/ata-instance.c +++ b/c/src/lib/libbsp/powerpc/gen5200/ide/ata-instance.c @@ -13,6 +13,7 @@ */ #include <bsp/ata.h> +#include <bsp/fatal.h> #include <libchip/ata.h> @@ -33,7 +34,7 @@ rtems_status_code rtems_ata_initialize( ata_driver_dma_pio_single_create(&ata_driver_instance, "/dev/hda", TASK_PCI_TX); } else { - mpc5200_fatal(MPC5200_FATAL_ATA_DISK_IO_INIT); + bsp_fatal(MPC5200_FATAL_ATA_DISK_IO_INIT); } return sc; |