generic: ar8216: add support for ar724x/ar933x builtin switch
[openwrt/staging/nbd.git] / target / linux / generic / files / drivers / net / phy / ar8216.h
index 975ba23517b2ba6494afeeceb82a373632a1c961..0bdd3e9dd8225f3be10d82121cc4424b53e979a7 100644 (file)
@@ -26,6 +26,7 @@
 #define AR8216_PORT_CPU        0
 #define AR8216_NUM_PORTS       6
 #define AR8216_NUM_VLANS       16
+#define AR7240SW_NUM_PORTS     5
 #define AR8316_NUM_VLANS       4096
 
 /* size of the vlan table */
 #define   AR8216_ATU_CTRL_AGE_TIME_S   0
 #define   AR8236_ATU_CTRL_RES          BIT(20)
 #define   AR8216_ATU_CTRL_LEARN_CHANGE BIT(18)
+#define   AR8216_ATU_CTRL_RESERVED     BIT(19)
+#define   AR8216_ATU_CTRL_ARP_EN       BIT(20)
 
 #define AR8216_REG_TAG_PRIORITY        0x0070