[MIPS] BCM1250: TRDY timeout tweaks for Broadcom SiByte systems
commit5df56ea2becd593f0f2019811434e4f50efb9502
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 2 Oct 2006 11:55:09 +0000 (2 12:55 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 2 Oct 2006 12:19:04 +0000 (2 13:19 +0100)
treee6d79022d173f1718787ecd6a2ca14255d157d30
parentb9bef226bbc61cd47ecdee9227c04a5f57a55867
[MIPS] BCM1250: TRDY timeout tweaks for Broadcom SiByte systems

 It was obesrved that at least one older PCI card predating the
requirement for the TRDY signal to respond within 16 clock ticks actually
does not meet this rule nor even the power-on defaults of the PCI bridges
found in development systems built around the Broadcom SiByte SOCs.  Here
is a patch that bumps up the timeout to the highest finite value supported
by these chips, which is 255 clock ticks.  The bridges affected are the
SiByte SOC itself and the SP1011.

 This change does not effectively affect systems only having PCI option
cards installed that meet the TRDY requirement of the current PCI spec.
The rule was introduced with PCI 2.1, so any older card may make the
system affected.  If this is the case, performance of the system will
suffer in return for the card working at all.  If this is a concern, then
the solution is not to use such cards.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pci/fixup-sb1250.c
include/linux/pci_ids.h