6e24045fc200a759a5a952efb2dbca74be00c33c
[openwrt/svn-archive/archive.git] / package / ar7-atm / patches / 140-debug_mode.patch
1 diff -urN sangam_atm-D7.03.01.00.orig/tn7sar.c sangam_atm-D7.03.01.00/tn7sar.c
2 --- sangam_atm-D7.03.01.00.orig/tn7sar.c 2008-01-05 03:11:23.000000000 +0100
3 +++ sangam_atm-D7.03.01.00/tn7sar.c 2008-01-05 03:13:22.000000000 +0100
4 @@ -103,10 +103,10 @@
5
6 #define RESERVED_OAM_CHANNEL 15
7
8 -#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]"
9 -#define SAR_PARM "id=sar,base = 0x03000000, reset_bit = 9, offset = 0; UniNni = 0, PdspEnable = 1"
10 +#define CH0_PARM "RxBufSize=1522, RxNumBuffers=32, RxServiceMax=50, TxServiceMax=50, TxNumBuffers=32, CpcsUU=0x5aa5, TxVc_CellRate=0x3000, TxVc_AtmHeader=0x00000640"
11 +#define AAL5_PARM "id=aal5, base=0x03000000, offset=0, int_line=15, ch0=[" CH0_PARM "]"
12 +#define SAR_PARM "id=sar, base=0x03000000, reset_bit=9, offset=0; UniNni=0, PdspEnable=1, Debug=0xFFFFFFFF"
13 #define RESET_PARM "id=ResetControl, base=0xA8611600"
14 -#define CH0_PARM "RxBufSize=1522, RxNumBuffers = 32, RxServiceMax = 50, TxServiceMax=50, TxNumBuffers=32, CpcsUU=0x5aa5, TxVc_CellRate=0x3000, TxVc_AtmHeader=0x00000640"
15
16 #define MAX_PVC_TABLE_ENTRY 16
17