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
This commit is contained in:
Marius Strobl 2011-11-24 23:48:22 +00:00
parent c6e5c71116
commit 7266520baf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227960

View File

@ -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,