projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83084fa
)
rtl8150: use default MTU of 1500
author
Lennert Buytenhek
<
[email protected]
>
Wed, 30 Jan 2008 19:37:42 +0000
(20:37 +0100)
committer
David S. Miller
<
[email protected]
>
Sun, 3 Feb 2008 12:26:15 +0000
(
04:26
-0800)
The RTL8150 driver uses an MTU of 1540 by default, which causes a
bunch of problems -- it prevents booting from NFS root, for one.
Signed-off-by: Lennert Buytenhek <
[email protected]
>
Cc: Petko Manolov <
[email protected]
>
Signed-off-by: Jeff Garzik <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/usb/rtl8150.c
patch
|
blob
|
history
diff --git
a/drivers/net/usb/rtl8150.c
b/drivers/net/usb/rtl8150.c
index 33cbc306226c67a9a98019d34c4b7eb1ba52b0d5..7e1f00131f91160833e023f416ae2834afeb52cf 100644
(file)
--- a/
drivers/net/usb/rtl8150.c
+++ b/
drivers/net/usb/rtl8150.c
@@
-926,7
+926,6
@@
static int rtl8150_probe(struct usb_interface *intf,
netdev->set_multicast_list = rtl8150_set_multicast;
netdev->set_mac_address = rtl8150_set_mac_address;
netdev->get_stats = rtl8150_netdev_stats;
- netdev->mtu = RTL8150_MTU;
SET_ETHTOOL_OPS(netdev, &ops);
dev->intr_interval = 100; /* 100ms */