200-compat.patch 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. --- a/src/drv_vmmc_linux.c
  2. +++ b/src/drv_vmmc_linux.c
  3. @@ -54,6 +54,8 @@
  4. #include "drv_vmmc_res.h"
  5. #endif /* (VMMC_CFG_FEATURES & VMMC_FEAT_HDLC) */
  6. +#undef VMMC_USE_PROC
  7. +
  8. /* ============================= */
  9. /* Local Macros & Definitions */
  10. /* ============================= */
  11. --- a/src/mps/drv_mps_vmmc_linux.c
  12. +++ b/src/mps/drv_mps_vmmc_linux.c
  13. @@ -80,11 +80,15 @@
  14. /* ============================= */
  15. #define IFX_MPS_DEV_NAME "ifx_mps"
  16. +#undef CONFIG_MPS_HISTORY_SIZE
  17. +#define CONFIG_MPS_HISTORY_SIZE 0
  18. #ifndef CONFIG_MPS_HISTORY_SIZE
  19. #define CONFIG_MPS_HISTORY_SIZE 128
  20. #warning CONFIG_MPS_HISTORY_SIZE should have been set via cofigure - setting to default 128
  21. #endif
  22. +#undef CONFIG_PROC_FS
  23. +
  24. /* ============================= */
  25. /* Global variable definition */
  26. /* ============================= */
  27. @@ -2257,7 +2261,7 @@ IFX_int32_t __init ifx_mps_init_module (
  28. ifx_mps_reset ();
  29. result = request_irq (INT_NUM_IM4_IRL18,
  30. #ifdef LINUX_2_6
  31. - ifx_mps_ad0_irq, IRQF_DISABLED
  32. + ifx_mps_ad0_irq, 0x0
  33. #else /* */
  34. (irqreturn_t (*)(int, IFX_void_t *, struct pt_regs *))
  35. ifx_mps_ad0_irq, SA_INTERRUPT
  36. @@ -2267,7 +2271,7 @@ IFX_int32_t __init ifx_mps_init_module (
  37. return result;
  38. result = request_irq (INT_NUM_IM4_IRL19,
  39. #ifdef LINUX_2_6
  40. - ifx_mps_ad1_irq, IRQF_DISABLED
  41. + ifx_mps_ad1_irq, 0x0
  42. #else /* */
  43. (irqreturn_t (*)(int, IFX_void_t *, struct pt_regs *))
  44. ifx_mps_ad1_irq, SA_INTERRUPT
  45. @@ -2282,7 +2286,7 @@ IFX_int32_t __init ifx_mps_init_module (
  46. sprintf (&voice_channel_int_name[i][0], "mps_mbx vc%d", i);
  47. result = request_irq (INT_NUM_IM4_IRL14 + i,
  48. #ifdef LINUX_2_6
  49. - ifx_mps_vc_irq, IRQF_DISABLED
  50. + ifx_mps_vc_irq, 0x0
  51. #else /* */
  52. (irqreturn_t (*)
  53. (int, IFX_void_t *,