Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14849
b: refs/heads/master
c: 42ea0d0
h: refs/heads/master
i:
  14847: 92d0216
v: v3
  • Loading branch information
Vitaly Bordug authored and Linus Torvalds committed Dec 1, 2005
1 parent 498e9a9 commit d2b954b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 00c1bd54d8c7b6210530cdbb3508125a0bf4a32b
refs/heads/master: 42ea0d037860690dde07a015d3473a17da35f74a
3 changes: 2 additions & 1 deletion trunk/arch/ppc/syslib/m82xx_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ pq2ads_setup_pci(struct pci_controller *hose)
pci_div = ( (sccr & SCCR_PCI_MODCK) ? 2 : 1) *
( ( (sccr & SCCR_PCIDF_MSK) >> SCCR_PCIDF_SHIFT) + 1);
freq = (uint)((2*binfo->bi_cpmfreq)/(pci_div));
time = (int)666666/freq;
time = (int)66666666/freq;

/* due to PCI Local Bus spec, some devices needs to wait such a long
time after RST deassertion. More specifically, 0.508s for 66MHz & twice more for 33 */
printk("%s: The PCI bus is %d Mhz.\nWaiting %s after deasserting RST...\n",__FILE__,freq,
Expand Down

0 comments on commit d2b954b

Please sign in to comment.