aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ibmveth.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-10-11 03:56:12 -0400
committerJeff Garzik <jeff@garzik.org>2006-10-11 03:56:12 -0400
commit24fcbacedb0d83cabc6761acbecfbf751265ce52 (patch)
tree7147b206304b028c3cfd5de6317e5c8510098ca9 /drivers/net/ibmveth.c
parent2f614fe04f4463ff22234133319067d7361f54e5 (diff)
parent53a5fbdc2dff55161a206ed1a1385a8fa8055c34 (diff)
Merge branch 'master' into upstream-fixes
Diffstat (limited to 'drivers/net/ibmveth.c')
-rw-r--r--drivers/net/ibmveth.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c
index 16f3faa7ea5b..bf414a93facb 100644
--- a/drivers/net/ibmveth.c
+++ b/drivers/net/ibmveth.c
@@ -93,7 +93,7 @@ static void ibmveth_proc_register_driver(void);
93static void ibmveth_proc_unregister_driver(void); 93static void ibmveth_proc_unregister_driver(void);
94static void ibmveth_proc_register_adapter(struct ibmveth_adapter *adapter); 94static void ibmveth_proc_register_adapter(struct ibmveth_adapter *adapter);
95static void ibmveth_proc_unregister_adapter(struct ibmveth_adapter *adapter); 95static void ibmveth_proc_unregister_adapter(struct ibmveth_adapter *adapter);
96static irqreturn_t ibmveth_interrupt(int irq, void *dev_instance, struct pt_regs *regs); 96static irqreturn_t ibmveth_interrupt(int irq, void *dev_instance);
97static inline void ibmveth_rxq_harvest_buffer(struct ibmveth_adapter *adapter); 97static inline void ibmveth_rxq_harvest_buffer(struct ibmveth_adapter *adapter);
98static struct kobj_type ktype_veth_pool; 98static struct kobj_type ktype_veth_pool;
99 99
@@ -570,7 +570,7 @@ static int ibmveth_open(struct net_device *netdev)
570 } 570 }
571 571
572 ibmveth_debug_printk("initial replenish cycle\n"); 572 ibmveth_debug_printk("initial replenish cycle\n");
573 ibmveth_interrupt(netdev->irq, netdev, NULL); 573 ibmveth_interrupt(netdev->irq, netdev);
574 574
575 netif_start_queue(netdev); 575 netif_start_queue(netdev);
576 576
@@ -843,7 +843,7 @@ static int ibmveth_poll(struct net_device *netdev, int *budget)
843 return 0; 843 return 0;
844} 844}
845 845
846static irqreturn_t ibmveth_interrupt(int irq, void *dev_instance, struct pt_regs *regs) 846static irqreturn_t ibmveth_interrupt(int irq, void *dev_instance)
847{ 847{
848 struct net_device *netdev = dev_instance; 848 struct net_device *netdev = dev_instance;
849 struct ibmveth_adapter *adapter = netdev->priv; 849 struct ibmveth_adapter *adapter = netdev->priv;
@@ -1303,7 +1303,7 @@ const char * buf, size_t count)
1303 } 1303 }
1304 1304
1305 /* kick the interrupt handler to allocate/deallocate pools */ 1305 /* kick the interrupt handler to allocate/deallocate pools */
1306 ibmveth_interrupt(netdev->irq, netdev, NULL); 1306 ibmveth_interrupt(netdev->irq, netdev);
1307 return count; 1307 return count;
1308} 1308}
1309 1309