diff options
author | marius <marius@FreeBSD.org> | 2011-11-24 23:48:22 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2011-11-24 23:48:22 +0000 |
commit | 9fd6682e7833f6eec334a46a6c9eaeec08f3f6f1 (patch) | |
tree | 0c86f81e955905a29c28f4796cb3649569c89b5e /sys/sparc64/pci | |
parent | dc9c904f6bfba968cd63079c19a56cecb46d24d6 (diff) | |
download | FreeBSD-src-9fd6682e7833f6eec334a46a6c9eaeec08f3f6f1.zip FreeBSD-src-9fd6682e7833f6eec334a46a6c9eaeec08f3f6f1.tar.gz |
Increase the CDMA sync timeout for Schizo bridges to 15 seconds as used by
OpenSolaris. One second turned out to be not enough for certain loads while
10 seconds were sufficient.
Reported by: Peter Jeremy
MFC after: 3 days
Diffstat (limited to 'sys/sparc64/pci')
-rw-r--r-- | sys/sparc64/pci/schizo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/pci/schizo.c b/sys/sparc64/pci/schizo.c index 9a27043..627018b 100644 --- a/sys/sparc64/pci/schizo.c +++ b/sys/sparc64/pci/schizo.c @@ -1175,7 +1175,7 @@ schizo_dmamap_sync(bus_dma_tag_t dt, bus_dmamap_t map, bus_dmasync_op_t op) ; SCHIZO_PCI_WRITE_8(sc, sc->sc_cdma_clr, INTCLR_RECEIVED); microuptime(&cur); - end.tv_sec = 1; + end.tv_sec = 15; end.tv_usec = 0; timevaladd(&end, &cur); for (; (res = atomic_cmpset_rel_32(&sc->sc_cdma_state, |