aboutsummaryrefslogtreecommitdiffstats
path: root/package/ar7-atm/patches-D7.04.03.00/140-debug_mode.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-03-07 18:16:07 +0000
committerFlorian Fainelli <florian@openwrt.org>2010-03-07 18:16:07 +0000
commitae329c40eb19b7ef063eddd10e2da3eff2c57e63 (patch)
treed348669c87422adf4f7b9ac00fa2d3f56bdb53ba /package/ar7-atm/patches-D7.04.03.00/140-debug_mode.patch
parente7c6e9d6038a907a34e4907e41db53d810ea6721 (diff)
downloadupstream-ae329c40eb19b7ef063eddd10e2da3eff2c57e63.tar.gz
upstream-ae329c40eb19b7ef063eddd10e2da3eff2c57e63.tar.bz2
upstream-ae329c40eb19b7ef063eddd10e2da3eff2c57e63.zip
add support for new ar7-atm version D7.05.00.00 (#6515)
SVN-Revision: 20039
Diffstat (limited to 'package/ar7-atm/patches-D7.04.03.00/140-debug_mode.patch')
-rw-r--r--package/ar7-atm/patches-D7.04.03.00/140-debug_mode.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/ar7-atm/patches-D7.04.03.00/140-debug_mode.patch b/package/ar7-atm/patches-D7.04.03.00/140-debug_mode.patch
new file mode 100644
index 0000000000..ce3697b10d
--- /dev/null
+++ b/package/ar7-atm/patches-D7.04.03.00/140-debug_mode.patch
@@ -0,0 +1,16 @@
+--- a/tn7sar.c
++++ b/tn7sar.c
+@@ -103,10 +103,10 @@ enum
+
+ #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
+