lkml.org 
[lkml]   [2004]   [Mar]   [2]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
SubjectRe: Network error with Intel E1000 Adapter on update 2.4.25 ==> 2.6.3
DateTue, 2 Mar 2004 07:15:11 +0100
From"Martin Bene" <>
Hi Scott,

>> Board is an Asus PC-DL, Intel 875P Chipset, one Xeon 2.8Ghz 
>> CPU, Onboard e1000 Network interface. Any idea how I can get 
>> the onboard NIC to work?
>
>Martin, give 2.6.4-rc1 a try.  It removes a patch to e1000 that broke a
>lot of folks with 875/CSA.

Thanks for the hint. Results:

 - Network interface works, no more lockups.
 - ifconfig still doesn't show the interupt being used.
 - /proc/interrupts DOES show the right interrupt.

experimenting with the driver source shows that the interrupt displayed by ifconfig seems to depend on netdev->irq being set; this was removed during the netdev->irq ==> adapter->pdev->irq change. adding the following line corrects ifconfig display:

diff -urN e1000_old/e1000_main.c e1000/e1000_main.c
--- e1000_old/e1000_main.c      Mon Mar  1 09:16:29 2004
+++ e1000/e1000_main.c  Tue Mar  2 07:09:37 2004
@@ -452,6 +452,8 @@
	netdev->poll_controller = e1000_netpoll;
 #endif

+	netdev->irq = pdev->irq;
+
	netdev->mem_start = mmio_start;
	netdev->mem_end = mmio_start + mmio_len;
	netdev->base_addr = adapter->hw.io_base;

Bye, Martin
-
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-03-22 13:01    [from the cache]
©2003-2008