aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wan
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-01-25 14:17:34 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-25 14:17:34 -0500
commit4ba9920e5e9c0e16b5ed24292d45322907bb9035 (patch)
tree7d023baea59ed0886ded1f0b6d1c6385690b88f7 /drivers/net/wan
parent82c477669a4665eb4e52030792051e0559ee2a36 (diff)
parent8b662fe70c68282f78482dc272df0c4f355e49f5 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking updates from David Miller: 1) BPF debugger and asm tool by Daniel Borkmann. 2) Speed up create/bind in AF_PACKET, also from Daniel Borkmann. 3) Correct reciprocal_divide and update users, from Hannes Frederic Sowa and Daniel Borkmann. 4) Currently we only have a "set" operation for the hw timestamp socket ioctl, add a "get" operation to match. From Ben Hutchings. 5) Add better trace events for debugging driver datapath problems, also from Ben Hutchings. 6) Implement auto corking in TCP, from Eric Dumazet. Basically, if we have a small send and a previous packet is already in the qdisc or device queue, defer until TX completion or we get more data. 7) Allow userspace to manage ipv6 temporary addresses, from Jiri Pirko. 8) Add a qdisc bypass option for AF_PACKET sockets, from Daniel Borkmann. 9) Share IP header compression code between Bluetooth and IEEE802154 layers, from Jukka Rissanen. 10) Fix ipv6 router reachability probing, from Jiri Benc. 11) Allow packets to be captured on macvtap devices, from Vlad Yasevich. 12) Support tunneling in GRO layer, from Jerry Chu. 13) Allow bonding to be configured fully using netlink, from Scott Feldman. 14) Allow AF_PACKET users to obtain the VLAN TPID, just like they can already get the TCI. From Atzm Watanabe. 15) New "Heavy Hitter" qdisc, from Terry Lam. 16) Significantly improve the IPSEC support in pktgen, from Fan Du. 17) Allow ipv4 tunnels to cache routes, just like sockets. From Tom Herbert. 18) Add Proportional Integral Enhanced packet scheduler, from Vijay Subramanian. 19) Allow openvswitch to mmap'd netlink, from Thomas Graf. 20) Key TCP metrics blobs also by source address, not just destination address. From Christoph Paasch. 21) Support 10G in generic phylib. From Andy Fleming. 22) Try to short-circuit GRO flow compares using device provided RX hash, if provided. From Tom Herbert. The wireless and netfilter folks have been busy little bees too. * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (2064 commits) net/cxgb4: Fix referencing freed adapter ipv6: reallocate addrconf router for ipv6 address when lo device up fib_frontend: fix possible NULL pointer dereference rtnetlink: remove IFLA_BOND_SLAVE definition rtnetlink: remove check for fill_slave_info in rtnl_have_link_slave_info qlcnic: update version to 5.3.55 qlcnic: Enhance logic to calculate msix vectors. qlcnic: Refactor interrupt coalescing code for all adapters. qlcnic: Update poll controller code path qlcnic: Interrupt code cleanup qlcnic: Enhance Tx timeout debugging. qlcnic: Use bool for rx_mac_learn. bonding: fix u64 division rtnetlink: add missing IFLA_BOND_AD_INFO_UNSPEC sfc: Use the correct maximum TX DMA ring size for SFC9100 Add Shradha Shah as the sfc driver maintainer. net/vxlan: Share RX skb de-marking and checksum checks with ovs tulip: cleanup by using ARRAY_SIZE() ip_tunnel: clear IPCB in ip_tunnel_xmit() in case dst_link_failure() is called net/cxgb4: Don't retrieve stats during recovery ...
Diffstat (limited to 'drivers/net/wan')
-rw-r--r--drivers/net/wan/dscc4.c2
-rw-r--r--drivers/net/wan/hd64570.c1
-rw-r--r--drivers/net/wan/hd64570.h4
-rw-r--r--drivers/net/wan/hd64572.c1
-rw-r--r--drivers/net/wan/hd64572.h2
-rw-r--r--drivers/net/wan/lmc/lmc_main.c3
-rw-r--r--drivers/net/wan/pc300too.c1
-rw-r--r--drivers/net/wan/pci200syn.c1
-rw-r--r--drivers/net/wan/sbni.c1
-rw-r--r--drivers/net/wan/wanxl.c1
10 files changed, 4 insertions, 13 deletions
diff --git a/drivers/net/wan/dscc4.c b/drivers/net/wan/dscc4.c
index 851dc7b7e8b0..288610df205c 100644
--- a/drivers/net/wan/dscc4.c
+++ b/drivers/net/wan/dscc4.c
@@ -699,8 +699,6 @@ static void dscc4_free1(struct pci_dev *pdev)
699 for (i = 0; i < dev_per_card; i++) 699 for (i = 0; i < dev_per_card; i++)
700 unregister_hdlc_device(dscc4_to_dev(root + i)); 700 unregister_hdlc_device(dscc4_to_dev(root + i));
701 701
702 pci_set_drvdata(pdev, NULL);
703
704 for (i = 0; i < dev_per_card; i++) 702 for (i = 0; i < dev_per_card; i++)
705 free_netdev(root[i].dev); 703 free_netdev(root[i].dev);
706 kfree(root); 704 kfree(root);
diff --git a/drivers/net/wan/hd64570.c b/drivers/net/wan/hd64570.c
index 62f01b74cbd6..dc334c85d966 100644
--- a/drivers/net/wan/hd64570.c
+++ b/drivers/net/wan/hd64570.c
@@ -29,7 +29,6 @@
29#include <linux/fcntl.h> 29#include <linux/fcntl.h>
30#include <linux/hdlc.h> 30#include <linux/hdlc.h>
31#include <linux/in.h> 31#include <linux/in.h>
32#include <linux/init.h>
33#include <linux/interrupt.h> 32#include <linux/interrupt.h>
34#include <linux/ioport.h> 33#include <linux/ioport.h>
35#include <linux/jiffies.h> 34#include <linux/jiffies.h>
diff --git a/drivers/net/wan/hd64570.h b/drivers/net/wan/hd64570.h
index e4f539ad071b..10963e8f4b39 100644
--- a/drivers/net/wan/hd64570.h
+++ b/drivers/net/wan/hd64570.h
@@ -159,7 +159,7 @@ typedef struct {
159/* Packet Descriptor Status bits */ 159/* Packet Descriptor Status bits */
160 160
161#define ST_TX_EOM 0x80 /* End of frame */ 161#define ST_TX_EOM 0x80 /* End of frame */
162#define ST_TX_EOT 0x01 /* End of transmition */ 162#define ST_TX_EOT 0x01 /* End of transmission */
163 163
164#define ST_RX_EOM 0x80 /* End of frame */ 164#define ST_RX_EOM 0x80 /* End of frame */
165#define ST_RX_SHORT 0x40 /* Short frame */ 165#define ST_RX_SHORT 0x40 /* Short frame */
@@ -211,7 +211,7 @@ typedef struct {
211 211
212#define CTL_NORTS 0x01 212#define CTL_NORTS 0x01
213#define CTL_IDLE 0x10 /* Transmit an idle pattern */ 213#define CTL_IDLE 0x10 /* Transmit an idle pattern */
214#define CTL_UDRNC 0x20 /* Idle after CRC or FCS+flag transmition */ 214#define CTL_UDRNC 0x20 /* Idle after CRC or FCS+flag transmission */
215 215
216#define ST0_TXRDY 0x02 /* TX ready */ 216#define ST0_TXRDY 0x02 /* TX ready */
217#define ST0_RXRDY 0x01 /* RX ready */ 217#define ST0_RXRDY 0x01 /* RX ready */
diff --git a/drivers/net/wan/hd64572.c b/drivers/net/wan/hd64572.c
index 6269a09c7369..e92ecf1d3314 100644
--- a/drivers/net/wan/hd64572.c
+++ b/drivers/net/wan/hd64572.c
@@ -29,7 +29,6 @@
29#include <linux/fcntl.h> 29#include <linux/fcntl.h>
30#include <linux/hdlc.h> 30#include <linux/hdlc.h>
31#include <linux/in.h> 31#include <linux/in.h>
32#include <linux/init.h>
33#include <linux/interrupt.h> 32#include <linux/interrupt.h>
34#include <linux/ioport.h> 33#include <linux/ioport.h>
35#include <linux/jiffies.h> 34#include <linux/jiffies.h>
diff --git a/drivers/net/wan/hd64572.h b/drivers/net/wan/hd64572.h
index 96567c2dc4db..22137ee669cf 100644
--- a/drivers/net/wan/hd64572.h
+++ b/drivers/net/wan/hd64572.h
@@ -218,7 +218,7 @@ typedef struct {
218#define ST_TX_EOM 0x80 /* End of frame */ 218#define ST_TX_EOM 0x80 /* End of frame */
219#define ST_TX_UNDRRUN 0x08 219#define ST_TX_UNDRRUN 0x08
220#define ST_TX_OWNRSHP 0x02 220#define ST_TX_OWNRSHP 0x02
221#define ST_TX_EOT 0x01 /* End of transmition */ 221#define ST_TX_EOT 0x01 /* End of transmission */
222 222
223#define ST_RX_EOM 0x80 /* End of frame */ 223#define ST_RX_EOM 0x80 /* End of frame */
224#define ST_RX_SHORT 0x40 /* Short frame */ 224#define ST_RX_SHORT 0x40 /* Short frame */
diff --git a/drivers/net/wan/lmc/lmc_main.c b/drivers/net/wan/lmc/lmc_main.c
index f51204cfe12f..b2fe9bb89633 100644
--- a/drivers/net/wan/lmc/lmc_main.c
+++ b/drivers/net/wan/lmc/lmc_main.c
@@ -49,7 +49,6 @@
49#include <linux/pci.h> 49#include <linux/pci.h>
50#include <linux/delay.h> 50#include <linux/delay.h>
51#include <linux/hdlc.h> 51#include <linux/hdlc.h>
52#include <linux/init.h>
53#include <linux/in.h> 52#include <linux/in.h>
54#include <linux/if_arp.h> 53#include <linux/if_arp.h>
55#include <linux/netdevice.h> 54#include <linux/netdevice.h>
@@ -973,7 +972,6 @@ static int lmc_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
973 return 0; 972 return 0;
974 973
975err_hdlcdev: 974err_hdlcdev:
976 pci_set_drvdata(pdev, NULL);
977 kfree(sc); 975 kfree(sc);
978err_kzalloc: 976err_kzalloc:
979 pci_release_regions(pdev); 977 pci_release_regions(pdev);
@@ -995,7 +993,6 @@ static void lmc_remove_one(struct pci_dev *pdev)
995 free_netdev(dev); 993 free_netdev(dev);
996 pci_release_regions(pdev); 994 pci_release_regions(pdev);
997 pci_disable_device(pdev); 995 pci_disable_device(pdev);
998 pci_set_drvdata(pdev, NULL);
999 } 996 }
1000} 997}
1001 998
diff --git a/drivers/net/wan/pc300too.c b/drivers/net/wan/pc300too.c
index 53efc57fcace..5b72f7f8c516 100644
--- a/drivers/net/wan/pc300too.c
+++ b/drivers/net/wan/pc300too.c
@@ -281,7 +281,6 @@ static void pc300_pci_remove_one(struct pci_dev *pdev)
281 281
282 pci_release_regions(pdev); 282 pci_release_regions(pdev);
283 pci_disable_device(pdev); 283 pci_disable_device(pdev);
284 pci_set_drvdata(pdev, NULL);
285 if (card->ports[0].netdev) 284 if (card->ports[0].netdev)
286 free_netdev(card->ports[0].netdev); 285 free_netdev(card->ports[0].netdev);
287 if (card->ports[1].netdev) 286 if (card->ports[1].netdev)
diff --git a/drivers/net/wan/pci200syn.c b/drivers/net/wan/pci200syn.c
index ddbce54040e2..fe4e3ece3c42 100644
--- a/drivers/net/wan/pci200syn.c
+++ b/drivers/net/wan/pci200syn.c
@@ -260,7 +260,6 @@ static void pci200_pci_remove_one(struct pci_dev *pdev)
260 260
261 pci_release_regions(pdev); 261 pci_release_regions(pdev);
262 pci_disable_device(pdev); 262 pci_disable_device(pdev);
263 pci_set_drvdata(pdev, NULL);
264 if (card->ports[0].netdev) 263 if (card->ports[0].netdev)
265 free_netdev(card->ports[0].netdev); 264 free_netdev(card->ports[0].netdev);
266 if (card->ports[1].netdev) 265 if (card->ports[1].netdev)
diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c
index 388ddf60a66d..1b89ecf0959e 100644
--- a/drivers/net/wan/sbni.c
+++ b/drivers/net/wan/sbni.c
@@ -57,6 +57,7 @@
57 57
58#include <net/net_namespace.h> 58#include <net/net_namespace.h>
59#include <net/arp.h> 59#include <net/arp.h>
60#include <net/Space.h>
60 61
61#include <asm/io.h> 62#include <asm/io.h>
62#include <asm/types.h> 63#include <asm/types.h>
diff --git a/drivers/net/wan/wanxl.c b/drivers/net/wan/wanxl.c
index 4c0a69779b89..f76aa9081585 100644
--- a/drivers/net/wan/wanxl.c
+++ b/drivers/net/wan/wanxl.c
@@ -542,7 +542,6 @@ static void wanxl_pci_remove_one(struct pci_dev *pdev)
542 542
543 pci_release_regions(pdev); 543 pci_release_regions(pdev);
544 pci_disable_device(pdev); 544 pci_disable_device(pdev);
545 pci_set_drvdata(pdev, NULL);
546 kfree(card); 545 kfree(card);
547} 546}
548 547