]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] BCM1250: TRDY timeout tweaks for Broadcom SiByte systems
authorMaciej W. Rozycki <macro@linux-mips.org>
Mon, 2 Oct 2006 11:55:09 +0000 (12:55 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 3 Oct 2006 16:59:17 +0000 (17:59 +0100)
commitc66320b4a5765223e280f7fed3d6691fefc02435
tree0ec2b255917f916c072af27eeeb2b76d9d361ff9
parent9c29e8d575eda873919562e2f3e90d4fd39ad607
[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