summaryrefslogtreecommitdiff
path: root/cesar/hal/phy/soft/bridgedma/bridgedma_crc.h
blob: 970a4e2adf1d949562278ca8d0ba69804388982a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef hal_phy_soft_bridgedma_bridgedma_crc_h
#define hal_phy_soft_bridgedma_bridgedma_crc_h
/* Cesar project {{{
 *
 * Copyright (C) 2009 Spidcom
 *
 * <<<Licence>>>
 *
 * }}} */
/**
 * \file    hal/phy/soft/bridgedma/bridgedma_crc.h
 * \brief   Context for the bridge DMA soft version.
 * \ingroup hal_phy
 */

/* Defines for bridge DMA crc computation on PC or SPARC. */
#ifdef __sparc__
 #define bridgedma_crc_compute_continue_block crc_compute_continue_block_le
 #define bridgedma_crc_compute_block crc_compute_block_le
#else
 #define bridgedma_crc_compute_continue_block crc_compute_continue_block
 #define bridgedma_crc_compute_block crc_compute_block
#endif

#endif /* hal_phy_soft_bridgedma_bridgedma_crc_h */