Commit e5f81fa4 authored by Anant Gole's avatar Anant Gole Committed by Kevin Hilman

ARM: DaVinci: various EMAC driver locking and race fixes

1)Cleanup/removal of Rx_Multipacket_complete_notify which featured
potential race condition if emac_poll() is re-entered
2)Extension of tx-spinlock to encompass Tx_complete_notifications(as
completion entries are stored in a global array)
3) KGDB Fix: modify emac_poll() to invoke netif_rx_complete  only if
device resides on poll list. With emac_poll() also being called from
netpoll_poll(), its possible that emac_poll() is invoked when the device
has not been added to the polling list with netif_rx_schedule()
4)Modified all spin_lock_irq to spin_Lock_irqsave so that flags are
restored properly
Signed-off-by: default avatarKevin Hilman <khilman@mvista.com>
parent 9a9e057f
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment