gianfar: Fix eTSEC configuration procedure
authorDai Haruki <dai.haruki@freescale.com>
Tue, 16 Dec 2008 23:30:20 +0000 (15:30 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Dec 2008 23:30:20 +0000 (15:30 -0800)
commit12dea57be552a291e93827baeffbb91e33f587a6
treedba9874cf9a930a729aac0f30f7fe50824b9e76a
parentb46a8454cd304b5376ba00d3457a612720e47269
gianfar: Fix eTSEC configuration procedure

Fix some bugs in the ethtool configuration functions:
* gfar_clean_rx_ring should not be called with interrupts disabled.
* Update last transmission time to avoid tx timeout.
* Delete redundant NETIF_F_IP_CSUM check in gfar_start_xmit
* Use netif_tx_lock_bh when reconfiguring the tx csum

Signed-off-by: Dai Haruki <dai.haruki@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c
drivers/net/gianfar_ethtool.c