History log of /drivers/net/ethernet/atheros/atlx/atl1.h
Revision Date Author Comments
e3d21ea1a119ec31673d94f26c68d922bbd3d211 12-Jan-2014 Sabrina Dubroca <sd@queasysnail.net> atl1: update statistics code

As Ben Hutchings pointed out for the stats in alx, some
hardware-specific stats aren't matched to the right net_device_stats
field. Also fix the collision field and include errors in the total
number of RX/TX packets. Add a rx_dropped field and use it where
netdev->stats was modified directly out of the stats update function.

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
65cff8720164611ec617d4cc1ea65f2deb3832b6 15-Apr-2012 Tony Zelenoff <antonz@parallels.com> atl1: remove unused member from atl1_adapter structure

Signed-off-by: Tony Zelenoff <antonz@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
73650f28ae60b7a9e38b1612012f92a6c3b9941c 13-Apr-2012 Tony Zelenoff <antonz@parallels.com> atl1: enable errors and link ints when rx/tx scheduled

Signed-off-by: Tony Zelenoff <antonz@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
aa45ba90b59b7a18b067b898a8cc8ccf8cbbb261 13-Apr-2012 Tony Zelenoff <antonz@parallels.com> atl1: add value to check ability of reenabling IRQs

Unfortunately it is not clear from code is usage of
IMR register possible or not. So, to prevent possible
side-effects of reading this register i prefer store
interrupts enable flag separately.

Signed-off-by: Tony Zelenoff <antonz@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
6294512bbe5288a29f146a3cd12921bda8bce4eb 13-Apr-2012 Tony Zelenoff <antonz@parallels.com> atl1: make driver napi compatible

This is first step, here there is no fine interrupt
disabling which cause TX/ERR interrupts stalling when
RX scheduled ints processed.

Signed-off-by: Tony Zelenoff <antonz@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
03662e41c7cff64a776bfb1b3816de4be43de881 11-Apr-2012 Tony Zelenoff <antonz@parallels.com> atl1: fix kernel panic in case of DMA errors

Problem:
There was two separate work_struct structures which share one
handler. Unfortunately getting atl1_adapter structure from
work_struct in case of DMA error was done from incorrect
offset which cause kernel panics.

Solution:
The useless work_struct for DMA error removed and
handler name changed to more generic one.

Signed-off-by: Tony Zelenoff <antonz@parallels.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2b133ad6e9e96798007e64eb912c42fa00adef0a 20-May-2011 Jeff Kirsher <jeffrey.t.kirsher@intel.com> atl*: Move the Atheros drivers

Move the Atheros drivers into drivers/net/ethernet/atheros/ and
make the necessary Kconfig and Makefile changes.

CC: Jay Cliburn <jcliburn@gmail.com>
CC: Chris Snook <chris.snook@gmail.com>
CC: Jie Yang <jie.yang@atheros.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>