linux/drivers/net/ethernet/ibm/ehea
Thadeu Lima de Souza Cascardo 380ec964bc ehea: fix losing of NEQ events when one event occurred early
The NEQ interrupt is only triggered when there was no previous pending
interrupt. If we request irq handling after an interrupt has occurred,
we will never get an interrupt until we call H_RESET_EVENTS.

Events seem to be cleared when we first register the NEQ. So, when we
requested irq handling right after registering it, a possible race with
an interrupt was much less likely. Now, there is a chance we may lose
this race and never get any events.

The fix here is to poll and acknowledge any events that might have
happened right after registering the irq handler.

Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-05-10 22:45:54 -04:00
..
ehea_ethtool.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
ehea_hw.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
ehea_main.c ehea: fix losing of NEQ events when one event occurred early 2012-05-10 22:45:54 -04:00
ehea_phyp.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
ehea_phyp.h ehea: fix allmulticast support 2012-04-26 05:07:45 -04:00
ehea_qmr.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
ehea_qmr.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
ehea.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
Makefile ehea/ibm*: Move the IBM drivers 2011-08-11 02:41:59 -07:00