aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLennert Buytenhek <buytenh@wantstofly.org>2008-01-30 14:37:42 -0500
committerDavid S. Miller <davem@davemloft.net>2008-02-03 07:26:15 -0500
commitad84243eb4ec64215517fde0524d92ade47e6084 (patch)
tree14896ee9b6344d8049c9f3ec4cb10f9953d4c8f2 /drivers
parent83084fa39282e9230d590cc91544acb6638c89fa (diff)
rtl8150: use default MTU of 1500
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 <buytenh@wantstofly.org> Cc: Petko Manolov <petkan@nucleusys.com> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/usb/rtl8150.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/usb/rtl8150.c b/drivers/net/usb/rtl8150.c
index 33cbc306226c..7e1f00131f91 100644
--- a/drivers/net/usb/rtl8150.c
+++ b/drivers/net/usb/rtl8150.c
@@ -926,7 +926,6 @@ static int rtl8150_probe(struct usb_interface *intf,
926 netdev->set_multicast_list = rtl8150_set_multicast; 926 netdev->set_multicast_list = rtl8150_set_multicast;
927 netdev->set_mac_address = rtl8150_set_mac_address; 927 netdev->set_mac_address = rtl8150_set_mac_address;
928 netdev->get_stats = rtl8150_netdev_stats; 928 netdev->get_stats = rtl8150_netdev_stats;
929 netdev->mtu = RTL8150_MTU;
930 SET_ETHTOOL_OPS(netdev, &ops); 929 SET_ETHTOOL_OPS(netdev, &ops);
931 dev->intr_interval = 100; /* 100ms */ 930 dev->intr_interval = 100; /* 100ms */
932 931