[PATCH 22/26] atl1: update netpoll

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Rename atl1_poll_controller() to atl1_netpoll() and update to conform with the current vendor driver version 1.2.40.2. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletion

[PATCH 26/26] atl1: remove experimental tag and clean up comments

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> All major netdevice functionality is now present in the atl1 driver. As a result, remove the EXPERIMENTAL Kconfig tag in the main driver, but leave it in the NAPI driver. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/Kconfig |4 ++--

[PATCH 14/26] atl1: move stray defines to header file

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Move some stray defines out to a header file. Improve indentation from ghastly to horrid. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 29 - drivers/net/atlx/atl1.h |6 ++ 2 files changed

[PATCH 20/26] atl1: update change mtu

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Update atl1_change_mtu() to conform with the current vendor driver version 1.2.40.2. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 39 ++- 1 files changed, 22 insertions(+), 17 deletions(-)

[PATCH 21/26] atl1: update atl1_close

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Update atl1_close() to conform with current vendor driver version 1.2.40.2. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/drivers/net/atlx/atl

[PATCH 18/26] atl1: make function static

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Make atl1_reset() a static function. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c index 6432956

[PATCH 16/26] atl1: modernize check link function

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Update atl1_check_link() to conform with the current vendor driver version 1.2.40.2. Clean up vertical spacing, indentation, and remove dead code. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 65 +++-

[PATCH 12/26] atl1: refactor atl1_probe

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Refactor atl1_probe to conform with current vendor driver version 1.2.40.2. Also reorder functions to minimize the need for forward declarations. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 1397 +++---

[PATCH 03/26] atl1: fix broken TSO

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> The L1 tx packet descriptor expects TCP Header Length to be expressed as a number of 32-bit dwords. The atl1 driver uses tcp_hdrlen() to populate the field, but tcp_hdrlen() returns the header length in bytes, not in dwords. Add a shift to convert tcp_hdrlen(

[PATCH 15/26] atl1: tidy up ring management

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Check for null pointers and such in ring handling functions. Make needlessly global functions static. Clean up some comments and indentation. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 20 +++- 1 files ch

[PATCH 25/26] atl1: add NAPI support

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Add support for NAPI, styled after the e1000 NAPI implementation. That we follow the e1000 for NAPI shouldn't come as much of a surprise, since the entire atl1 driver is based heavily upon it. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/K

[PATCH 24/26] atl1: update wake-on-lan

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Update wake-on-lan to conform with the current vendor driver version 1.2.40.2. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 140 --- 1 files changed, 84 insertions(+), 56 deletions(

[PATCH 08/26] atl1: additional DMA engine configuration

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Add DMA engine configuration tweaks per current vendor atl1 driver version 1.2.40.2. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 10 ++ drivers/net/atlx/atlx.h |6 ++ 2 files changed, 16 insertions(+), 0 del

[PATCH 00/26] atl1: divide and modernize

2007-12-31 Thread jacliburn
Hello Jeff, Happy New Year to you and all. In preparation for a future atl2 driver for the Atheros L2 10/100 chip, we propose to move the existing atl1 driver to a new directory (drivers/net/atlx), then split out functions and definitions that both atl1 and atl2 can share. The final structure w

[PATCH 23/26] atl1: update shutdown and remove functions

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Update shutdown and remove functions to conform with the current vendor driver version 1.2.40.2. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 31 +++ 1 files changed, 23 insertions(+), 8 deletions

[PATCH 11/26] atl1: refactor initialization and startup

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Refactor atl1 initialization and startup to conform with the current vendor driver version 1.2.40.2. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 507 --- drivers/net/atlx/atl1.h |

[PATCH 17/26] atl1: update phy config function

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Update atl1_phy_config() to conform with current vendor driver version 1.2.40.2. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/atlx/atl1.c b/dr

[PATCH 09/26] atl1: refactor tx processing

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Refactor tx processing to use a less convoluted tx packet descriptor and to conform generally with the vendor's current version 1.2.40.2. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 265 +-

[PATCH 07/26] atl1: clarify max rx frame size

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> When we initially set max rx frame size, we don't explicitly allow room for the VLAN header; it's done later in a somewhat obscure fashion. Let's make it clear from the top that we've allowed enough room for the VLAN header. Signed-off-by: Jay Cliburn <[EMAI

[PATCH 10/26] atl1: use csum_start

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Use skb->csum_start for tx checksum offload preparation. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/

[PATCH 04/26] atl1: add ethtool register dump

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Add the ethtool register dump option to the atl1 driver. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 53 +++ drivers/net/atlx/atl1.h |1 + 2 files changed, 54 insertions(+), 0

[PATCH 13/26] atl1: refactor interrupt handling

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Refactor interrupt handling to conform with the current vendor driver version 1.2.40.2. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 196 ++- drivers/net/atlx/atl1.h | 25 +-

[PATCH 19/26] atl1: modernize down/up functions

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Update atl1_down() and atl1_up() to conform with the current vendor driver version 1.2.40.2. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 21 - drivers/net/atlx/atl1.h |1 - drivers/net/atlx/atlx.c |

[PATCH 01/26] atl1: relocate atl1 driver to /drivers/net/atlx

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> In preparation for a future Atheros L2 NIC driver (called atl2), relocate the atl1 driver into a new /drivers/net/atlx directory that will ultimately be shared with the future atl2 driver. Signed-off-by: Chris Snook <[EMAIL PROTECTED]> Signed-off-by: Jay Clib

[PATCH 06/26] atl1: update initialization parameters

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Update initialization parameters to match the current vendor driver version 1.2.40.2. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net

[PATCH 05/26] atl1: print debug info if rrd error

2007-12-31 Thread jacliburn
From: Jay Cliburn <[EMAIL PROTECTED]> Add some debug dev_printks if we encounter a bad receive return descriptor. Signed-off-by: Jay Cliburn <[EMAIL PROTECTED]> --- drivers/net/atlx/atl1.c | 21 - 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/drivers/net/a