2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 03:33:59 +08:00
linux-next/drivers/net/ethernet/emulex/benet
Gavin Shan 66d29cbc59 benet: Wait f/w POST until timeout
While PCI card faces EEH errors, reset (usually hot reset) is
expected to recover from the EEH errors. After EEH core finishes
the reset, the driver callback (be_eeh_reset) is called and wait
the firmware to complete POST successfully. The original code would
return with error once detecting failure during POST stage. That
seems not enough.

The patch forces the driver (be_eeh_reset) to wait the firmware
completes POST until timeout, instead of returning error upon
detection POST failure immediately. Also, it would improve the
reliability of the EEH funtionality of the driver.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Acked-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-06 02:47:06 -05:00
..
be_cmds.c benet: Wait f/w POST until timeout 2013-03-06 02:47:06 -05:00
be_cmds.h be2net: fix re-loaded PF driver to re-gain control of its VFs 2013-02-04 13:26:49 -05:00
be_ethtool.c ethtool: fix drvinfo strings set in drivers 2013-01-06 21:06:31 -08:00
be_hw.h be2net: fix access to SEMAPHORE reg 2012-11-07 16:59:52 -05:00
be_main.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-02-05 14:12:20 -05:00
be_roce.c be2net: remove roce on lancer 2012-11-07 16:59:52 -05:00
be_roce.h be2net: Add functionality to support RoCE driver 2012-05-08 11:17:47 -07:00
be.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2013-02-05 14:12:20 -05:00
Kconfig net: Remove bogus dependencies on INET 2012-11-19 19:13:59 -05:00
Makefile be2net: Add functionality to support RoCE driver 2012-05-08 11:17:47 -07:00