forked from Ivasoft/openwrt
bmips: disable B53 MMAP phy read/write ops
Without this change, internal and external B53 switches couldn't coexist as reported in https://github.com/openwrt/openwrt/issues/10313. In order to fix this we need to force the B53 MMAP DSA switch driver to use bcm6368-mdio-mux for accessing the PHY registers instead of its own phy_read() and phy_write() functions. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
#include <linux/reset.h>
|
||||
|
||||
/* MTU */
|
||||
#define ENETSW_TAG_SIZE 6
|
||||
#define ENETSW_TAG_SIZE (6 + VLAN_HLEN)
|
||||
#define ENETSW_MTU_OVERHEAD (VLAN_ETH_HLEN + VLAN_HLEN + \
|
||||
ENETSW_TAG_SIZE)
|
||||
#define ENETSW_FRAG_SIZE(x) (SKB_DATA_ALIGN(NET_SKB_PAD + x + \
|
||||
|
||||
Reference in New Issue
Block a user