Skip to content

Commit

Permalink
[SPARC64]: Fix IRQ retry interval timer value on sparc64 PCI controll…
Browse files Browse the repository at this point in the history
…ers.

Use '5' instead of 'infinity'.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Jul 4, 2005
1 parent 9fba62a commit 864ae18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions arch/sparc64/kernel/pci_psycho.c
Original file line number Diff line number Diff line change
Expand Up @@ -1303,8 +1303,7 @@ static void psycho_controller_hwinit(struct pci_controller_info *p)
{
u64 tmp;

/* PROM sets the IRQ retry value too low, increase it. */
psycho_write(p->pbm_A.controller_regs + PSYCHO_IRQ_RETRY, 0xff);
psycho_write(p->pbm_A.controller_regs + PSYCHO_IRQ_RETRY, 5);

/* Enable arbiter for all PCI slots. */
tmp = psycho_read(p->pbm_A.controller_regs + PSYCHO_PCIA_CTRL);
Expand Down
4 changes: 1 addition & 3 deletions arch/sparc64/kernel/pci_schizo.c
Original file line number Diff line number Diff line change
Expand Up @@ -1936,9 +1936,7 @@ static void __init schizo_pbm_hw_init(struct pci_pbm_info *pbm)
{
u64 tmp;

/* Set IRQ retry to infinity. */
schizo_write(pbm->pbm_regs + SCHIZO_PCI_IRQ_RETRY,
SCHIZO_IRQ_RETRY_INF);
schizo_write(pbm->pbm_regs + SCHIZO_PCI_IRQ_RETRY, 5);

tmp = schizo_read(pbm->pbm_regs + SCHIZO_PCI_CTRL);

Expand Down

0 comments on commit 864ae18

Please sign in to comment.