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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
|
|