[Click] added polling support to e1000 v5.2.16

Beyers Cronje bcronje at cs.co.za
Tue Oct 26 09:29:50 EDT 2004


PS Forgot to mention,

I havent had time to update the Diagnostics interface e1000_idiag.c.

-----Original Message-----
From: Beyers Cronje 
Sent: Tuesday, October 26, 2004 3:24 PM
To: 'Eddie Kohler'; 'gcalarco at deis.unibo.it'
Cc: click at amsterdam.lcs.mit.edu
Subject: RE: [Click] added polling support to e1000 v5.2.16
Importance: High


Hi Eddie, Giorgio,

Attached e1000 v5.2.16 with polling support. It turned out not much had to be changed. I've saved the original 5.2.16 files to *.c.orig . 

This driver hasn't been tested extensively, so I recommend to first try it out in a test environment. I've only tested a couple of days with an Intel Pro/1000MT 82545GM controller, and so far havent experienced any problems in polling mode. Let me know if you pick up any problems, any feedback/testing help is welcome. Small plus, driver now supports mii-tool :) 

Below overview of major changes to original 5.2.16 driver:

In e1000_main.c:
Changed e1000_watchdog timer interrupt to skip polling
enabled adapters and for non-polling adapters to call the
new e1000_watchdog_1 timer interrupt (which is basically
the original e1000_watchdog).

Changed main interrupt handler e1000_intr to only process
non-polling adapters. Polling extensions process modified
e1000_clean_tx__irq in polling code.

In e1000_probe added Polling variables initialization.

Regards

Beyers Cronje

-----Original Message-----
From: Eddie Kohler [mailto:kohler at cs.ucla.edu]
Sent: Tuesday, October 26, 2004 8:07 AM
To: Beyers Cronje
Cc: click at amsterdam.lcs.mit.edu
Subject: Re: [Click] added polling support to e1000 v5.2.16


Hi Beyers,

This is great news!  We'd love to accept the code, if you're willing.

Eddie


Beyers Cronje wrote:
> Hi,
>  
> I've ported click's e1000 polling extensions to Intel's e1000 v5.2.16 driver. I've only tested on click v1.4.1 and linux 2.4.21.
>  
> Should anyone be interested in a copy pop me an email.
>  
> Device controllers that should be supported on this driver:
>  
> #define E1000_DEV_ID_82542 0x1000
> 
> #define E1000_DEV_ID_82543GC_FIBER 0x1001
> 
> #define E1000_DEV_ID_82543GC_COPPER 0x1004
> 
> #define E1000_DEV_ID_82544EI_COPPER 0x1008
> 
> #define E1000_DEV_ID_82544EI_FIBER 0x1009
> 
> #define E1000_DEV_ID_82544GC_COPPER 0x100C
> 
> #define E1000_DEV_ID_82544GC_LOM 0x100D
> 
> #define E1000_DEV_ID_82540EM 0x100E
> 
> #define E1000_DEV_ID_82540EM_LOM 0x1015
> 
> #define E1000_DEV_ID_82540EP_LOM 0x1016
> 
> #define E1000_DEV_ID_82540EP 0x1017
> 
> #define E1000_DEV_ID_82540EP_LP 0x101E
> 
> #define E1000_DEV_ID_82545EM_COPPER 0x100F
> 
> #define E1000_DEV_ID_82545EM_FIBER 0x1011
> 
> #define E1000_DEV_ID_82545GM_COPPER 0x1026
> 
> #define E1000_DEV_ID_82545GM_FIBER 0x1027
> 
> #define E1000_DEV_ID_82545GM_SERDES 0x1028
> 
> #define E1000_DEV_ID_82546EB_COPPER 0x1010
> 
> #define E1000_DEV_ID_82546EB_FIBER 0x1012
> 
> #define E1000_DEV_ID_82546EB_QUAD_COPPER 0x101D
> 
> #define E1000_DEV_ID_82541EI 0x1013
> 
> #define E1000_DEV_ID_82541EI_MOBILE 0x1018
> 
> #define E1000_DEV_ID_82541ER 0x1078
> 
> #define E1000_DEV_ID_82547GI 0x1075
> 
> #define E1000_DEV_ID_82541GI 0x1076
> 
> #define E1000_DEV_ID_82541GI_MOBILE 0x1077
> 
> #define E1000_DEV_ID_82546GB_COPPER 0x1079
> 
> #define E1000_DEV_ID_82546GB_FIBER 0x107A
> 
> #define E1000_DEV_ID_82546GB_SERDES 0x107B
> 
> #define E1000_DEV_ID_82547EI 0x1019
> 
>  
> 
> Regards
> 
> Beyers Cronje
> 
> 
> This is an email from CS Holdings. It is confidential to the ordinary user of the email address
> to which it is addressed and may contain copyright and/or legally privileged information. No one
> else may read, print, store, copy, forward or act in reliance upon all or any part of it or its 
> attachments. If you received this email in error please notify its sender.
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click

This is an email from CS Holdings. It is confidential to the ordinary user of the email address
to which it is addressed and may contain copyright and/or legally privileged information. No one
else may read, print, store, copy, forward or act in reliance upon all or any part of it or its 
attachments. If you received this email in error please notify its sender.



More information about the click mailing list