summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/files/drivers/net/rtl819x/AsicDriver/rtl865x_asicL3.h
diff options
context:
space:
mode:
authorRoman Yeryomin <roman@advem.lv>2013-05-17 20:40:24 +0300
committerRoman Yeryomin <roman@advem.lv>2013-05-26 00:48:34 +0300
commit7e810011201bf926cba09ec07424893e4cd8ce67 (patch)
tree202fc7a42607e366848ca59c7a61a8f9fa2712ca /target/linux/realtek/files/drivers/net/rtl819x/AsicDriver/rtl865x_asicL3.h
parenta45894b5a0f65585440d98bf71ef3e919c84cb5f (diff)
Move to rsdk 3.2.4. Compiles cleanly.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Diffstat (limited to 'target/linux/realtek/files/drivers/net/rtl819x/AsicDriver/rtl865x_asicL3.h')
-rw-r--r--target/linux/realtek/files/drivers/net/rtl819x/AsicDriver/rtl865x_asicL3.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/target/linux/realtek/files/drivers/net/rtl819x/AsicDriver/rtl865x_asicL3.h b/target/linux/realtek/files/drivers/net/rtl819x/AsicDriver/rtl865x_asicL3.h
index 5afd2da21..3dbf8eecf 100644
--- a/target/linux/realtek/files/drivers/net/rtl819x/AsicDriver/rtl865x_asicL3.h
+++ b/target/linux/realtek/files/drivers/net/rtl819x/AsicDriver/rtl865x_asicL3.h
@@ -17,9 +17,17 @@
#define RTL8651_ROUTINGTBL_SIZE 8
#define RTL8651_ARPTBL_SIZE 512
-#if defined (CONFIG_RTL8196C_REVISION_B) || defined (CONFIG_RTL8198_REVISION_B)
+#if defined(CONFIG_RTL_8196E)
+
+#define RTL8651_MULTICASTTBL_SIZE 256
+#define RTL8651_IPMULTICASTTBL_SIZE 256
+#define RTL8651_IPMCAST_CAM_SIZE 32
+
+#elif defined (CONFIG_RTL8196C_REVISION_B) || defined (CONFIG_RTL8198_REVISION_B) || defined(CONFIG_RTL_819XD)
#define RTL8651_IPMULTICASTTBL_SIZE 128
#define RTL8651_MULTICASTTBL_SIZE 128
+#define RTL8651_IPMCAST_CAM_SIZE 32
+
#else
#define RTL8651_IPMULTICASTTBL_SIZE 64
#define RTL8651_MULTICASTTBL_SIZE 64
@@ -321,7 +329,7 @@ typedef struct {
} rtl865xc_tblAsic_arpTable_t;
typedef struct {
-#if defined (CONFIG_RTL8196C_REVISION_B) || defined (CONFIG_RTL8198_REVISION_B)
+#if defined (CONFIG_RTL8196C_REVISION_B) || defined (CONFIG_RTL8198_REVISION_B) || defined(CONFIG_RTL_819XD) || defined(CONFIG_RTL_8196E)
/* word 0 */
ipaddr_t srcIPAddr;
/* word 1 */