diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2017-02-11 17:30:18 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2017-02-11 23:31:47 +0100 |
commit | ca9b9969fb3f3853f7c6beb43bd496d90c7efe80 (patch) | |
tree | 5c32a8613ed51d7cae6778181b9b1231576b4516 /package/kernel/lantiq | |
parent | c7ce9908bd58af60153716aa64a72510a3a26b35 (diff) | |
download | upstream-ca9b9969fb3f3853f7c6beb43bd496d90c7efe80.tar.gz upstream-ca9b9969fb3f3853f7c6beb43bd496d90c7efe80.tar.bz2 upstream-ca9b9969fb3f3853f7c6beb43bd496d90c7efe80.zip |
ltq-vmmc: fix build with kernel 4.9
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/lantiq')
6 files changed, 74 insertions, 68 deletions
diff --git a/package/kernel/lantiq/ltq-vmmc/patches/000-portability.patch b/package/kernel/lantiq/ltq-vmmc/patches/000-portability.patch index 48602476f4..a9dd957792 100644 --- a/package/kernel/lantiq/ltq-vmmc/patches/000-portability.patch +++ b/package/kernel/lantiq/ltq-vmmc/patches/000-portability.patch @@ -124,7 +124,7 @@ { IFX_int32_t retvalue = -EINVAL; mps_message rw_struct; -@@ -613,17 +644,30 @@ IFX_int32_t ifx_mps_ioctl (struct inode +@@ -613,17 +644,30 @@ IFX_int32_t ifx_mps_ioctl (struct inode 'mps_devices' enum type, which in fact is [0..8]; So, if inode value is [0..NUM_VOICE_CHANNEL+1], then we make sure that we are calling from kernel space. */ diff --git a/package/kernel/lantiq/ltq-vmmc/patches/100-target.patch b/package/kernel/lantiq/ltq-vmmc/patches/100-target.patch index 974ed831de..340a3d55c8 100644 --- a/package/kernel/lantiq/ltq-vmmc/patches/100-target.patch +++ b/package/kernel/lantiq/ltq-vmmc/patches/100-target.patch @@ -73,7 +73,7 @@ } while(0); /** -@@ -72,11 +34,6 @@ +@@ -72,11 +34,6 @@ do { \ */ #define VMMC_DRIVER_UNLOAD_HOOK(ret) \ do { \ @@ -102,7 +102,7 @@ /* ============================= */ /* Local Macros & Definitions */ -@@ -1591,7 +1599,7 @@ +@@ -1591,7 +1599,7 @@ IFX_void_t VMMC_DeviceDriverStop(IFX_voi #ifdef VMMC_DRIVER_UNLOAD_HOOK if (VDevices[0].nDevState & DS_GPIO_RESERVED) { @@ -170,7 +170,7 @@ #include "drv_mps_vmmc.h" #include "drv_mps_vmmc_dbg.h" -@@ -104,6 +129,9 @@ +@@ -104,6 +129,9 @@ extern IFX_void_t bsp_mask_and_ack_irq ( extern IFX_void_t mask_and_ack_danube_irq (IFX_uint32_t irq_nr); #endif /* */ @@ -180,7 +180,7 @@ extern IFXOS_event_t fw_ready_evt; /* callback function to free all data buffers currently used by voice FW */ IFX_void_t (*ifx_mps_bufman_freeall)(IFX_void_t) = IFX_NULL; -@@ -207,7 +235,8 @@ +@@ -207,7 +235,8 @@ IFX_boolean_t ifx_mps_ext_bufman () */ IFX_void_t *ifx_mps_fastbuf_malloc (IFX_size_t size, IFX_int32_t priority) { @@ -190,7 +190,7 @@ IFX_int32_t index = fastbuf_index; if (fastbuf_initialized == 0) -@@ -261,7 +290,7 @@ +@@ -261,7 +290,7 @@ IFX_void_t *ifx_mps_fastbuf_malloc (IFX_ */ IFX_void_t ifx_mps_fastbuf_free (const IFX_void_t * ptr) { @@ -199,7 +199,7 @@ IFX_int32_t index = fastbuf_index; IFXOS_LOCKINT (flags); -@@ -457,7 +486,7 @@ +@@ -457,7 +486,7 @@ static mps_buffer_state_e ifx_mps_bufman */ static IFX_int32_t ifx_mps_bufman_inc_level (IFX_uint32_t value) { @@ -208,7 +208,7 @@ if (mps_buffer.buf_level + value > MPS_BUFFER_MAX_LEVEL) { -@@ -484,7 +513,7 @@ +@@ -484,7 +513,7 @@ static IFX_int32_t ifx_mps_bufman_inc_le */ static IFX_int32_t ifx_mps_bufman_dec_level (IFX_uint32_t value) { @@ -217,7 +217,7 @@ if (mps_buffer.buf_level < value) { -@@ -636,7 +665,7 @@ +@@ -636,7 +665,7 @@ IFX_int32_t ifx_mps_bufman_buf_provide ( mem_seg_ptr[i] = (IFX_uint32_t *) CPHYSADDR ((IFX_uint32_t) mps_buffer. malloc (segment_size, FASTBUF_FW_OWNED)); @@ -226,7 +226,7 @@ { TRACE (MPS, DBG_LEVEL_HIGH, ("%s(): cannot allocate buffer\n", __FUNCTION__)); -@@ -952,7 +981,7 @@ +@@ -952,7 +981,7 @@ IFX_int32_t ifx_mps_common_open (mps_com mps_mbx_dev * pMBDev, IFX_int32_t bcommand, IFX_boolean_t from_kernel) { @@ -235,7 +235,7 @@ IFXOS_LOCKINT (flags); -@@ -1068,7 +1097,7 @@ +@@ -1068,7 +1097,7 @@ IFX_int32_t ifx_mps_common_close (mps_mb IFX_void_t ifx_mps_release_structures (mps_comm_dev * pDev) { IFX_int32_t count; @@ -244,7 +244,7 @@ IFXOS_LOCKINT (flags); IFXOS_BlockFree (pFW_img_data); -@@ -1117,7 +1146,7 @@ +@@ -1117,7 +1146,7 @@ IFX_uint32_t ifx_mps_init_structures (mp /* Initialize MPS main structure */ memset ((IFX_void_t *) pDev, 0, sizeof (mps_comm_dev)); @@ -253,7 +253,7 @@ pDev->flags = 0x00000000; MBX_Memory = pDev->base_global; -@@ -1125,9 +1154,11 @@ +@@ -1125,9 +1154,11 @@ IFX_uint32_t ifx_mps_init_structures (mp for MBX communication. These are: mailbox base address, mailbox size, * mailbox read index and mailbox write index. for command and voice mailbox, * upstream and downstream direction. */ @@ -268,7 +268,7 @@ MBX_Memory->MBX_UPSTR_CMD_BASE = (IFX_uint32_t *) CPHYSADDR ((IFX_uint32_t) MBX_UPSTRM_CMD_FIFO_BASE); MBX_Memory->MBX_UPSTR_CMD_SIZE = MBX_CMD_FIFO_SIZE; -@@ -1564,7 +1595,7 @@ +@@ -1564,7 +1595,7 @@ IFX_int32_t ifx_mps_mbx_read_message (mp IFX_uint32_t * bytes) { IFX_int32_t i, ret; @@ -277,7 +277,7 @@ IFXOS_LOCKINT (flags); -@@ -1774,7 +1805,7 @@ +@@ -1774,7 +1805,7 @@ IFX_int32_t ifx_mps_mbx_write_message (m { mps_fifo *mbx; IFX_uint32_t i; @@ -286,7 +286,7 @@ IFX_int32_t retval = -EAGAIN; IFX_int32_t retries = 0; IFX_uint32_t word = 0; -@@ -2169,6 +2200,7 @@ +@@ -2169,6 +2200,7 @@ IFX_int32_t ifx_mps_mbx_write_cmd (mps_m TRACE (MPS, DBG_LEVEL_HIGH, ("%s(): Invalid device ID %d !\n", __FUNCTION__, pMBDev->devID)); } @@ -294,7 +294,7 @@ return retval; } -@@ -2192,7 +2224,7 @@ +@@ -2192,7 +2224,7 @@ IFX_void_t ifx_mps_mbx_data_upstream (IF mps_mbx_dev *mbx_dev; MbxMsg_s msg; IFX_uint32_t bytes_read = 0; @@ -303,7 +303,7 @@ IFX_int32_t ret; /* set pointer to data upstream mailbox, no matter if 0,1,2 or 3 because -@@ -2283,7 +2315,7 @@ +@@ -2283,7 +2315,7 @@ IFX_void_t ifx_mps_mbx_data_upstream (IF { ifx_mps_bufman_dec_level (1); if ((ifx_mps_bufman_get_level () <= mps_buffer.buf_threshold) && @@ -312,7 +312,7 @@ { IFXOS_LockRelease (pMPSDev->provide_buffer); } -@@ -2326,7 +2358,7 @@ +@@ -2326,7 +2358,7 @@ IFX_void_t ifx_mps_mbx_data_upstream (IF #endif /* CONFIG_PROC_FS */ ifx_mps_bufman_dec_level (1); if ((ifx_mps_bufman_get_level () <= mps_buffer.buf_threshold) && @@ -321,7 +321,7 @@ { IFXOS_LockRelease (pMPSDev->provide_buffer); } -@@ -2356,7 +2388,7 @@ +@@ -2356,7 +2388,7 @@ IFX_void_t ifx_mps_mbx_data_upstream (IF IFX_void_t ifx_mps_mbx_cmd_upstream (IFX_ulong_t dummy) { mps_fifo *mbx; @@ -330,7 +330,7 @@ /* set pointer to upstream command mailbox */ mbx = &(pMPSDev->cmd_upstrm_fifo); -@@ -2404,7 +2436,7 @@ +@@ -2404,7 +2436,7 @@ IFX_void_t ifx_mps_mbx_event_upstream (I mps_event_msg msg; IFX_int32_t length = 0; IFX_int32_t read_length = 0; @@ -339,7 +339,7 @@ /* set pointer to upstream event mailbox */ mbx = &(pMPSDev->event_upstrm_fifo); -@@ -2619,6 +2651,7 @@ +@@ -2619,6 +2651,7 @@ IFX_void_t ifx_mps_enable_mailbox_int () #endif *IFX_MPS_AD0ENR = Ad0Reg.val; @@ -347,7 +347,7 @@ } /** -@@ -2647,7 +2680,7 @@ +@@ -2647,7 +2680,7 @@ IFX_void_t ifx_mps_disable_mailbox_int ( */ IFX_void_t ifx_mps_dd_mbx_int_enable (IFX_void_t) { @@ -356,7 +356,7 @@ MPS_Ad0Reg_u Ad0Reg; IFXOS_LOCKINT (flags); -@@ -2673,7 +2706,7 @@ +@@ -2673,7 +2706,7 @@ IFX_void_t ifx_mps_dd_mbx_int_enable (IF */ IFX_void_t ifx_mps_dd_mbx_int_disable (IFX_void_t) { @@ -365,7 +365,7 @@ MPS_Ad0Reg_u Ad0Reg; IFXOS_LOCKINT (flags); -@@ -2738,7 +2771,6 @@ +@@ -2738,7 +2771,6 @@ irqreturn_t ifx_mps_ad0_irq (IFX_int32_t #else /* */ mask_and_ack_danube_irq (irq); #endif /* */ @@ -373,7 +373,7 @@ /* FW is up and ready to process commands */ if (MPS_Ad0StatusReg.fld.dl_end) { -@@ -2800,6 +2832,7 @@ +@@ -2800,6 +2832,7 @@ irqreturn_t ifx_mps_ad0_irq (IFX_int32_t } } @@ -381,7 +381,7 @@ if (MPS_Ad0StatusReg.fld.du_mbx) { #ifdef CONFIG_PROC_FS -@@ -2944,12 +2977,12 @@ +@@ -2944,12 +2977,12 @@ irqreturn_t ifx_mps_vc_irq (IFX_int32_t IFX_MPS_CVC0SR[chan] = MPS_VCStatusReg.val; /* handle only enabled interrupts */ MPS_VCStatusReg.val &= IFX_MPS_VC0ENR[chan]; @@ -395,7 +395,7 @@ pMPSDev->event.MPS_VCStatReg[chan].val = MPS_VCStatusReg.val; #ifdef PRINT_ON_ERR_INTERRUPT if (MPS_VCStatusReg.fld.rcv_ov) -@@ -3093,7 +3126,8 @@ +@@ -3093,7 +3126,8 @@ IFX_int32_t ifx_mps_get_fw_version (IFX_ */ IFX_return_t ifx_mps_init_gpt () { @@ -405,7 +405,7 @@ IFX_ulong_t count; #if defined(SYSTEM_AR9) || defined(SYSTEM_VR9) timer = TIMER1A; -@@ -3166,6 +3200,7 @@ +@@ -3166,6 +3200,7 @@ IFX_void_t ifx_mps_shutdown_gpt (IFX_voi #else /* Danube */ timer = TIMER1B; #endif /* SYSTEM_AR9 || SYSTEM_VR9 */ @@ -437,7 +437,7 @@ +# include <linux/dma-mapping.h> + + -+#define LQ_RCU_BASE_ADDR (KSEG1 + LTQ_RCU_BASE_ADDR) ++#define LQ_RCU_BASE_ADDR (KSEG1 + 0x1F203000) +# define LQ_RCU_RST ((u32 *)(LQ_RCU_BASE_ADDR + 0x0010)) +#define IFX_RCU_RST_REQ_CPU1 (1 << 3) +# define IFX_RCU_RST_REQ LQ_RCU_RST @@ -449,7 +449,7 @@ #include "drv_mps_vmmc.h" #include "drv_mps_vmmc_dbg.h" -@@ -75,6 +89,20 @@ +@@ -75,6 +89,20 @@ IFX_void_t ifx_mps_release (IFX_void_t); /* Local function definition */ /* ============================= */ @@ -470,7 +470,7 @@ /****************************************************************************** * DANUBE Specific Routines ******************************************************************************/ -@@ -134,6 +162,15 @@ +@@ -134,6 +162,15 @@ IFX_int32_t ifx_mps_download_firmware (m } /* check if FW image fits in available memory space */ @@ -486,7 +486,7 @@ if (mem > ifx_get_cp1_size()) { TRACE (MPS, DBG_LEVEL_HIGH, -@@ -141,6 +178,7 @@ +@@ -141,6 +178,7 @@ IFX_int32_t ifx_mps_download_firmware (m __FILE__, __func__, __LINE__, mem, ifx_get_cp1_size())); return IFX_ERROR; } @@ -494,7 +494,7 @@ /* reset the driver */ ifx_mps_reset (); -@@ -361,7 +399,7 @@ +@@ -361,7 +399,7 @@ IFX_void_t ifx_mps_release (IFX_void_t) */ IFX_void_t ifx_mps_wdog_expiry() { @@ -673,7 +673,7 @@ /* lib_ifxos headers */ #include "ifx_types.h" -@@ -959,7 +960,7 @@ +@@ -959,7 +960,7 @@ long ifx_mps_ioctl (struct file *file_p, #endif /* MPS_FIFO_BLOCKING_WRITE */ case FIO_MPS_GET_STATUS: { @@ -682,7 +682,7 @@ /* get the status of the channel */ if (!from_kernel) -@@ -993,7 +994,7 @@ +@@ -993,7 +994,7 @@ long ifx_mps_ioctl (struct file *file_p, #if CONFIG_MPS_HISTORY_SIZE > 0 case FIO_MPS_GET_CMD_HISTORY: { @@ -691,7 +691,7 @@ if (from_kernel) { -@@ -1685,6 +1686,7 @@ +@@ -1685,6 +1686,7 @@ IFX_int32_t ifx_mps_get_status_proc (IFX sprintf (buf + len, " minLv: \t %8d\n", ifx_mps_dev.voice_mb[i].upstrm_fifo->min_space); } @@ -699,7 +699,7 @@ return len; } -@@ -2291,9 +2293,11 @@ +@@ -2291,9 +2293,11 @@ IFX_int32_t __init ifx_mps_init_module ( return result; } @@ -712,7 +712,7 @@ /* enable mailbox interrupts */ ifx_mps_enable_mailbox_int (); /* init FW ready event */ -@@ -2421,9 +2425,11 @@ +@@ -2421,9 +2425,11 @@ ifx_mps_cleanup_module (IFX_void_t) /* disable mailbox interrupts */ ifx_mps_disable_mailbox_int (); @@ -735,17 +735,4 @@ +#include "drv_vmmc_init.h" #include "drv_vmmc_api.h" #include "drv_vmmc_bbd.h" - -Index: drv_vmmc-1.9.0/src/mps/drv_mps_vmmc_danube.c -=================================================================== ---- drv_vmmc-1.9.0.orig/src/mps/drv_mps_vmmc_danube.c 2012-12-13 08:43:16.080109377 +0100 -+++ drv_vmmc-1.9.0/src/mps/drv_mps_vmmc_danube.c 2012-12-13 08:43:48.584110192 +0100 -@@ -44,7 +44,7 @@ - # include <linux/dma-mapping.h> - --#define LQ_RCU_BASE_ADDR (KSEG1 + LTQ_RCU_BASE_ADDR) -+#define LQ_RCU_BASE_ADDR (KSEG1 + 0x1F203000) - # define LQ_RCU_RST ((u32 *)(LQ_RCU_BASE_ADDR + 0x0010)) - #define IFX_RCU_RST_REQ_CPU1 (1 << 3) - # define IFX_RCU_RST_REQ LQ_RCU_RST diff --git a/package/kernel/lantiq/ltq-vmmc/patches/200-compat.patch b/package/kernel/lantiq/ltq-vmmc/patches/200-compat.patch index 70010c6fc7..bf9f17ed05 100644 --- a/package/kernel/lantiq/ltq-vmmc/patches/200-compat.patch +++ b/package/kernel/lantiq/ltq-vmmc/patches/200-compat.patch @@ -3,7 +3,7 @@ @@ -54,6 +54,8 @@ #include "drv_vmmc_res.h" #endif /* (VMMC_CFG_FEATURES & VMMC_FEAT_HDLC) */ - + +#undef VMMC_USE_PROC + /* ============================= */ @@ -14,14 +14,14 @@ @@ -80,11 +80,15 @@ /* ============================= */ #define IFX_MPS_DEV_NAME "ifx_mps" - + +#undef CONFIG_MPS_HISTORY_SIZE +#define CONFIG_MPS_HISTORY_SIZE 0 #ifndef CONFIG_MPS_HISTORY_SIZE #define CONFIG_MPS_HISTORY_SIZE 128 #warning CONFIG_MPS_HISTORY_SIZE should have been set via cofigure - setting to default 128 #endif - + +#undef CONFIG_PROC_FS + /* ============================= */ diff --git a/package/kernel/lantiq/ltq-vmmc/patches/400-falcon.patch b/package/kernel/lantiq/ltq-vmmc/patches/400-falcon.patch index 7ebf171ad2..9095d38c93 100644 --- a/package/kernel/lantiq/ltq-vmmc/patches/400-falcon.patch +++ b/package/kernel/lantiq/ltq-vmmc/patches/400-falcon.patch @@ -254,7 +254,7 @@ +IFX_void_t ifx_mps_release (IFX_void_t); +extern IFX_uint32_t ifx_mps_reset_structures (mps_comm_dev * pMPSDev); +extern IFX_int32_t ifx_mps_bufman_close (IFX_void_t); -+IFX_int32_t ifx_mps_wdog_callback (IFX_uint32_t wdog_cleared_ok_count); ++IFX_int32_t ifx_mps_wdog_callback (IFX_ulong_t wdog_cleared_ok_count); +extern IFXOS_event_t fw_ready_evt; +/* ============================= */ +/* Local function declaration */ @@ -586,7 +586,7 @@ + * \return 0 IFX_SUCCESS, cannot fail + * \ingroup Internal + */ -+IFX_int32_t ifx_mps_wdog_callback (IFX_uint32_t wdog_cleared_ok_count) ++IFX_int32_t ifx_mps_wdog_callback (IFX_ulong_t wdog_cleared_ok_count) +{ +#ifdef DEBUG + TRACE (MPS, DBG_LEVEL_HIGH, diff --git a/package/kernel/lantiq/ltq-vmmc/patches/500-ar9_vr9.patch b/package/kernel/lantiq/ltq-vmmc/patches/500-ar9_vr9.patch index 953724e473..a54cb79179 100644 --- a/package/kernel/lantiq/ltq-vmmc/patches/500-ar9_vr9.patch +++ b/package/kernel/lantiq/ltq-vmmc/patches/500-ar9_vr9.patch @@ -1,5 +1,5 @@ ---- drv_vmmc-1.9.0_orig/src/mps/drv_mps_vmmc_ar9.c 2010-03-08 14:08:30.000000000 +0100 -+++ drv_vmmc-1.9.0/src/mps/drv_mps_vmmc_ar9.c 2014-10-14 21:49:20.000000000 +0200 +--- a/src/mps/drv_mps_vmmc_ar9.c ++++ b/src/mps/drv_mps_vmmc_ar9.c @@ -30,15 +30,24 @@ #include "ifxos_interrupt.h" @@ -17,7 +17,7 @@ #include "drv_mps_vmmc.h" #include "drv_mps_vmmc_dbg.h" #include "drv_mps_vmmc_device.h" - + +const void (*ifx_bsp_basic_mps_decrypt)(unsigned int addr, int n) = NULL; + +#define IFX_MPS_SRAM IFXMIPS_MPS_SRAM @@ -25,7 +25,7 @@ /* ============================= */ /* Local Macros & Definitions */ /* ============================= */ -@@ -108,6 +108,7 @@ +@@ -98,6 +107,7 @@ IFX_int32_t (*ifx_wdog_callback) (IFX_ui */ IFX_int32_t ifx_mps_fw_wdog_start_ar9() { @@ -33,7 +33,7 @@ /* vpe1_wdog_ctr should be set up in u-boot as "vpe1_wdog_ctr_addr=0xBF2001B0"; protection from incorrect or missing setting */ -@@ -292,7 +302,19 @@ +@@ -292,6 +302,18 @@ IFX_int32_t ifx_mps_download_firmware (m decryption. Subtract sizeof(u32) from length to avoid decryption of data beyond the FW image code */ pFWDwnld->length -= sizeof(IFX_uint32_t); @@ -52,8 +52,7 @@ ifx_bsp_basic_mps_decrypt((IFX_uint32_t)cpu1_base_addr, pFWDwnld->length); } - /* calculate CRC32 checksum over downloaded image */ -@@ -306,7 +320,7 @@ +@@ -306,7 +328,7 @@ IFX_int32_t ifx_mps_download_firmware (m TRACE (MPS, DBG_LEVEL_HIGH, ("MPS: FW checksum error: img=0x%08x calc=0x%08x\r\n", pFW_img_data->crc32, cksum)); @@ -62,7 +61,7 @@ } } else -@@ -454,62 +473,62 @@ +@@ -454,62 +476,62 @@ IFX_int32_t ifx_mps_wdog_callback (IFX_u #endif /* DEBUG */ /* reset SmartSLIC */ @@ -176,8 +175,8 @@ /* recalculate and compare the firmware checksum */ ifx_mps_fw_crc_compare(cpu1_base_addr, pFW_img_data); ---- drv_vmmc-1.9.0_orig/src/drv_vmmc_amazon_s.h 2009-12-03 17:20:34.000000000 +0100 -+++ drv_vmmc-1.9.0/src/drv_vmmc_amazon_s.h 2014-10-16 10:30:48.000000000 +0200 +--- a/src/drv_vmmc_amazon_s.h ++++ b/src/drv_vmmc_amazon_s.h @@ -16,7 +16,7 @@ @@ -233,7 +232,7 @@ } while(0); /** -@@ -73,11 +34,6 @@ +@@ -73,11 +34,6 @@ do { \ */ #define VMMC_DRIVER_UNLOAD_HOOK(ret) \ do { \ diff --git a/package/kernel/lantiq/ltq-vmmc/patches/600-kernel-4.9.patch b/package/kernel/lantiq/ltq-vmmc/patches/600-kernel-4.9.patch new file mode 100644 index 0000000000..ed3764d3de --- /dev/null +++ b/package/kernel/lantiq/ltq-vmmc/patches/600-kernel-4.9.patch @@ -0,0 +1,20 @@ +--- a/src/mps/drv_mps_vmmc_ar9.c ++++ b/src/mps/drv_mps_vmmc_ar9.c +@@ -74,7 +74,7 @@ extern mps_comm_dev *pMPSDev; + IFX_void_t ifx_mps_release (IFX_void_t); + extern IFX_uint32_t ifx_mps_reset_structures (mps_comm_dev * pMPSDev); + extern IFX_int32_t ifx_mps_bufman_close (IFX_void_t); +-IFX_int32_t ifx_mps_wdog_callback (IFX_uint32_t wdog_cleared_ok_count); ++IFX_int32_t ifx_mps_wdog_callback (IFX_ulong_t wdog_cleared_ok_count); + extern IFXOS_event_t fw_ready_evt; + /* ============================= */ + /* Local function declaration */ +@@ -467,7 +467,7 @@ IFX_void_t ifx_mps_release (IFX_void_t) + * \return 0 IFX_SUCCESS, cannot fail + * \ingroup Internal + */ +-IFX_int32_t ifx_mps_wdog_callback (IFX_uint32_t wdog_cleared_ok_count) ++IFX_int32_t ifx_mps_wdog_callback (IFX_ulong_t wdog_cleared_ok_count) + { + IFX_uint32_t flags; + #ifdef DEBUG |