update sangam-atm driver to 07.02.01.00 (closes: #2177, thanks to Matteo Croce)
[openwrt/svn-archive/archive.git] / package / ar7-atm / patches / 140-debug_mode.patch
1 --- atm.old/tn7sar.c 2007-06-25 13:25:44.000000000 +0200
2 +++ atm.dev/tn7sar.c 2007-06-25 13:26:33.000000000 +0200
3 @@ -102,10 +102,10 @@
4
5 #define RESERVED_OAM_CHANNEL 15
6
7 -#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]"
8 -#define SAR_PARM "id=sar,base = 0x03000000, reset_bit = 9, offset = 0; UniNni = 0, PdspEnable = 1"
9 +#define CH0_PARM "RxBufSize=1522, RxNumBuffers=32, RxServiceMax=50, TxServiceMax=50, TxNumBuffers=32, CpcsUU=0x5aa5, TxVc_CellRate=0x3000, TxVc_AtmHeader=0x00000640"
10 +#define AAL5_PARM "id=aal5, base=0x03000000, offset=0, int_line=15, ch0=[" CH0_PARM "]"
11 +#define SAR_PARM "id=sar, base=0x03000000, reset_bit=9, offset=0; UniNni=0, PdspEnable=1, Debug=0xFFFFFFFF"
12 #define RESET_PARM "id=ResetControl, base=0xA8611600"
13 -#define CH0_PARM "RxBufSize=1522, RxNumBuffers = 32, RxServiceMax = 50, TxServiceMax=50, TxNumBuffers=32, CpcsUU=0x5aa5, TxVc_CellRate=0x3000, TxVc_AtmHeader=0x00000640"
14
15 #define MAX_PVC_TABLE_ENTRY 16
16