ramips: add jumbo frame support for v4.9
[openwrt/openwrt.git] / target / linux / ramips / files-4.9 / drivers / net / ethernet / mtk / gsw_mt7620.h
index 77dd2ed0b801d4d03279b7a5a61958a51358aa80..ae0b6de02416bbf9604c32c3a74b93173d6399a6 100644 (file)
 #define GSW_REG_ISR            0x700c
 #define GSW_REG_GPC1           0x7014
 
+#define GSW_REG_MAC_P0_MCR     0x100
+#define GSW_REG_MAC_P1_MCR     0x200
+
+// Global MAC control register
+#define GSW_REG_GMACCR         0x30E0
+
 #define SYSC_REG_CHIP_REV_ID   0x0c
 #define SYSC_REG_CFG1          0x14
 #define RST_CTRL_MCM           BIT(2)