1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 22:43:53 +01:00

allow bigger packets in the marvell switch (does not fix the mtu problems yet)

SVN-Revision: 10970
This commit is contained in:
Felix Fietkau 2008-04-28 21:59:06 +00:00
parent 8222e21432
commit c3fcb26d47

@ -288,6 +288,12 @@ mvswitch_config_init(struct phy_device *pdev)
);
}
/* init switch control */
w16(pdev, MV_SWITCHREG(CTRL),
MV_SWITCHCTL_MSIZE |
MV_SWITCHCTL_DROP
);
/* hook into the tx function */
priv->hardstart = dev->hard_start_xmit;
pdev->netif_receive_skb = mvswitch_netif_receive_skb;