From 254ba4f19f78c903db98db731b3b8cadab43eeed Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 24 Jul 2007 10:58:39 +0000 Subject: Add ar7-atm fixes by DerAgo, also fix compilation (the use of dumb inlining in prototypes caused it to fail) SVN-Revision: 8140 --- package/ar7-atm/patches/140-debug_mode.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package/ar7-atm/patches/140-debug_mode.patch (limited to 'package/ar7-atm/patches/140-debug_mode.patch') diff --git a/package/ar7-atm/patches/140-debug_mode.patch b/package/ar7-atm/patches/140-debug_mode.patch new file mode 100644 index 0000000000..b09234f5bd --- /dev/null +++ b/package/ar7-atm/patches/140-debug_mode.patch @@ -0,0 +1,16 @@ +--- atm.old/tn7sar.c 2007-06-25 13:25:44.000000000 +0200 ++++ atm.dev/tn7sar.c 2007-06-25 13:26:33.000000000 +0200 +@@ -102,10 +102,10 @@ + + #define RESERVED_OAM_CHANNEL 15 + +-#define AAL5_PARM "id=aal5, base = 0x03000000, offset = 0, int_line=15, ch0=[RxBufSize=1522; RxNumBuffers = 32; RxServiceMax = 50; TxServiceMax=50; TxNumBuffers=32; CpcsUU=0x5aa5; TxVc_CellRate=0x3000; TxVc_AtmHeader=0x00000640]" +-#define SAR_PARM "id=sar,base = 0x03000000, reset_bit = 9, offset = 0; UniNni = 0, PdspEnable = 1" ++#define CH0_PARM "RxBufSize=1522, RxNumBuffers=32, RxServiceMax=50, TxServiceMax=50, TxNumBuffers=32, CpcsUU=0x5aa5, TxVc_CellRate=0x3000, TxVc_AtmHeader=0x00000640" ++#define AAL5_PARM "id=aal5, base=0x03000000, offset=0, int_line=15, ch0=[" CH0_PARM "]" ++#define SAR_PARM "id=sar, base=0x03000000, reset_bit=9, offset=0; UniNni=0, PdspEnable=1, Debug=0xFFFFFFFF" + #define RESET_PARM "id=ResetControl, base=0xA8611600" +-#define CH0_PARM "RxBufSize=1522, RxNumBuffers = 32, RxServiceMax = 50, TxServiceMax=50, TxNumBuffers=32, CpcsUU=0x5aa5, TxVc_CellRate=0x3000, TxVc_AtmHeader=0x00000640" + + #define MAX_PVC_TABLE_ENTRY 16 + -- cgit v1.2.3