summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/dev
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-09-26 19:34:55 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-09-26 19:34:55 +0000
commit969a85f9ed594a739164d6f5e497169852454ec5 (patch)
treecb75dad7c60043f3d47a530e96a44ae19eefad0f /sys/arch/sparc64/dev
parente812d1e1b264df3989ee4178a75dea84e2755eca (diff)
A little bit of voodoo borrowed from the linux driver: set the
intr_retry_timer a little higher.
Diffstat (limited to 'sys/arch/sparc64/dev')
-rw-r--r--sys/arch/sparc64/dev/psycho.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/psycho.c b/sys/arch/sparc64/dev/psycho.c
index 12884057270..dff9f07641a 100644
--- a/sys/arch/sparc64/dev/psycho.c
+++ b/sys/arch/sparc64/dev/psycho.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: psycho.c,v 1.4 2001/09/04 15:06:15 jason Exp $ */
+/* $OpenBSD: psycho.c,v 1.5 2001/09/26 19:34:54 jason Exp $ */
/* $NetBSD: psycho.c,v 1.34 2001/07/20 00:07:13 eeh Exp $ */
/*
@@ -471,6 +471,12 @@ psycho_attach(parent, self, aux)
}
/*
+ * XXX Linux magic, helps U30
+ * "PROM sets the IRQ retry value too low, increase it."
+ */
+ sc->sc_regs->intr_retry_timer = 0xff;
+
+ /*
* attach the pci.. note we pass PCI A tags, etc., for the sabre here.
*/
pba.pba_busname = "pci";