lkml.org 
[lkml]   [2005]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectFW: e1000 set netdev irq patch
Date
From
The following is a patch that enables the e1000 driver to set the netdev->irq field.  This is useful if you are trying to balance irqs between cpus.

--- linux-orig/drivers/net/e1000/e1000_main.c   Tue Jun 28 14:16:19 2005
+++ linux-new/drivers/net/e1000/e1000_main.c    Tue Jun 28 13:51:46 2005
@@ -285,6 +285,8 @@ e1000_up(struct e1000_adapter *adapter)
      mod_timer(&adapter->watchdog_timer, jiffies);
      e1000_irq_enable(adapter);
 
+     netdev->irq = adapter->pdev->irq;
+
      return 0;
 }
 


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-08-26 12:10    [W:0.024 / U:2.092 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site