summaryrefslogtreecommitdiff
path: root/drivers/atm
diff options
context:
space:
mode:
authorStephen Neuendorffer <stephen.neuendorffer@xilinx.com>2008-03-17 17:36:31 (GMT)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2008-03-26 12:27:21 (GMT)
commit4c58f8fe2e84ba76a4bef01cbd987b5ce62771c3 (patch)
tree6cad4a17085b51e29e757fdd0b39cca3775beb34 /drivers/atm
parent6b06fdbaf9eb9f208a83540265a6a82bf1049a41 (diff)
downloadlinux-4c58f8fe2e84ba76a4bef01cbd987b5ce62771c3.tar.xz
[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>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions