summaryrefslogtreecommitdiff
path: root/cesar/hal/phy/inc/bridgedma.h
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/hal/phy/inc/bridgedma.h')
-rw-r--r--cesar/hal/phy/inc/bridgedma.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/cesar/hal/phy/inc/bridgedma.h b/cesar/hal/phy/inc/bridgedma.h
index 6802d21d6f..9467a28365 100644
--- a/cesar/hal/phy/inc/bridgedma.h
+++ b/cesar/hal/phy/inc/bridgedma.h
@@ -13,10 +13,9 @@
* \ingroup hal_phy
*/
#include "hal/phy/bridgedma.h"
+#include "hal/phy/inc/bridgedma_common.h"
#include "hal/phy/inc/bridgedma_it_mgr.h"
-#include "config/bridgedma/soft.h"
-
/** Bridge DMA control and configuration. */
struct phy_bridgedma_ctrl_t
{
@@ -37,15 +36,8 @@ typedef struct phy_bridgedma_ctrl_t phy_bridgedma_ctrl_t;
/** Bridge DMA context. */
struct phy_bridgedma_t
{
- /** User data passed to any callback. */
- void *user_data;
- /** Bridge DMA interrupt callback. */
- phy_bridgedma_cb_t bridgedma_cb;
- /** DSR callback. */
- phy_deferred_cb_t deferred_cb;
- /** Bridgedma last job. */
- phy_bridgedma_job_t *job_last;
-
+ /** Bridge DMA common context. */
+ phy_bridgedma_common_t bridge;
/** Interruption manager. */
phy_bridgedma_it_mgr_t it_mgr;
};