Merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.git/

+25 -40
+1 -1
crypto/internal.h
··· 38 38 39 39 static inline void crypto_yield(struct crypto_tfm *tfm) 40 40 { 41 - if (!in_softirq()) 41 + if (!in_atomic()) 42 42 cond_resched(); 43 43 } 44 44
+5 -3
drivers/net/tg3.c
··· 61 61 62 62 #define DRV_MODULE_NAME "tg3" 63 63 #define PFX DRV_MODULE_NAME ": " 64 - #define DRV_MODULE_VERSION "3.27" 65 - #define DRV_MODULE_RELDATE "May 5, 2005" 64 + #define DRV_MODULE_VERSION "3.29" 65 + #define DRV_MODULE_RELDATE "May 23, 2005" 66 66 67 67 #define TG3_DEF_MAC_MODE 0 68 68 #define TG3_DEF_RX_MODE 0 ··· 205 205 { PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_TIGON3_5751F, 206 206 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, 207 207 { PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_TIGON3_5752, 208 + PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, 209 + { PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_TIGON3_5752M, 208 210 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, 209 211 { PCI_VENDOR_ID_BROADCOM, PCI_DEVICE_ID_TIGON3_5753, 210 212 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0UL }, ··· 8996 8994 return ret; 8997 8995 } 8998 8996 8999 - #define TEST_BUFFER_SIZE 0x400 8997 + #define TEST_BUFFER_SIZE 0x2000 9000 8998 9001 8999 static int __devinit tg3_test_dma(struct tg3 *tp) 9002 9000 {
+15 -24
include/linux/if_tr.h
··· 9 9 * 10 10 * Author: Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG> 11 11 * Donald Becker, <becker@super.org> 12 - * Peter De Schrijver, <stud11@cc4.kuleuven.ac.be> 12 + * Peter De Schrijver, <stud11@cc4.kuleuven.ac.be> 13 13 * 14 14 * This program is free software; you can redistribute it and/or 15 15 * modify it under the terms of the GNU General Public License ··· 19 19 #ifndef _LINUX_IF_TR_H 20 20 #define _LINUX_IF_TR_H 21 21 22 - 23 22 /* IEEE 802.5 Token-Ring magic constants. The frame sizes omit the preamble 24 23 and FCS/CRC (frame check sequence). */ 25 - #define TR_ALEN 6 /* Octets in one ethernet addr */ 26 - #define TR_HLEN (sizeof(struct trh_hdr)+sizeof(struct trllc)) 27 - #define AC 0x10 28 - #define LLC_FRAME 0x40 29 - #if 0 30 - #define ETH_HLEN 14 /* Total octets in header. */ 31 - #define ETH_ZLEN 60 /* Min. octets in frame sans FCS */ 32 - #define ETH_DATA_LEN 1500 /* Max. octets in payload */ 33 - #define ETH_FRAME_LEN 1514 /* Max. octets in frame sans FCS */ 34 - #endif 35 - 24 + #define TR_ALEN 6 /* Octets in one token-ring addr */ 25 + #define TR_HLEN (sizeof(struct trh_hdr)+sizeof(struct trllc)) 26 + #define AC 0x10 27 + #define LLC_FRAME 0x40 36 28 37 29 /* LLC and SNAP constants */ 38 - #define EXTENDED_SAP 0xAA 39 - #define UI_CMD 0x03 30 + #define EXTENDED_SAP 0xAA 31 + #define UI_CMD 0x03 40 32 41 33 /* This is an Token-Ring frame header. */ 42 34 struct trh_hdr { ··· 88 96 }; 89 97 90 98 /* source routing stuff */ 91 - 92 - #define TR_RII 0x80 93 - #define TR_RCF_DIR_BIT 0x80 94 - #define TR_RCF_LEN_MASK 0x1f00 95 - #define TR_RCF_BROADCAST 0x8000 /* all-routes broadcast */ 96 - #define TR_RCF_LIMITED_BROADCAST 0xC000 /* single-route broadcast */ 97 - #define TR_RCF_FRAME2K 0x20 98 - #define TR_RCF_BROADCAST_MASK 0xC000 99 - #define TR_MAXRIFLEN 18 99 + #define TR_RII 0x80 100 + #define TR_RCF_DIR_BIT 0x80 101 + #define TR_RCF_LEN_MASK 0x1f00 102 + #define TR_RCF_BROADCAST 0x8000 /* all-routes broadcast */ 103 + #define TR_RCF_LIMITED_BROADCAST 0xC000 /* single-route broadcast */ 104 + #define TR_RCF_FRAME2K 0x20 105 + #define TR_RCF_BROADCAST_MASK 0xC000 106 + #define TR_MAXRIFLEN 18 100 107 101 108 #endif /* _LINUX_IF_TR_H */
-1
include/linux/net.h
··· 101 101 * @sk: internal networking protocol agnostic socket representation 102 102 * @wait: wait queue for several uses 103 103 * @type: socket type (%SOCK_STREAM, etc) 104 - * @passcred: credentials (used only in Unix Sockets (aka PF_LOCAL)) 105 104 */ 106 105 struct socket { 107 106 socket_state state;
+1 -1
include/linux/netdevice.h
··· 503 503 #define SET_NETDEV_DEV(net, pdev) ((net)->class_dev.dev = (pdev)) 504 504 505 505 struct packet_type { 506 - unsigned short type; /* This is really htons(ether_type). */ 506 + __be16 type; /* This is really htons(ether_type). */ 507 507 struct net_device *dev; /* NULL is wildcarded here */ 508 508 int (*func) (struct sk_buff *, struct net_device *, 509 509 struct packet_type *);
+1
include/linux/pci_ids.h
··· 2064 2064 2065 2065 #define PCI_VENDOR_ID_BROADCOM 0x14e4 2066 2066 #define PCI_DEVICE_ID_TIGON3_5752 0x1600 2067 + #define PCI_DEVICE_ID_TIGON3_5752M 0x1601 2067 2068 #define PCI_DEVICE_ID_TIGON3_5700 0x1644 2068 2069 #define PCI_DEVICE_ID_TIGON3_5701 0x1645 2069 2070 #define PCI_DEVICE_ID_TIGON3_5702 0x1646
+1 -10
net/ipv4/tcp_input.c
··· 4355 4355 goto no_ack; 4356 4356 } 4357 4357 4358 - if (eaten) { 4359 - if (tcp_in_quickack_mode(tp)) { 4360 - tcp_send_ack(sk); 4361 - } else { 4362 - tcp_send_delayed_ack(sk); 4363 - } 4364 - } else { 4365 - __tcp_ack_snd_check(sk, 0); 4366 - } 4367 - 4358 + __tcp_ack_snd_check(sk, 0); 4368 4359 no_ack: 4369 4360 if (eaten) 4370 4361 __kfree_skb(skb);
+1
net/ipv6/xfrm6_output.c
··· 84 84 mtu = IPV6_MIN_MTU; 85 85 86 86 if (skb->len > mtu) { 87 + skb->dev = dst->dev; 87 88 icmpv6_send(skb, ICMPV6_PKT_TOOBIG, 0, mtu, skb->dev); 88 89 ret = -EMSGSIZE; 89 90 }