mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 17:15:00 +02:00
allow bigger packets in the marvell switch (does not fix the mtu problems yet)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10970 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
07e771ac24
commit
0f2df09b10
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user