1 diff -uNr bcm5700-2.0.28.orig/src/b57um.c bcm5700-2.0.28/src/b57um.c
2 --- bcm5700-2.0.28.orig/src/b57um.c Sat Nov 3 06:05:21 2001
3 +++ bcm5700-2.0.28/src/b57um.c Sat Apr 27 14:35:35 2002
4 @@ -2215,10 +2215,11 @@
7 if (pUmDevice->dev->mtu > 1500) {
8 - pDevice->RxMtu = pUmDevice->dev->mtu + 14;
9 + pDevice->RxMtu = pUmDevice->dev->mtu + 18;
10 pDevice->RxJumboDescCnt = DEFAULT_JUMBO_RCV_DESC_COUNT;
13 + pDevice->RxMtu = pUmDevice->dev->mtu + 18;
14 pDevice->RxJumboDescCnt = 0;
18 rx_std_desc_cnt[index] = DEFAULT_RX_PACKET_DESC_COUNT;
20 pDevice->RxStdDescCnt = rx_std_desc_cnt[index];
21 - if ((mtu[index] > 1514) && ((rx_jumbo_desc_cnt[index] == 0) ||
22 + if ((mtu[index] > 1518) && ((rx_jumbo_desc_cnt[index] == 0) ||
23 (rx_jumbo_desc_cnt[index] >= T3_JUMBO_RCV_RCB_ENTRY_COUNT))) {
24 printk(KERN_WARNING "%s: Invalid rx_jumbo_desc_cnt parameter (%d), using %d\n", pUmDevice->dev->name, rx_jumbo_desc_cnt[index], DEFAULT_JUMBO_RCV_DESC_COUNT);
25 rx_jumbo_desc_cnt[index] = DEFAULT_JUMBO_RCV_DESC_COUNT;