projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
allow bigger packets in the marvell switch (does not fix the mtu problems yet)
[openwrt.git]
/
target
/
linux
/
generic-2.6
/
files
/
drivers
/
net
/
phy
/
mvswitch.c
diff --git
a/target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c
b/target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c
index
834d312
..
cb0d377
100644
(file)
--- a/
target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c
+++ b/
target/linux/generic-2.6/files/drivers/net/phy/mvswitch.c
@@
-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;
This page took
0.024477 seconds
and
4
git commands to generate.