linux/drivers/char/xilinx_hwicap
Stephen Neuendorffer 4c58f8fe2e [POWERPC] Xilinx: hwicap: Verify sync before reading idcode.
It appears that in some cases, the sync word might not be recognized
by the hardware correctly.  If this happens, then attempting to read
from the port results in an unrecoverable error because of the design
of the FPGA core.  This patch updates the code to check the status of
the device before reading the IDCODE, in order to avoid entering this
unrecoverable state.  This patch also adds additional NOOP commands
into the sychronization sequence, which appears to be necessary to
avoid the condition on some hardware.

Signed-off-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
2008-03-26 07:27:21 -05:00
..
buffer_icap.c [POWERPC] Xilinx: hwicap: Refactor status handling code. 2008-03-26 07:27:11 -05:00
buffer_icap.h [POWERPC] Xilinx: hwicap: Refactor status handling code. 2008-03-26 07:27:11 -05:00
fifo_icap.c [POWERPC] Xilinx: hwicap: Refactor status handling code. 2008-03-26 07:27:11 -05:00
fifo_icap.h [POWERPC] Xilinx: hwicap: Refactor status handling code. 2008-03-26 07:27:11 -05:00
Makefile [POWERPC] Xilinx: hwicap driver 2008-02-06 10:23:52 -07:00
xilinx_hwicap.c [POWERPC] Xilinx: hwicap: Verify sync before reading idcode. 2008-03-26 07:27:21 -05:00
xilinx_hwicap.h [POWERPC] Xilinx: hwicap: Refactor status handling code. 2008-03-26 07:27:11 -05:00